From 98b8d661f05ba1ae88cebe7188a24a822dc02513 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 25 Nov 2012 13:46:57 +0200 Subject: [PATCH] fix PROVIDES If an so is not executable find-debuginfo.sh skips over it and then the find-provides related code (not sure if it's the find-provides.sh or inside rpm-build) is not called. Bottom line fixing the permission brings back the Provides: libcacard.so.0(x86-64) missing before. --- libcacard.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/libcacard.spec b/libcacard.spec index af67122..7984392 100644 --- a/libcacard.spec +++ b/libcacard.spec @@ -41,6 +41,7 @@ make vscclient rm -rf $RPM_BUILD_ROOT make install-libcacard DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f +chmod +x $RPM_BUILD_ROOT/%{_libdir}/libcacard.so.* %post -p /sbin/ldconfig