SPECS: bzip2.spec - BZIP2 option to env.d

blues blues at pld-linux.org
Wed Dec 3 11:56:04 CET 2008


Author: blues                        Date: Wed Dec  3 10:56:04 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BZIP2 option to env.d

---- Files affected:
SPECS:
   bzip2.spec (1.121 -> 1.122) 

---- Diffs:

================================================================
Index: SPECS/bzip2.spec
diff -u SPECS/bzip2.spec:1.121 SPECS/bzip2.spec:1.122
--- SPECS/bzip2.spec:1.121	Wed May  7 00:12:30 2008
+++ SPECS/bzip2.spec	Wed Dec  3 11:55:58 2008
@@ -184,7 +184,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/%{_lib}
+install -d $RPM_BUILD_ROOT/{%{_lib},etc/env.d}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -196,6 +196,10 @@
 # but ABI has not changed - provide symlink for binary compatibility
 ln -sf libbz2.so.1.0.0 $RPM_BUILD_ROOT/%{_lib}/libbz2.so.1.0
 
+cat << EOF >$RPM_BUILD_ROOT/etc/env.d/BZIP2
+#BZIP2="-5"
+EOF
+
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
 %clean
@@ -207,6 +211,7 @@
 %files
 %defattr(644,root,root,755)
 %doc CHANGES LICENSE README manual.html
+%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/*
 %attr(755,root,root) %{_bindir}/bunzip2
 %attr(755,root,root) %{_bindir}/bzcat
 %attr(755,root,root) %{_bindir}/bzcmp
@@ -265,6 +270,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.122  2008/12/03 10:55:58  blues
+- BZIP2 option to env.d
+
 Revision 1.121  2008/05/06 22:12:30  glen
 - release 5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/bzip2.spec?r1=1.121&r2=1.122&f=u



More information about the pld-cvs-commit mailing list