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

Peter Jones pjones at xiph.org
Tue Jan 1 23:32:51 PST 2002



pjones      02/01/01 23:32:51

  Modified:    .        cdparanoia.spec
  Log:
  minor fixups of where $RPM_BUILD_ROOT gets pruned

Revision  Changes    Path
1.12      +6 -4      paranoia-III/cdparanoia.spec

Index: cdparanoia.spec
===================================================================
RCS file: /usr/local/cvsroot/paranoia-III/cdparanoia.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- cdparanoia.spec	2001/12/06 22:32:42	1.11
+++ cdparanoia.spec	2002/01/02 07:32:50	1.12
@@ -3,7 +3,7 @@
 
 Name: cdparanoia
 Version: %{realver}
-Release: 6
+Release: 7
 License: GPL
 Group: Applications/Multimedia
 Source: http://www.xiph.org/paranoia/download/%{name}-III-%{realver}.src.tgz 
@@ -45,12 +45,11 @@
 %setup -q -n %{name}-III-%{realver}
 
 %build
-rm -rf $RPM_BUILD_ROOT
 %configure --includedir=%{_includedir}/cdda
 make  
 
 %install
-rm -rf $RPM_BUILD_ROOT
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_bindir}
 install -d $RPM_BUILD_ROOT%{_includedir}/cdda
@@ -80,7 +79,7 @@
 fi
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
 
 %files -n cdparanoia
 %defattr(-,root,root)
@@ -98,6 +97,9 @@
 %{_libdir}/*.a
 
 %changelog
+* Wed Jan  2 2002 Peter Jones <pjones at redhat.com> alpha9.8-7
+- minor cleanups of $RPM_BUILD_ROOT pruning
+
 * Thu Dec  6 2001 Peter Jones <pjones at redhat.com> alpha9.8-6
 - move includes to %{_includedir}/cdda/
 - add utils.h to %install

--- >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