[eventlog] until UsrMove has landed in rawhide, ldconfig is in /sbin

Matthias Runge mrunge at fedoraproject.org
Mon Feb 20 10:48:40 UTC 2012


commit 3c1aa3cfb6d139d98790fd1adbd9b7287921ab55
Author: Matthias Runge <mrunge at matthias-runge.de>
Date:   Mon Feb 20 11:47:54 2012 +0100

    until UsrMove has landed in rawhide, ldconfig is in /sbin

 eventlog.spec |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/eventlog.spec b/eventlog.spec
index e4b3e58..1f8b9d8 100644
--- a/eventlog.spec
+++ b/eventlog.spec
@@ -1,6 +1,6 @@
 Name: eventlog
 Version: 0.2.12
-Release: 4%{?dist}
+Release: 5%{?dist}
 Summary: Syslog-ng v2/v3 support library
 
 Group: System Environment/Libraries
@@ -8,10 +8,14 @@ License: BSD
 Url: http://www.balabit.com/products/syslog-ng/
 Source: http://www.balabit.com/downloads/files?path=/eventlog/0.2/%{name}_%{version}.tar.gz
 
-Conflicts: filesystem < 3
+# required for usrmove
+# Conflicts: filesystem < 3
+#
+# Requires(post): /usr/sbin/ldconfig
+# Requires(postun): /usr/sbin/ldconfig
 
-Requires(post): /usr/sbin/ldconfig
-Requires(postun): /usr/sbin/ldconfig
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
 
 %description
 The EventLog library aims to be a replacement of the simple syslog() API
@@ -79,9 +83,9 @@ rm -f %{buildroot}%{_libdir}/libevtlog.la
 rm -rf %{buildroot}
 
 
-%post -p /usr/sbin/ldconfig
+%post -p /sbin/ldconfig
 
-%postun -p /usr/sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 
 %files
@@ -100,6 +104,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Feb 20 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.2.12-5
+- temporarily switch back from /usr/sbin/ldconfig to /sbin/ldconfig
+  until UsrMove is landed in rawhide
+
 * Fri Feb  3 2012 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.2.12-4
 - Fedora 17’s unified filesystem (/usr-move)
   http://fedoraproject.org/wiki/Features/UsrMove


More information about the scm-commits mailing list