public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/epel-rpm-macros] eln: Initial package for ELN Extras
@ 2026-08-20  3:45 Carl George
  0 siblings, 0 replies; only message in thread
From: Carl George @ 2026-08-20  3:45 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/epel-rpm-macros
Branch : eln
Commit : 55441e9a6859fcddb572e9c6a55a085764d5112f
Author : Carl George <carlwgeorge@fedoraproject.org>
Date   : 2026-08-19T22:44:59-05:00
Stats  : +46/-0 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/epel-rpm-macros/c/55441e9a6859fcddb572e9c6a55a085764d5112f?branch=eln

Log:
Initial package for ELN Extras

---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index e69de29..0000000
--- a/.gitignore
+++ /dev/null

diff --git a/epel-rpm-macros.spec b/epel-rpm-macros.spec
new file mode 100644
index 0000000..c878f80
--- /dev/null
+++ b/epel-rpm-macros.spec
@@ -0,0 +1,39 @@
+Name:           epel-rpm-macros
+Version:        11
+Release:        %autorelease
+Summary:        Extra Packages for Enterprise Linux RPM macros
+# https://bugzilla.redhat.com/show_bug.cgi?id=2302438
+License:        LicenseRef-Not-Copyrightable
+BuildArch:      noarch
+URL:            https://epel.io
+
+# standard EPEL macros
+Source10:       macros.epel
+
+# EPEL macros that must override CentOS/RHEL macros
+Source11:       macros.zzz-epel
+
+# This should only be installed on Enterprise Linux with a matching major version
+Requires:       (redhat-release with system-release(releasever_major) = %{version})
+
+
+%description
+This package contains the Extra Packages for Enterprise Linux (EPEL) RPM macros
+for building EPEL packages.
+
+
+%install
+# standard EPEL macros
+install -Dp -m 0644 -t %{buildroot}%{_rpmmacrodir} %{S:10}
+
+# EPEL macros that must override CentOS/RHEL macros
+install -Dp -m 0644 -t %{buildroot}%{_sysconfdir}/rpm %{S:11}
+
+
+%files
+%{_rpmmacrodir}/macros.epel
+%{_sysconfdir}/rpm/macros.zzz-epel
+
+
+%changelog
+%autochangelog

diff --git a/macros.epel b/macros.epel
new file mode 100644
index 0000000..0da1975
--- /dev/null
+++ b/macros.epel
@@ -0,0 +1 @@
+%epel 11

diff --git a/macros.zzz-epel b/macros.zzz-epel
new file mode 100644
index 0000000..6b566e5
--- /dev/null
+++ b/macros.zzz-epel
@@ -0,0 +1,6 @@
+# This file is used _only_ to override macros which exist in CentOS/RHEL.  It
+# should be used very sparingly.
+
+# The namespace for purl, which we override for EPEL packages.
+# https://github.com/package-url/purl-spec
+%dist_purl_namespace epel

diff --git a/sources b/sources
deleted file mode 100644
index e69de29..0000000
--- a/sources
+++ /dev/null

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-20  3:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-20  3:45 [rpms/epel-rpm-macros] eln: Initial package for ELN Extras Carl George

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox