summaryrefslogtreecommitdiffstats
path: root/ipa-client/freeipa-client.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-client/freeipa-client.spec.in')
-rw-r--r--ipa-client/freeipa-client.spec.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipa-client/freeipa-client.spec.in b/ipa-client/freeipa-client.spec.in
index 3644e1577..50b32a91a 100644
--- a/ipa-client/freeipa-client.spec.in
+++ b/ipa-client/freeipa-client.spec.in
@@ -17,16 +17,16 @@ The client package provide install and configuration scripts for clients.
%prep
%setup -q
+./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc
%build
-make DESTDIR=%{buildroot}
+make
%install
rm -rf %{buildroot}
-mkdir -p %{buildroot}%{_sbindir}
-make install DESTDIR=%{buildroot}
+make install
%clean