public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: - Define the dist macros in this package since we define everyting else
@ 2026-08-10 9:33 Jesse Keating
0 siblings, 0 replies; only message in thread
From: Jesse Keating @ 2026-08-10 9:33 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-10 9:33 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:33 [rpms/fedora-release] f45: - Define the dist macros in this package since we define everyting else Jesse Keating
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox