summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-07-25 15:13:06 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-07-25 15:13:06 +0000
commit77f2433200ee85d3efc1a5a261b190cb0a3c1422 (patch)
tree3da8ff1055fffe464f9609eba7ea82e10fe135a4
parenta8efcfa5ca81ef29e4d56dac70761d9b9ffc9708 (diff)
Update RPM spec file
-rw-r--r--libs.spec5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs.spec b/libs.spec
index e30782dd..e3d4ac1c 100644
--- a/libs.spec
+++ b/libs.spec
@@ -30,17 +30,16 @@ The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
%prep
rm -rf $RPM_BUILD_ROOT
-#rm -rf /usr/src/redhat/BUILD/*
%setup -q
%build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
+CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --mandir=%{_mandir} --sysconfdir=%{_sysconfdir}
make
%install
rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT%{prefix} install
+make DESTDIR=$RPM_BUILD_ROOT prefix=%{prefix} mandir=%{_mandir} sysconfdir=%{_sysconfdir} install
%clean
rm -rf $RPM_BUILD_ROOT