aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2023-01-07 10:29:57 +0200
committerJani Välimaa <wally@mageia.org>2023-01-07 10:31:07 +0200
commit69cde27b563bf6af7ef2b80557745037a0a84c42 (patch)
tree26efe1cf529e71f38b5cf963abefd31aef219257
parentc0e63e2dad2d00ee087060e91d3a3fc25c475a23 (diff)
downloadrpm-helper-69cde27b563bf6af7ef2b80557745037a0a84c42.tar
rpm-helper-69cde27b563bf6af7ef2b80557745037a0a84c42.tar.gz
rpm-helper-69cde27b563bf6af7ef2b80557745037a0a84c42.tar.bz2
rpm-helper-69cde27b563bf6af7ef2b80557745037a0a84c42.tar.xz
rpm-helper-69cde27b563bf6af7ef2b80557745037a0a84c42.zip
Rename rpm-helper.macros as macros.rpm-helper and install it into /usr/lib/rpm/macros.d
-rw-r--r--Makefile10
-rw-r--r--NEWS3
-rw-r--r--macros.rpm-helper.in (renamed from rpm-helper.macros.in)0
3 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7259b0d..9383b9e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ SCRIPT_FILES = add-user del-user create-file \
add-group del-group add-shell del-shell verify-shell \
add-syslog del-syslog add-webapp del-webapp \
get-password create-ssl-certificate
-MACROS_FILES = rpm-helper.macros
+MACROS_FILES = macros.rpm-helper
CONF_FILES = ssl
TEST_FILES = t/*.t
SYSTEMDMIGRATION_FILES = README.systemd
@@ -15,7 +15,7 @@ FILES = AUTHORS README COPYING NEWS Makefile \
$(TEST_FILES) $(SYSTEMDMIGRATION_FILES)
pkgdatadir = /usr/share/$(PACKAGE)
-rpmmacrosdir = /etc/rpm/macros.d
+rpmmacrodir = /usr/lib/rpm/macros.d
sysconfigdir = /etc/sysconfig
systemdmigrationdir = /var/lib/rpm-helper/systemd-migration
@@ -25,14 +25,14 @@ all:
install: $(MACROS_FILES)
install -d -m 755 $(DESTDIR)$(pkgdatadir)
cp -p $(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)
install -d -m 755 $(DESTDIR)$(sysconfigdir)
install -m 644 $(CONF_FILES) $(DESTDIR)/$(sysconfigdir)
install -d -m 755 $(DESTDIR)$(systemdmigrationdir)
install -m 644 $(SYSTEMDMIGRATION_FILES) $(DESTDIR)/$(systemdmigrationdir)
-rpm-helper.macros: rpm-helper.macros.in
+macros.rpm-helper: macros.rpm-helper.in
sed -e 's:@pkgdatadir@:$(pkgdatadir):' < $< > $@
clean:
diff --git a/NEWS b/NEWS
index e06e7fe..cde118e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+ * rename rpm-helper.macros as macros.rpm-helper and install it into
+ /usr/lib/rpm/macros.d
+
2020-12-20 Guillaume Rousse <guillomovitch@gmail.com> 0.24.21
* revert default key length for SSL certificates to 2048 bits, as it is
enough until 2030 according to NIST and other experts:
diff --git a/rpm-helper.macros.in b/macros.rpm-helper.in
index 1703bc4..1703bc4 100644
--- a/rpm-helper.macros.in
+++ b/macros.rpm-helper.in