summaryrefslogtreecommitdiffstats
path: root/geant4.spec
diff options
context:
space:
mode:
authorQiyu Yan <yanqiyu01@gmail.com>2020-06-15 17:33:57 +0800
committerQiyu Yan <yanqiyu01@gmail.com>2020-06-15 17:33:57 +0800
commita8ba914e26de09b133bae0f2a69abf8a6d75ed42 (patch)
treed3a9bd5bc003e97aef8ea64e223fcb21f906f21b /geant4.spec
parent61a264d15c8682345e0e3a1de99589fcfa73f85e (diff)
downloadgeant4-rpmbuild-a8ba914e26de09b133bae0f2a69abf8a6d75ed42.tar.gz
geant4-rpmbuild-a8ba914e26de09b133bae0f2a69abf8a6d75ed42.tar.xz
geant4-rpmbuild-a8ba914e26de09b133bae0f2a69abf8a6d75ed42.zip
try to fix soname
Diffstat (limited to 'geant4.spec')
-rw-r--r--geant4.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/geant4.spec b/geant4.spec
index f2eb001..5924357 100644
--- a/geant4.spec
+++ b/geant4.spec
@@ -33,6 +33,7 @@ Source8: https://cern.ch/geant4-data/datasets/G4SAIDDATA.%{G4SAIDDATA_ver
Source9: https://cern.ch/geant4-data/datasets/G4ABLA.%{G4ABLA_version}.tar.gz
Source10: https://cern.ch/geant4-data/datasets/G4INCL.%{G4INCL_version}.tar.gz
Source11: https://cern.ch/geant4-data/datasets/G4ENSDFSTATE.%{G4ENSDFSTATE_version}.tar.gz
+Patch0: fix_soname.patch
%if 0%{?fedora} > 23
@@ -100,6 +101,7 @@ Geant4 datasets.
%prep
%setup -q -n %{name}.%{version}
+%patch0 -p1
%build
mkdir -p %{_target_platform}
@@ -179,9 +181,10 @@ tar -zxf %{S:11} --directory %{buildroot}%{_datadir}/Geant4-%{libversion}/data
%defattr(-,root,root,-)
%doc LICENSE ReleaseNotes
%dir %{_datadir}/Geant4-%{libversion}
-%{_libdir}/libG*.so
+%{_libdir}/libG*.so.*
%files devel
+%{_libdir}/libG*.so
%{_bindir}/geant4-config
%{_includedir}/Geant4
%{_libdir}/Geant4-%{libversion}