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

ed.spec

diff --git a/ed.spec b/ed.spec
index cb7b6814425954c586197cd4f626356001c3041b..fc6a88a7b5900a2d7e088892fad324b0ec86c96a 100644 (file)
--- a/ed.spec
+++ b/ed.spec
@@ -55,18 +55,18 @@ make
 make prefix=$RPM_BUILD_ROOT/usr \
     exec_prefix=$RPM_BUILD_ROOT install
 
-rm -f $RPM_BUILD_ROOT/usr/man/man1/red.1
-echo .so ed.1 > $RPM_BUILD_ROOT/usr/man/man1/red.1
+rm -f $RPM_BUILD_ROOT%{_mandir}/man1/red.1
+echo .so ed.1 > $RPM_BUILD_ROOT%{_mandir}/man1/red.1
 
 gzip -9nf $RPM_BUILD_ROOT/usr/{man/man1/*,info/*info*} \
        NEWS POSIX README
 
 %post
-/sbin/install-info /usr/info/ed.info.gz /etc/info-dir
+/sbin/install-info %{_infodir}/ed.info.gz /etc/info-dir
 
 %preun
 if [ "$1" = "0" ]; then
-       /sbin/install-info --delete /usr/info/ed.info.gz /etc/info-dir
+       /sbin/install-info --delete %{_infodir}/ed.info.gz /etc/info-dir
 fi
 
 %clean
@@ -77,8 +77,8 @@ rm -rf $RPM_BUILD_ROOT
 %doc *.gz
 %attr(755,root,root) /bin/*
 
-/usr/info/ed.info.gz
-/usr/man/man1/*
+%{_infodir}/ed.info.gz
+%{_mandir}/man1/*
 
 %changelog
 * Thu Apr 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
This page took 0.11932 seconds and 4 git commands to generate.