public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Callaway <spot@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: fix license handling
Date: Mon, 10 Aug 2026 09:33:57 GMT	[thread overview]
Message-ID: <178635443737.1.7216873659639176878.rpms-fedora-release-cf296ee19333@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/fedora-release
Branch : f45
Commit : cf296ee19333c75138cb8f1c20d271242a76af5c
Author : Tom Callaway <spot@fedoraproject.org>
Date   : 2014-07-12T10:42:21-04:00
Stats  : +14/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/fedora-release/c/cf296ee19333c75138cb8f1c20d271242a76af5c?branch=f45

Log:
fix license handling

---
diff --git a/fedora-release.spec b/fedora-release.spec
index d1c7aac..f6b09ab 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -5,7 +5,7 @@
 Summary:        Fedora release files
 Name:           fedora-release
 Version:        22
-Release:        0.1
+Release:        0.2
 License:        MIT
 Group:          System Environment/Base
 URL:            http://fedoraproject.org
@@ -121,7 +121,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc LICENSE Fedora-Legal-README.txt
+%{!?_licensedir:%global license %%doc}
+%license LICENSE Fedora-Legal-README.txt
 %config %attr(0644,root,root) /etc/os-release
 %config %attr(0644,root,root) /etc/fedora-release
 /etc/redhat-release
@@ -132,18 +133,25 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0644,root,root) %{_rpmconfigdir}/macros.d/macros.dist
 
 %files standard
-%doc LICENSE
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
 
 %files cloud
-%doc LICENSE
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
 
 %files server
-%doc LICENSE
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
 
 %files workstation
-%doc LICENSE
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
 
 %changelog
+* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> 22-0.2
+- fix license handling
+
 * Tue Jul 08 2014 Dennis Gilmore <dennis@ausil.us> 22-0.1
 - setup for rawhide targetiing f22
 

                 reply	other threads:[~2026-08-10  9:33 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=178635443737.1.7216873659639176878.rpms-fedora-release-cf296ee19333@fedoraproject.org \
    --to=spot@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