public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: Add ostree-counting & ostree-desktop subpackages
Date: Mon, 10 Aug 2026 09:35:34 GMT [thread overview]
Message-ID: <178635453492.1.12896206049160582235.rpms-fedora-release-ae5e74120ac9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fedora-release
Branch : f45
Commit : ae5e74120ac934a5b94ed16b7eef700c61095ced
Author : Timothée Ravier <tim@siosm.fr>
Date : 2021-04-13T21:47:25+02:00
Stats : +38/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-release/c/ae5e74120ac934a5b94ed16b7eef700c61095ced?branch=f45
Log:
Add ostree-counting & ostree-desktop subpackages
Introduce two sub packages to control:
- counting: if we have enabled Count Me support by default.
- desktop: if we install the polkit rule to allow privileged users to
do most rpm-ostree operations via polkit without a password.
We need two distinct sub packages as we currently have the following
matrix of enablement for those features across our different editions
and variants:
Counting Desktop
IoT F34 Never
CoreOS Planned Never
Silverblue F34 Always
Kinoite F35 F35
This also enables other unofficial / unbranded ostree/rpm-ostree based
Fedora variants to use those packages to enable those features as they
see fit.
See discussion in https://pagure.io/Fedora-Council/tickets/issue/361
---
diff --git a/fedora-release.spec b/fedora-release.spec
index 5866be9..6057c0b 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -60,7 +60,7 @@
Summary: Fedora release files
Name: fedora-release
Version: 35
-Release: 0.6%{?eln:.eln%{eln}}
+Release: 0.7%{?eln:.eln%{eln}}
License: MIT
URL: https://fedoraproject.org/
@@ -423,6 +423,7 @@ Provides: system-release
Provides: system-release(%{version})
Provides: base-module(platform:f%{version})
Requires: fedora-release-common = %{version}-%{release}
+Requires: fedora-release-ostree-counting = %{version}-%{release}
# fedora-release-common Requires: fedora-release-identity, so at least one
# package must provide it. This Recommends: pulls in
@@ -571,6 +572,8 @@ Provides: system-release
Provides: system-release(%{version})
Provides: base-module(platform:f%{version})
Requires: fedora-release-common = %{version}-%{release}
+Requires: fedora-release-ostree-counting = %{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
@@ -608,6 +611,8 @@ Provides: system-release
Provides: system-release(%{version})
Provides: base-module(platform:f%{version})
Requires: fedora-release-common = %{version}-%{release}
+Requires: fedora-release-ostree-counting = %{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
@@ -634,6 +639,24 @@ itself as Fedora Kinoite.
%endif
+%if %{with silverblue} || %{with iot} || %{with kinoite}
+%package ostree-counting
+Summary: Configuration package for rpm-ostree variants to enable counting
+
+%description ostree-counting
+Configuration package for rpm-ostree variants to enable counting
+%endif
+
+
+%if %{with silverblue} || %{with kinoite}
+%package ostree-desktop
+Summary: Configuration package for rpm-ostree variants to add rpm-ostree polkit rules
+
+%description ostree-desktop
+Configuration package for rpm-ostree variants to add rpm-ostree polkit rules
+%endif
+
+
%if %{with snappy}
%package snappy
Summary: Base package for Fedora snap specific default configurations
@@ -1209,7 +1232,6 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
%{_prefix}/lib/systemd/user-preset/80-iot-user.preset
%attr(0644,root,root) %{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.iot
%{_prefix}/lib/zezere-ignition-url
-%{_unitdir}/rpm-ostreed.service.wants/rpm-ostree-countme.timer
%endif
@@ -1246,8 +1268,6 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
# Keep this in sync with workstation below
%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.override
%{_prefix}/lib/systemd/system-preset/80-workstation.preset
-%attr(0644,root,root) %{_prefix}/share/polkit-1/rules.d/org.projectatomic.rpmostree1.rules
-%{_unitdir}/rpm-ostreed.service.wants/rpm-ostree-countme.timer
%endif
@@ -1256,11 +1276,21 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
%files identity-kinoite
%{_prefix}/lib/os-release.kinoite
%attr(0644,root,root) %{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.kinoite
-%attr(0644,root,root) %{_prefix}/share/polkit-1/rules.d/org.projectatomic.rpmostree1.rules
+%endif
+
+
+%if %{with silverblue} || %{with iot} || %{with kinoite}
+%files ostree-counting
%{_unitdir}/rpm-ostreed.service.wants/rpm-ostree-countme.timer
%endif
+%if %{with silverblue} || %{with kinoite}
+%files ostree-desktop
+%attr(0644,root,root) %{_prefix}/share/polkit-1/rules.d/org.projectatomic.rpmostree1.rules
+%endif
+
+
%if %{with snappy}
%files snappy
%files identity-snappy
@@ -1298,6 +1328,9 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
%changelog
+* Tue Apr 13 2021 Timothée Ravier <travier@redhat.com> - 35-0.7
+- Add ostree-counting & ostree-desktop subpackages
+
* Thu Apr 01 2021 Stephen Gallagher <sgallagh@redhat.com> - 35-0.6
- Enable certbot-renew.timer (bz1942011)
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=178635453492.1.12896206049160582235.rpms-fedora-release-ae5e74120ac9@fedoraproject.org \
--to=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