[GRASS-SVN] r72811 - grass/trunk/rpm
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 13 06:45:22 PDT 2018
Author: neteler
Date: 2018-06-13 06:45:22 -0700 (Wed, 13 Jun 2018)
New Revision: 72811
Modified:
grass/trunk/rpm/grass.spec
Log:
Fedora RPM SPEC: add /etc/ld.so.conf.d/grass-*.conf to find libs by Daniele Vigano
Modified: grass/trunk/rpm/grass.spec
===================================================================
--- grass/trunk/rpm/grass.spec 2018-06-13 13:38:52 UTC (rev 72810)
+++ grass/trunk/rpm/grass.spec 2018-06-13 13:45:22 UTC (rev 72811)
@@ -268,6 +268,12 @@
%%%{name}_version %{version}
EOF
+# Add custom lib path to ld.conf.so.d
+mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
+cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf<<EOF
+%{_libdir}/%{name}%{shortver}/lib
+EOF
+
%post
%if 0%{?rhel}
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -291,6 +297,7 @@
%postun libs -p /sbin/ldconfig
%files
+%exclude %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
%exclude %{_libdir}/%{name}%{shortver}/driver/db/*
%exclude %{_libdir}/%{name}%{shortver}/lib
%exclude %{_libdir}/%{name}%{shortver}/include
@@ -305,6 +312,7 @@
%files libs
%license AUTHORS COPYING GPL.TXT CHANGES
+%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
%{_libdir}/%{name}%{shortver}/lib/*.%{version}.so
%{_libdir}/%{name}%{shortver}/lib/*.a
%dir %{_libdir}/%{name}%{shortver}/driver
@@ -327,6 +335,9 @@
- new upstream version 7.4.1
- do not fail on EPEL6 with appstream-util
+* Wed Apr 25 2018 Markus Neteler <neteler at mundialis.de> - 7.4.0-5
+- add /etc/ld.so.conf.d/grass-*.conf to find libs by Daniele ViganĂ² <daniele at vigano.me> (RHBZ #1571441)
+
* Mon Mar 26 2018 Markus Neteler <neteler at mundialis.de> - 7.4.0-4
- Update Python 2 dependency declarations to new packaging standards
(author: Iryna Shcherbina <ishcherb at redhat.com> for 7.2.3-2)
More information about the grass-commit
mailing list