From 496d75bb93a191b34bb2a5727afa4a1162a9cd58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Fri, 1 May 2020 15:34:20 +0300 Subject: Makefile: fix rpmmacrodir location --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fc74d4f..12f3315 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ TEST_VERBOSE = 0 bindir = /usr/bin pkgdatadir = /usr/share/$(PACKAGE) -rpmmacrosdir = /etc/rpm/macros.d +rpmmacrodir = /usr/lib/rpm/macros.d all: @echo "use make install or make dist" @@ -35,8 +35,8 @@ install: $(MACROS_FILES) install -m 755 $(BIN_FILES) $(DESTDIR)$(bindir) install -d -m 755 $(DESTDIR)$(pkgdatadir) install -m 755 $(SCRIPT_FILES) $(DESTDIR)$(pkgdatadir) - install -d -m 755 $(DESTDIR)/$(rpmmacrosdir) - install -m 644 $(MACROS_FILES) $(DESTDIR)/$(rpmmacrosdir) + install -d -m 755 $(DESTDIR)/$(rpmmacrodir) + install -m 644 $(MACROS_FILES) $(DESTDIR)/$(rpmmacrodir) spec-helper.macros: spec-helper.macros.in sed -e 's:@pkgdatadir@:$(pkgdatadir):' < $< > $@ -- cgit v1.2.1