SPECS: nvi.spec - defined _bindir and _sbindir to use macros

darekr darekr at pld-linux.org
Mon May 8 13:40:37 CEST 2006


Author: darekr                       Date: Mon May  8 11:40:37 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- defined _bindir and _sbindir to use macros

---- Files affected:
SPECS:
   nvi.spec (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: SPECS/nvi.spec
diff -u SPECS/nvi.spec:1.33 SPECS/nvi.spec:1.34
--- SPECS/nvi.spec:1.33	Thu Sep  2 13:27:26 2004
+++ SPECS/nvi.spec	Mon May  8 13:40:32 2006
@@ -27,6 +27,9 @@
 Obsoletes:	elvis-static
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_bindir		/bin
+%define		_sbindir	/sbin
+
 %description
 A freely redistributable replacement for the Berkeley ex and vi text
 editors.
@@ -79,8 +82,8 @@
 %files
 %defattr(644,root,root,755)
 %doc FAQ LICENSE LAYOUT README
-%attr(755,root,root) /bin/*
-%attr(755,root,root) /sbin/recover
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sbindir}/recover
 %{_mandir}/man1/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -89,6 +92,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2006/05/08 11:40:32  darekr
+- defined _bindir and _sbindir to use macros
+
 Revision 1.33  2004/09/02 11:27:26  snurf
 - typos / formatting / etc.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nvi.spec?r1=1.33&r2=1.34&f=u



More information about the pld-cvs-commit mailing list