public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Georg <peter.georg@physik.uni-regensburg.de>
To: git-commits@fedoraproject.org
Subject: [rpms/i3] rawhide: Only build subpackage config-fedora on fedora
Date: Wed, 05 Aug 2026 06:53:41 GMT [thread overview]
Message-ID: <178591282132.1.2682260332153721623.rpms-i3-3ea5a2fe5a9c@fedoraproject.org> (raw)
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
reply other threads:[~2026-08-05 6:53 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=178591282132.1.2682260332153721623.rpms-i3-3ea5a2fe5a9c@fedoraproject.org \
--to=peter.georg@physik.uni-regensburg.de \
--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