public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Small spec file cleanups
@ 2026-08-10  9:34 Peter Robinson
  0 siblings, 0 replies; only message in thread
From: Peter Robinson @ 2026-08-10  9:34 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-release
            Branch : f45
            Commit : f8753286a35b1d8df403a8cff3bad07cc97f6bd1
            Author : Peter Robinson <pbrobinson@fedoraproject.org>
            Date   : 2018-08-06T18:04:42+01:00
            Stats  : +1/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-release/c/f8753286a35b1d8df403a8cff3bad07cc97f6bd1?branch=f45

            Log:
            Small spec file cleanups

Drop Group, old license defines and defattr

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>

---
diff --git a/fedora-release.spec b/fedora-release.spec
index 32c1a51..536a212 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -11,8 +11,8 @@ Name:           fedora-release
 Version:        29
 Release:        0.8
 License:        MIT
-Group:          System Environment/Base
 URL:            https://pagure.io/fedora-release
+
 Source:         %{name}-%{version}.tar.bz2
 Source1:        convert-to-edition.lua
 Obsoletes:      redhat-release
@@ -291,8 +291,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 
 
 %files
-%defattr(-,root,root,-)
-%{!?_licensedir:%global license %%doc}
 %license LICENSE Fedora-Legal-README.txt
 %ghost /usr/lib/variant
 %dir /usr/lib/os.release.d
@@ -319,19 +317,16 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 
 
 %files atomichost
-%{!?_licensedir:%global license %%doc}
 %license LICENSE
 %attr(0644,root,root) /usr/lib/os.release.d/os-release-atomichost
 
 
 %files cloud
-%{!?_licensedir:%global license %%doc}
 %license LICENSE
 %attr(0644,root,root) /usr/lib/os.release.d/os-release-cloud
 
 
 %files server
-%{!?_licensedir:%global license %%doc}
 %license LICENSE
 %attr(0644,root,root) /usr/lib/os.release.d/os-release-server
 %attr(0644,root,root) /usr/lib/os.release.d/issue-server
@@ -339,7 +334,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %attr(0644,root,root) /usr/lib/os.release.d/presets/80-server.preset
 
 %files workstation
-%{!?_licensedir:%global license %%doc}
 %license LICENSE
 %attr(0644,root,root) /usr/lib/os.release.d/os-release-workstation
 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.override

^ 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: Small spec file cleanups Peter Robinson

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