public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: Enable Count Me support for Silverblue and IoT
Date: Mon, 10 Aug 2026 09:35:32 GMT	[thread overview]
Message-ID: <178635453242.1.4916574552247105844.rpms-fedora-release-f8a74ebd0802@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/fedora-release
            Branch : f45
            Commit : f8a74ebd080215c1b479fb26cad440d2736d5913
            Author : Timothée Ravier <tim@siosm.fr>
            Date   : 2021-03-17T12:51:43+01:00
            Stats  : +12/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-release/c/f8a74ebd080215c1b479fb26cad440d2736d5913?branch=f45

            Log:
            Enable Count Me support for Silverblue and IoT

Enable Count Me support by default for Silverblue and IoT. Users that
do not want to be counted can follow the instructions at:
https://coreos.github.io/rpm-ostree/countme/#disabling-dnf-count-me-on-a-system

---
diff --git a/fedora-release.spec b/fedora-release.spec
index 32796c6..809b8dc 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -98,6 +98,7 @@ Recommends:     fedora-release-identity-basic
 
 
 BuildRequires:  redhat-rpm-config > 121-1
+BuildRequires:  systemd-rpm-macros
 
 %description
 Fedora release files such as various /etc/ files that define the release
@@ -999,6 +1000,12 @@ install -Dm0644 %{SOURCE16} -t %{buildroot}%{_datadir}/glib-2.0/schemas/
 install -Dm0644 %{SOURCE17} -t %{buildroot}%{_datadir}/polkit-1/rules.d/
 %endif
 
+%if %{with silverblue} || %{with iot}
+# Pull Count Me timer for rpm-ostreed
+install -dm0755 %{buildroot}%{_unitdir}/rpm-ostreed.service.wants/
+ln -snf %{_unitdir}/rpm-ostree-countme.timer %{buildroot}%{_unitdir}/rpm-ostreed.service.wants/
+%endif
+
 %if %{with xfce}
 # Xfce
 cp -p os-release \
@@ -1152,6 +1159,7 @@ 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
 
 
@@ -1189,6 +1197,7 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
 %{_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
 
 
@@ -1229,6 +1238,9 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
 
 
 %changelog
+* Wed Mar 17 2021 Timothée Ravier <travier@redhat.com> - 35-0.4
+- Enable Count Me timer for Silverblue and IoT
+
 * Sat Feb 20 2021 Stephen Gallagher <sgallagh@redhat.com> - 35-0.3
 - Update rhel_dist_version to track RHEL 10
 

                 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=178635453242.1.4916574552247105844.rpms-fedora-release-f8a74ebd0802@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