]> git.pld-linux.org Git - packages/bash.git/commitdiff
- masive changes:
authorkloczek <kloczek@pld-linux.org>
Mon, 17 May 1999 10:23:20 +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:
    bash.spec -> 1.13

bash.spec

index f87874caba94bb1b1c84a9f42503a264e5508b6d..3e2896312324598fbed43f2a64fcf90fb38d9695 100644 (file)
--- a/bash.spec
+++ b/bash.spec
@@ -105,7 +105,7 @@ rm -f $RPM_BUILD_ROOT/usr/bin/bash.old
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/bashrc
 
-echo .so bash.1 > $RPM_BUILD_ROOT/usr/man/man1/rbash.1
+echo .so bash.1 > $RPM_BUILD_ROOT%{_mandir}/man1/rbash.1
 
 ln -sf bash $RPM_BUILD_ROOT/bin/rbash
 
@@ -116,14 +116,14 @@ gzip -9nf $RPM_BUILD_ROOT/usr/{info/bash.info,man/man1/*} \
 mv /etc/shells /etc/shells.org
 (cat /etc/shells.org; echo "/bin/bash"; echo "/bin/rbash" ) | sort -u > /etc/shells
 rm -f /etc/shells.org
-/sbin/install-info /usr/info/bash.info.gz /etc/info-dir
+/sbin/install-info %{_infodir}/bash.info.gz /etc/info-dir
 
 %preun
 if [ "$1" = "0" ]; then
        mv /etc/shells /etc/shells.org
        cat /etc/shells.org | egrep -v "/bin/bash|/bin/rbash" > /etc/shells
        rm -f /etc/shells.org
-       /sbin/install-info --delete /usr/info/bash.info.gz /etc/info-dir
+       /sbin/install-info --delete %{_infodir}/bash.info.gz /etc/info-dir
 fi
 
 %clean
@@ -138,8 +138,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) /bin/*
 %attr(755,root,root) /usr/bin/*
 
-/usr/info/bash.info.gz
-/usr/man/man1/*
+%{_infodir}/bash.info.gz
+%{_mandir}/man1/*
 
 %changelog
 * Mon May  3 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
This page took 0.102037 seconds and 4 git commands to generate.