- 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:
    elvis.spec -> 1.6

elvis.spec

index c002a34..b7da20f 100644 (file)
@@ -65,13 +65,13 @@ install -d $RPM_BUILD_ROOT/{bin,usr/{bin,man/man1,lib/elvis}}
 install -s elvis       $RPM_BUILD_ROOT/usr/bin
 install -s elvis.static        $RPM_BUILD_ROOT/bin/vi
 install -s ref         $RPM_BUILD_ROOT/usr/bin/
-install lib/ref.man    $RPM_BUILD_ROOT/usr/man/man1
+install lib/ref.man    $RPM_BUILD_ROOT%{_mandir}/man1
 
 rm -f  lib/*.man
 mv lib/license .
 install        lib/*           $RPM_BUILD_ROOT/usr/lib/elvis
 
-gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/* \
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
        license BUGS
 
 %clean
@@ -82,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc {license,BUGS}.gz README.html
 %attr(755,root,root) /usr/bin/elvis
 %attr(755,root,root) /usr/bin/ref
-/usr/man/man1/*
+%{_mandir}/man1/*
 /usr/lib/elvis
 
 %files static
This page took 0.036726 seconds and 4 git commands to generate.