summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2003-03-17 15:27:02 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2003-03-17 15:27:02 (GMT)
commitb59be3b806c608a1d70980a35998a5cafb903888 (patch)
tree53941776fc9e880894e00b554faa26a3e408e0a7
parent66280a5a2650157111bdf086e6376a4b87f83fe1 (diff)
downloadflock-b59be3b806c608a1d70980a35998a5cafb903888.zip
flock-b59be3b806c608a1d70980a35998a5cafb903888.tar.gz
flock-b59be3b806c608a1d70980a35998a5cafb903888.tar.bz2
flock-b59be3b806c608a1d70980a35998a5cafb903888.tar.xz
Set prefixes
-rw-r--r--flock.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/flock.spec b/flock.spec
index f0f2df8..3b824c2 100644
--- a/flock.spec
+++ b/flock.spec
@@ -15,11 +15,11 @@ useful in keeping automated tasks from stepping on each other.
%setup -q
%build
-make prefix=/usr
%install
rm -rf $RPM_BUILD_ROOT
-make install prefix=/usr INSTALLROOT=$RPM_BUILD_ROOT
+make install prefix=%{_prefix} BINDIR=%{_bindir} MANDIR=%{_mandir} \
+ INSTALLROOT=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT