summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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