public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Carl George <carlwgeorge@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/epel-rpm-macros] eln: Initial package for ELN Extras
Date: Thu, 20 Aug 2026 03:45:20 GMT	[thread overview]
Message-ID: <178719752001.1.9967387171975427929.rpms-epel-rpm-macros-55441e9a6859@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-20  3:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178719752001.1.9967387171975427929.rpms-epel-rpm-macros-55441e9a6859@fedoraproject.org \
    --to=carlwgeorge@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox