]> git.pld-linux.org Git - packages/bc.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:
    bc.spec -> 1.8

bc.spec

diff --git a/bc.spec b/bc.spec
index 06fbd993c9545bdd386614c6341ec829b7408ba7..5904e07f6c3bf79992e5303d6cac07e9c2426c99 100644 (file)
--- a/bc.spec
+++ b/bc.spec
@@ -58,18 +58,18 @@ make prefix=$RPM_BUILD_ROOT/usr install
 gzip -9nf $RPM_BUILD_ROOT/usr/{info/dc.info,man/man1/*}
 
 %post
-/sbin/install-info /usr/info/dc.info.gz /etc/info-dir
+/sbin/install-info %{_infodir}/dc.info.gz /etc/info-dir
 
 %preun
 if [ "$1" = "0" ]; then
-       /sbin/install-info --delete /usr/info/dc.info.gz /etc/info-dir
+       /sbin/install-info --delete %{_infodir}/dc.info.gz /etc/info-dir
 fi
 
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) /usr/bin/*
-/usr/man/man1/*
-/usr/info/dc.info.gz
+%{_mandir}/man1/*
+%{_infodir}/dc.info.gz
 
 %clean 
 rm -rf $RPM_BUILD_ROOT
This page took 0.061854 seconds and 4 git commands to generate.