]> git.pld-linux.org Git - packages/pinfo.git/blobdiff - pinfo.spec
- standarized line with BuildRoot field:
[packages/pinfo.git] / pinfo.spec
index c605ea0992b11c2b477e23a793fb04e5811c98f3..686299d828229ab2d66d5dfb6275c15117af58ff 100644 (file)
@@ -8,7 +8,7 @@ Group(pl):      Narz
 Copyright:     GPL
 Vendor:                Przemek Borys <pborys@dione.ids.pl>
 Source:                http://zeus.polsl.gliwice.pl/~pborys/%{name}-%{version}.tar.gz
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRoot:     /tmp/%{name}-%{version}-root
 
 %description
 Pinfo is a curses based lynx-style info and man browser.
@@ -26,7 +26,7 @@ make SPEEDOPTIMIZE="$RPM_OPT_FLAGS"
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/usr/{man/man1,bin}
 
-install -s pinfo $RPM_BUILD_ROOT/usr/bin
+install -s pinfo $RPM_BUILD_ROOT%{_bindir}
 install         pinfo.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
@@ -38,7 +38,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc {ACKNOWLEDGEMENTS,CHANGELOG,TODO,TECHSTUFF,README,PORTING}.gz
-%attr(755,root,root) /usr/bin/pinfo
+%attr(755,root,root) %{_bindir}/pinfo
 %{_mandir}/man1/*
 
 %changelog
This page took 0.08117 seconds and 4 git commands to generate.