Blame SOURCES/bz1059004.patch

95ec45
commit 80601bca1cd8c43e4860d4a290c9dbdfe08e49b6
95ec45
Author: Nathan Scott <nathans@redhat.com>
95ec45
Date:   Wed Jan 29 09:40:57 2014 +1100
95ec45
95ec45
    Fix build regression from recent NeedRebuild makefile changes
95ec45
    
95ec45
    Conditional code added to pmns makefile has incorrectly caught
95ec45
    the $(STDPMID) macro in its evil clutches.  This causes failure
95ec45
    on new installations (no problems for upgrades though) as two
95ec45
    important namespace files are missing from the package.
95ec45
95ec45
diff --git a/src/pmns/GNUmakefile b/src/pmns/GNUmakefile
95ec45
index b2fb5c8..32ebe34 100644
95ec45
--- a/src/pmns/GNUmakefile
95ec45
+++ b/src/pmns/GNUmakefile
95ec45
@@ -62,8 +62,9 @@ install:	default
95ec45
 	$(INSTALL) -m 644 GNUmakefile.install $(PMNS_VAR_DIR)/Makefile
95ec45
 	$(INSTALL) -m 755 Rebuild $(PMNS_VAR_DIR)/Rebuild
95ec45
 	$(INSTALL) -m 755 Make.stdpmid $(PMNS_VAR_DIR)/Make.stdpmid
95ec45
+	$(INSTALL) -m 644 $(STDPMID) $(PMNS_VAR_DIR)
95ec45
 ifeq (, $(filter redhat debian, $(PACKAGE_DISTRIBUTION)))
95ec45
-	$(INSTALL) -m 644 .NeedRebuild $(STDPMID) $(PMNS_VAR_DIR)
95ec45
+	$(INSTALL) -m 644 .NeedRebuild $(PMNS_VAR_DIR)/.NeedRebuild
95ec45
 endif
95ec45
 
95ec45
 stdpmid:	$(STDPMID)