[xiph-cvs] cvs commit: paranoia-III cdparanoia.spec

Peter Jones pjones at xiph.org
Wed Aug 1 15:44:50 PDT 2001



pjones      01/08/01 15:44:50

  Modified:    .        cdparanoia.spec
  Log:
  fix ldconfig on install and uninstall to work correctly.

Revision  Changes    Path
1.7       +9 -8      paranoia-III/cdparanoia.spec

Index: cdparanoia.spec
===================================================================
RCS file: /usr/local/cvsroot/paranoia-III/cdparanoia.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- cdparanoia.spec	2001/03/28 19:34:28	1.6
+++ cdparanoia.spec	2001/08/01 22:44:49	1.7
@@ -1,13 +1,10 @@
-%define ver	9.8
-%define realver	alpha%{ver}
-
 Summary: A Compact Disc Digital Audio (CDDA) extraction tool (or ripper).
 Name: cdparanoia
-Version: %{realver}
+Version: alpha9.8
 Release: 1
 License: GPL
 Group: Applications/Multimedia
-Source: http://www.xiph.org/paranoia/download/%{name}-III-%{realver}.src.tgz 
+Source: http://www.xiph.org/paranoia/download/%{name}-III-%{version}.src.tgz 
 Url: http://www.xiph.org/paranoia/index.html
 BuildRoot: %{_tmppath}/cdparanoia-%{version}-root
 
@@ -30,7 +27,7 @@
 files needed for developing applications to read CD Digital Audio disks.
 
 %prep
-%setup -q -n %{name}-III-%{realver}
+%setup -q -n %{name}-III-%{version}
 
 %build
 rm -rf $RPM_BUILD_ROOT
@@ -55,9 +52,13 @@
         $RPM_BUILD_ROOT%{_libdir}
 install -m 0755 interface/libcdda_interface.a $RPM_BUILD_ROOT%{_libdir}
 
-%post -p /sbin/ldconfig
+%post devel
+/sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun devel
+if [ "$1" -ge "1" ]; then
+  /sbin/ldconfig
+fi
 
 %clean
 rm -rf $RPM_BUILD_ROOT

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list