[libproxy] check is after install and before clean
Nicolas Chauvet
kwizart at fedoraproject.org
Mon Sep 6 19:17:56 UTC 2010
commit 303f20e7866e77cdca09ff5fccb9161c2b892b15
Author: Nicolas Chauvet <kwizart at gmail.com>
Date: Mon Sep 6 21:17:34 2010 +0200
check is after install and before clean
libproxy.spec | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/libproxy.spec b/libproxy.spec
index d6892c9..8055e59 100644
--- a/libproxy.spec
+++ b/libproxy.spec
@@ -154,6 +154,11 @@ developing applications that use %{name}.
.
make VERBOSE=1 %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+
#In case all modules are disabled
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/%{version}/modules
@@ -161,10 +166,6 @@ mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/%{version}/modules
%check
make test
-%install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
-
%clean
rm -rf $RPM_BUILD_ROOT
More information about the scm-commits
mailing list