summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--NEWS1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1cd2b55..48a6b1e 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ install:
-mkdir -p $(DESTDIR)/etc/rpm
for f in $(RPM_MACRO_FILES); do \
perl -pe 's/%MULTIARCH_DISTRO%/$(MULTIARCH_DIST)/' macros.$$f > $(DESTDIR)/etc/rpm/macros.$$f; \
- if [[ -f /etc/rpm/macros.d/mandriva-release.macros ]]; then \
+ if [[ -d /etc/rpm/macros.d ]]; then \
mkdir -p $(DESTDIR)/etc/rpm/macros.d; \
mv $(DESTDIR)/etc/rpm/macros.$$f $(DESTDIR)/etc/rpm/macros.d/$$f.macros; \
fi; \
diff --git a/NEWS b/NEWS
index 06c80ec..169e8ba 100644
--- a/NEWS
+++ b/NEWS
@@ -1,2 +1,3 @@
- remove dispatch file for host.def, it is no longer used
- fix broken sparc64 check (from Per Øyvind Karlsen, #27277)
+- fix broken check for rpm/macros.d directory (from Per Øyvind Karlsen)