Since 'make rpms' uses the existing directory to build an rpm from, it's
possible that it can pick up an existing condor plugin .so and install
it even if it's got the wrong prefix set etc.

This patch just adds a 'make clean' before 'make' so that it is forced
to rebuild a new plugin when making the rpm.  Clearly however the rpm
needs to be fixed.

Signed-off-by: Ian Main <[email protected]>
---
 deltacloud-aggregator.spec.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/deltacloud-aggregator.spec.in b/deltacloud-aggregator.spec.in
index dc33036..4f89f23 100644
--- a/deltacloud-aggregator.spec.in
+++ b/deltacloud-aggregator.spec.in
@@ -79,6 +79,7 @@ Documentation and tests for the Deltacloud Aggregator
 
 %build
 %configure
+make clean
 make
 
 %install
-- 
1.7.2.3

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to