public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Stop modifying the source file
@ 2026-08-10 9:36
0 siblings, 0 replies; only message in thread
From: @ 2026-08-10 9:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/fedora-release
Branch : f45
Commit : 8eeadc450713b6d20cb59717e01e1e191fd05a47
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date : 2023-02-02T10:36:35+01:00
Stats : +2/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-release/c/8eeadc450713b6d20cb59717e01e1e191fd05a47?branch=f45
Log:
Stop modifying the source file
This was bad on many levels. In particular, anyone doing 'git commit -a'
would inadvertently commit the changes.
[skip changelog]
---
diff --git a/fedora-release.spec b/fedora-release.spec
index 56c1c0e..f561f8f 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -1034,7 +1034,8 @@ itself as Fedora Sericea.
%prep
-sed -i 's|@@VERSION@@|%{dist_version}|g' %{SOURCE2}
+mkdir -p licenses
+sed 's|@@VERSION@@|%{dist_version}|g' %{SOURCE2} >licenses/Fedora-Legal-README.txt
%build
@@ -1433,9 +1434,7 @@ cat >> %{buildroot}%{_rpmconfigdir}/macros.d/macros.dist << EOF
EOF
# Install licenses
-mkdir -p licenses
install -pm 0644 %{SOURCE1} licenses/LICENSE
-install -pm 0644 %{SOURCE2} licenses/Fedora-Legal-README.txt
# Default system wide
install -Dm0644 %{SOURCE10} -t %{buildroot}%{_prefix}/lib/systemd/system-preset/
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-10 9:36 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:36 [rpms/fedora-release] f45: Stop modifying the source file
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox