]> git.pld-linux.org Git - packages/bzip2.git/commitdiff
- BZIP2 option to env.d auto/aidath/bzip2-1_0_5-5
authorPaweł Gołaszewski <blues@pld-linux.org>
Wed, 3 Dec 2008 10:55:58 +0000 (10:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bzip2.spec -> 1.122

bzip2.spec

index 829e672781606573614517884ccb3d3b6eb146ca..e4aba23d3bb4b6356da1a5a58bb9d8c2e52eced4 100644 (file)
@@ -183,7 +183,7 @@ Bibliotecas estáticas para desenvolvimento com a bzip2.
 
 %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
@@ -195,6 +195,10 @@ ln -sf /%{_lib}/libbz2.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/libbz2.so
 # 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
@@ -206,6 +210,7 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.024182 seconds and 4 git commands to generate.