public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jesse Keating <jkeating@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: - Define the dist macros in this package since we define everyting else
Date: Mon, 10 Aug 2026 09:33:22 GMT	[thread overview]
Message-ID: <178635440258.1.7839680211235829946.rpms-fedora-release-d77301f3e470@fedoraproject.org> (raw)

        A new commit has been pushed.

        Repo   : rpms/fedora-release
        Branch : f45
        Commit : d77301f3e470bce2f19f2ac36847779363ee7a6d
        Author : Jesse Keating <jkeating@fedoraproject.org>
        Date   : 2007-06-19T19:58:05+00:00
        Stats  : +17/-2 in 2 file(s)
        URL    : https://src.fedoraproject.org/rpms/fedora-release/c/d77301f3e470bce2f19f2ac36847779363ee7a6d?branch=f45

        Log:
        - Define the dist macros in this package since we define everyting else
here

---
diff --git a/fedora-release.spec b/fedora-release.spec
index 5be87dd..3468e21 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -1,9 +1,10 @@
 %define release_name Rawhide
+%define dist_version 8
 
 Summary:	Fedora release files
 Name:		fedora-release
 Version:	7.89
-Release:	1
+Release:	2
 License:	GFDL
 Group:		System Environment/Base
 URL:		http://fedoraproject.org
@@ -46,6 +47,16 @@ for file in fedora*repo ; do
   install -m 644 $file $RPM_BUILD_ROOT/etc/yum.repos.d
 done
 
+# Set up the dist tag macros
+install -d -m 755 $RPM_BUILD_ROOT/etc/rpm
+cat >> $RPM_BUILD_ROOT/etc/rpm/macros.dist << EOF
+# dist macros.
+
+%%fedora		%{dist_version}
+%%dist		.fc%{dist_version}
+%%fc%{dist_version}		1
+EOF
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -58,10 +69,14 @@ rm -rf $RPM_BUILD_ROOT
 %doc GPL 
 %config(noreplace) %attr(0644,root,root) /etc/issue
 %config(noreplace) %attr(0644,root,root) /etc/issue.net
+%config(noreplace) %attr(0644,root,root) /etc/rpm/macros.dist
 %dir /etc/pki/rpm-gpg
 /etc/pki/rpm-gpg/*
 
 %changelog
+* Tue Jun 19 2007 Jesse Keating <jkeating@redhat.com> - 7.89-2
+- Define the dist macros in this package since we define everyting else here
+
 * Wed May 30 2007 Jesse Keating <jkeating@redhat.com> - 7.89-1
 - And we're back to rawhide.  Re-enable devel repos
 

diff --git a/sources b/sources
index c327aba..7856207 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c3c040e68f3fe805246e2dd252d97df8  fedora-release-7.89.tar.gz
+7d8bbbd07871c7634e5c383cbc37d46a  fedora-release-7.89.tar.gz

                 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=178635440258.1.7839680211235829946.rpms-fedora-release-d77301f3e470@fedoraproject.org \
    --to=jkeating@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