]> git.pld-linux.org Git - packages/bzip2.git/commitdiff
- masive changes:
authorkloczek <kloczek@pld-linux.org>
Mon, 17 May 1999 10:23:21 +0000 (10:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
s/\/usr\/man/\%{_mandir}/
s/\/usr\/share\/man/\%{_mandir}/
s/\/usr\/info/\%{_infodir}/
s/\/usr\/share\/info/\%{_infodir}/

Changed files:
    bzip2.spec -> 1.19

bzip2.spec

index efd2f85fc390692bef9f2a97798d4dfcd3bfd8ab..9ccbae7db5d4985d3012c85479635185306e5284 100644 (file)
@@ -70,12 +70,12 @@ install -s {bzip2,bzip2recover} $RPM_BUILD_ROOT/usr/bin
 ln -sf bzip2 $RPM_BUILD_ROOT/usr/bin/bunzip2
 ln -sf bzip2 $RPM_BUILD_ROOT/usr/bin/bzcat
 
-install bzip2.1 $RPM_BUILD_ROOT/usr/man/man1
+install bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1
 install bzlib.h $RPM_BUILD_ROOT/usr/include
 
-echo .so bzip2.1 > $RPM_BUILD_ROOT/usr/man/man1/bunzip2.1
-echo .so bzip2.1 > $RPM_BUILD_ROOT/usr/man/man1/bzcat.1
-echo .so bzip2.1 > $RPM_BUILD_ROOT/usr/man/man1/bzip2recover.1
+echo .so bzip2.1 > $RPM_BUILD_ROOT%{_mandir}/man1/bunzip2.1
+echo .so bzip2.1 > $RPM_BUILD_ROOT%{_mandir}/man1/bzcat.1
+echo .so bzip2.1 > $RPM_BUILD_ROOT%{_mandir}/man1/bzip2recover.1
 
 cat > $RPM_BUILD_ROOT/usr/bin/bzless <<EOF
 #!/bin/sh
@@ -86,7 +86,7 @@ install lib*so.*.* lib*.a $RPM_BUILD_ROOT/usr/lib
 ln -sf libbz2.so.0.9.0 $RPM_BUILD_ROOT/usr/lib/libbz2.so
 strip --strip-unneeded $RPM_BUILD_ROOT/usr/lib/lib*so.*.*
 
-gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/*
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -97,7 +97,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %attr(755,root,root) /usr/lib/lib*.so.*.*
 %attr(755,root,root) /usr/bin/*
-%attr(644,root,root) /usr/man/man1/*
+%attr(644,root,root) %{_mandir}/man1/*
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.0288 seconds and 4 git commands to generate.