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.
This commit is contained in:
Alon Levy 2012-11-25 13:46:57 +02:00
parent 04ce954b36
commit 98b8d661f0

View File

@ -41,6 +41,7 @@ make vscclient
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make install-libcacard DESTDIR=$RPM_BUILD_ROOT make install-libcacard DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
chmod +x $RPM_BUILD_ROOT/%{_libdir}/libcacard.so.*
%post -p /sbin/ldconfig %post -p /sbin/ldconfig