aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2024-11-11 14:50:54 +0200
committerJani Välimaa <wally@mageia.org>2024-11-11 14:50:54 +0200
commit6ef9080904b39d3a2b4450660e3d88a2536fd16c (patch)
tree6d2484e42355bfcf6e7cd14ad0c824808ed3f167
parent88af1b516c36715c25fdb31830eed9fb89394a55 (diff)
downloadrpm-setup-6ef9080904b39d3a2b4450660e3d88a2536fd16c.tar
rpm-setup-6ef9080904b39d3a2b4450660e3d88a2536fd16c.tar.gz
rpm-setup-6ef9080904b39d3a2b4450660e3d88a2536fd16c.tar.bz2
rpm-setup-6ef9080904b39d3a2b4450660e3d88a2536fd16c.tar.xz
rpm-setup-6ef9080904b39d3a2b4450660e3d88a2536fd16c.zip
macros: add %dist_vendor (Mageia) and %dist_name (Mageia Linux) macros
-rw-r--r--NEWS2
-rw-r--r--macros.in3
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index d4678fc..b1ace2b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- macros: add %dist_vendor (Mageia) and %dist_name (Mageia Linux) macros
+
Version 2.80 - 5 July 2024, by Jani Välimaa
- macros: make %install override compatible with rpm 4.20.0
diff --git a/macros.in b/macros.in
index 235d563..041f1ac 100644
--- a/macros.in
+++ b/macros.in
@@ -13,6 +13,9 @@
%_vendor @RPMVENDOR@
+%dist_vendor @RPMVENDOR@
+%dist_name @RPMVENDOR@ Linux
+
%_gnu @CANONTARGETGNU@
%_target_platform %{_target_cpu}-%{_real_vendor}-%{_target_os}%{?_gnu}