public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Aleksei Bavshin <alebastr@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: Add Fedora Sericea (Sway OSTree) subpackages.
Date: Mon, 10 Aug 2026 09:35:57 GMT	[thread overview]
Message-ID: <178635455708.1.7973209662642908904.rpms-fedora-release-299a76d97f51@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/fedora-release
Branch : f45
Commit : 299a76d97f515c53afd96d30e9ece31423b9432f
Author : Aleksei Bavshin <alebastr@fedoraproject.org>
Date   : 2023-01-09T18:08:54+00:00
Stats  : +60/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/fedora-release/c/299a76d97f515c53afd96d30e9ece31423b9432f?branch=f45

Log:
Add Fedora Sericea (Sway OSTree) subpackages.

---
diff --git a/fedora-release.spec b/fedora-release.spec
index e4b5c76..bd827ba 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -39,6 +39,7 @@
 %bcond_with lxqt
 %bcond_with budgie
 %bcond_with sway
+%bcond_with sericea
 %else
 %bcond_without basic
 %bcond_without cinnamon
@@ -62,9 +63,10 @@
 %bcond_without lxqt
 %bcond_without budgie
 %bcond_without sway
+%bcond_without sericea
 %endif
 
-%if %{with silverblue} || %{with kinoite}
+%if %{with silverblue} || %{with kinoite} || %{with sericea}
 %global with_ostree_desktop 1
 %endif
 
@@ -983,6 +985,44 @@ itself as Fedora Sway.
 %endif
 
 
+%if %{with sericea}
+%package sericea
+Summary:        Base package for Fedora Sericea specific default configurations
+
+RemovePathPostfixes: .sericea
+Provides:       fedora-release = %{version}-%{release}
+Provides:       fedora-release-variant = %{version}-%{release}
+Provides:       system-release
+Provides:       system-release(%{version})
+Provides:       base-module(platform:f%{version})
+Requires:       fedora-release-common = %{version}-%{release}
+Requires:       fedora-release-ostree-desktop = %{version}-%{release}
+
+# fedora-release-common Requires: fedora-release-identity, so at least one
+# package must provide it. This Recommends: pulls in
+# fedora-release-identity-sericea if nothing else is already doing so.
+Recommends:     fedora-release-identity-sericea
+
+
+%description sericea
+Provides a base package for Fedora Sericea specific configuration
+files to depend on.
+
+
+%package identity-sericea
+Summary:        Package providing the identity for Fedora Sericea
+
+RemovePathPostfixes: .sericea
+Provides:       fedora-release-identity = %{version}-%{release}
+Conflicts:      fedora-release-identity
+
+
+%description identity-sericea
+Provides the necessary files for a Fedora installation that is identifying
+itself as Fedora Sericea.
+%endif
+
+
 %prep
 sed -i 's|@@VERSION@@|%{dist_version}|g' %{SOURCE2}
 
@@ -1345,6 +1385,15 @@ sed -i -e 's|BUG_REPORT_URL=.*|BUG_REPORT_URL="https://gitlab.com/fedora/sigs/sw
 sed -e "s#\$version#%{bug_version}#g" -e 's/$edition/Sway/;s/<!--.*-->//;/^$/d' %{SOURCE20} > %{buildroot}%{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.sway
 %endif
 
+%if %{with sericea}
+cp -p os-release %{buildroot}%{_prefix}/lib/os-release.sericea
+echo "VARIANT=\"Sericea\"" >> %{buildroot}%{_prefix}/lib/os-release.sericea
+echo "VARIANT_ID=sericea" >> %{buildroot}%{_prefix}/lib/os-release.sericea
+sed -i -e "s|(%{release_name}%{?prerelease})|(Sericea%{?prerelease})|g" %{buildroot}%{_prefix}/lib/os-release.sericea
+sed -i -e 's|BUG_REPORT_URL=.*|BUG_REPORT_URL="https://gitlab.com/fedora/sigs/sway/SIG/-/issues"|' %{buildroot}/%{_prefix}/lib/os-release.sericea
+sed -e "s#\$version#%{bug_version}#g" -e 's/$edition/Sericea/;s/<!--.*-->//;/^$/d' %{SOURCE20} > %{buildroot}%{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.sericea
+%endif
+
 # Create the symlink for /etc/os-release
 ln -s ../usr/lib/os-release %{buildroot}%{_sysconfdir}/os-release
 
@@ -1624,5 +1673,15 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
 %endif
 
 
+%if %{with sericea}
+%files sericea
+%files identity-sericea
+%{_prefix}/lib/os-release.sericea
+%attr(0644,root,root) %{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.sericea
+%{_prefix}/lib/systemd/system-preset/81-desktop.preset
+%{_unitdir}/timers.target.wants/rpm-ostree-countme.timer
+%endif
+
+
 %changelog
 %autochangelog

                 reply	other threads:[~2026-08-10  9:35 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=178635455708.1.7973209662642908904.rpms-fedora-release-299a76d97f51@fedoraproject.org \
    --to=alebastr@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