From 9c7147b22172eaec1ab0d983bf700ac6602cbed9 Mon Sep 17 00:00:00 2001 From: kloczek Date: Wed, 15 Mar 2000 19:36:02 +0000 Subject: [PATCH] - rewmoved Prereq: /sbin/depmod, /sbin/ldconfig, /sbin/chkconfig, - /sbin/ldconfig is now runed as -p parameter in %post, %postun, - fixed shared library name. Changed files: alsa-lib.spec -> 1.23 --- alsa-lib.spec | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/alsa-lib.spec b/alsa-lib.spec index a8e4b04..f609147 100644 --- a/alsa-lib.spec +++ b/alsa-lib.spec @@ -17,9 +17,6 @@ BuildRequires: automake BuildRequires: flex BuildRequires: libtool BuildConflicts: alsa-lib <= 0.4.0 -Prereq: /sbin/depmod -Prereq: /sbin/ldconfig -Prereq: /sbin/chkconfig Obsoletes: alsa-libs ExcludeArch: sparc ExcludeArch: sparc64 @@ -124,24 +121,19 @@ make rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT -strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*-*so +strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* -#chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* +gzip -9nf ChangeLog doc/*.txt -gzip -9nf ChangeLog doc/*.txt || : - -%post -/sbin/ldconfig - -%preun -/sbin/ldconfig +%post -p /sbin/ldconfig +%preun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/lib*-*so +%attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) -- 2.43.0