public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Own the /etc/issue.d directory.
@ 2026-08-10  9:34 Robert Fairley
  0 siblings, 0 replies; only message in thread
From: Robert Fairley @ 2026-08-10  9:34 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-release
            Branch : f45
            Commit : 00b7f79bae5ebe39e2bec509768dd4315e49d59c
            Author : Robert Fairley <rfairley@redhat.com>
            Date   : 2019-01-18T22:17:03-05:00
            Stats  : +8/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-release/c/00b7f79bae5ebe39e2bec509768dd4315e49d59c?branch=f45

            Log:
            Own the /etc/issue.d directory.

Comes up in https://bugzilla.redhat.com/show_bug.cgi?id=1667174#c1,
where the package needs to use /etc/issue.d but no package currently
owns it.

Signed-off-by: Robert Fairley <rfairley@redhat.com>

---
diff --git a/fedora-release.spec b/fedora-release.spec
index fb7a41e..18ab8d6 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -14,7 +14,7 @@
 Summary:        Fedora release files
 Name:           fedora-release
 Version:        30
-Release:        0.19
+Release:        0.20
 License:        MIT
 URL:            https://fedoraproject.org/
 
@@ -345,6 +345,9 @@ echo "\S" > %{buildroot}%{_prefix}/lib/issue.net
 echo "Kernel \r on an \m (\l)" >> %{buildroot}%{_prefix}/lib/issue.net
 ln -s ../usr/lib/issue.net %{buildroot}%{_sysconfdir}/issue.net
 
+# Create /etc/issue.d
+mkdir -p %{buildroot}%{_sysconfdir}/issue.d
+
 mkdir -p %{buildroot}%{_swidtagdir}
 
 # Create os-release files for the different editions
@@ -513,6 +516,7 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
 %config(noreplace) %{_sysconfdir}/issue
 %attr(0644,root,root) %{_prefix}/lib/issue.net
 %config(noreplace) %{_sysconfdir}/issue.net
+%dir %{_sysconfdir}/issue.d
 %attr(0644,root,root) %{_rpmconfigdir}/macros.d/macros.dist
 %dir %{_prefix}/lib/systemd/user-preset/
 %{_prefix}/lib/systemd/user-preset/90-default-user.preset
@@ -602,6 +606,9 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
 
 
 %changelog
+* Fri Jan 18 2019 Robert Fairley <rfairley@redhat.com> - 30-0.20
+- Own /etc/issue.d directory.
+
 * Fri Dec 28 2018 Kevin Fenzi <kevin@scrye.com> - 30-0.19
 - Own /etc/swid directory.
 

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

only message in thread, other threads:[~2026-08-10  9:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10  9:34 [rpms/fedora-release] f45: Own the /etc/issue.d directory Robert Fairley

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