public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/i3] rawhide: Only build subpackage config-fedora on fedora
@ 2026-08-05  6:53 Peter Georg
  0 siblings, 0 replies; only message in thread
From: Peter Georg @ 2026-08-05  6:53 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/i3
Branch : rawhide
Commit : 3ea5a2fe5a9c79c3ef987c2ff514513a6ed01221
Author : Peter Georg <peter.georg@physik.uni-regensburg.de>
Date   : 2026-08-04T18:54:25+02:00
Stats  : +6/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/i3/c/3ea5a2fe5a9c79c3ef987c2ff514513a6ed01221?branch=rawhide

Log:
Only build subpackage config-fedora on fedora

---
diff --git a/i3.spec b/i3.spec
index 33294ca..7226630 100644
--- a/i3.spec
+++ b/i3.spec
@@ -117,6 +117,7 @@ Conflicts:      %{name}-config-fedora
 %description    config
 This is the upstream/vanilla configuration file of i3.
 
+%if 0%{?fedora}
 %package        config-fedora
 RemovePathPostfixes: .fedora
 Summary:        Configuration of %{name} for the Fedora i3 Spin
@@ -130,6 +131,7 @@ Conflicts:      %{name}-config
 
 %description    config-fedora
 This is the configuration file of i3 used for the Fedora i3 Spin.
+%endif
 
 %package        doc
 Summary:        Documentation for %{name}
@@ -171,8 +173,10 @@ mkdir -p %{buildroot}%{_datadir}/pixmaps/
 install -Dpm0644 %{SOURCE3} \
         %{buildroot}%{_datadir}/pixmaps/
 
+%if 0%{?fedora}
 install -Dpm0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/%{name}/config.fedora
 install -Dpm0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/%{name}/config.keycodes.fedora
+%endif
 
 %check
 desktop-file-validate %{buildroot}%{_datadir}/applications/i3.desktop
@@ -199,9 +203,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/i3.desktop
 %config(noreplace) %{_sysconfdir}/%{name}/config
 %config %{_sysconfdir}/%{name}/config.keycodes
 
+%if 0%{?fedora}
 %files config-fedora
 %config(noreplace) %{_sysconfdir}/%{name}/config.fedora
 %config %{_sysconfdir}/%{name}/config.keycodes.fedora
+%endif
 
 %files doc
 %license LICENSE

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-05  6:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-05  6:53 [rpms/i3] rawhide: Only build subpackage config-fedora on fedora Peter Georg

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