public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/flatpak-runtime-config] f45: Remove Python 2 support
@ 2026-09-10 21:21 Kalev Lember
  0 siblings, 0 replies; only message in thread
From: Kalev Lember @ 2026-09-10 21:21 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/flatpak-runtime-config
            Branch : f45
            Commit : 54fb203609dca11690a4223bdbccef05e250e8d1
            Author : Kalev Lember <klember@redhat.com>
            Date   : 2020-03-06T12:27:37+01:00
            Stats  : +6/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/flatpak-runtime-config/c/54fb203609dca11690a4223bdbccef05e250e8d1?branch=f45

            Log:
            Remove Python 2 support

https://bugzilla.redhat.com/show_bug.cgi?id=1801932

---
diff --git a/flatpak-runtime-config.spec b/flatpak-runtime-config.spec
index 32f30d4..56d88c2 100644
--- a/flatpak-runtime-config.spec
+++ b/flatpak-runtime-config.spec
@@ -1,14 +1,12 @@
 Name:           flatpak-runtime-config
-Version:        30
-Release:        3%{?dist}
+Version:        32
+Release:        1%{?dist}
 Summary:        Configuration files that live inside the flatpak runtime
 Source1:        50-flatpak.conf
 Source2:        usercustomize.py
 
 License:        MIT
 
-BuildRequires:  python2
-BuildRequires:  python2-rpm-macros
 BuildRequires:  python3
 BuildRequires:  python3-rpm-macros
 
@@ -31,7 +29,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
 install -t $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d -p -m 0644 %{SOURCE1}
 
 # usercustomize.py to set up Python paths
-for d in %{python2_sitelib} %{python3_sitelib} ; do
+for d in %{python3_sitelib} ; do
     mkdir -p $RPM_BUILD_ROOT/$d
     install -t $RPM_BUILD_ROOT/$d -m 0644 %{SOURCE2}
 done
@@ -64,12 +62,14 @@ HOME=/root /usr/bin/fc-cache -s
 %files
 %dir %{_prefix}/cache
 %dir %{_prefix}/cache/fontconfig
-%{python2_sitelib}
 %{python3_sitelib}
 %{_sysconfdir}/fonts/conf.d/*
 %{_sysconfdir}/ld.so.conf.d/app.conf
 
 %changelog
+* Fri Mar 06 2020 Kalev Lember <klember@redhat.com> - 32-1
+- Remove Python 2 support (#1801932)
+
 * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 30-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-09-10 21:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 21:21 [rpms/flatpak-runtime-config] f45: Remove Python 2 support Kalev Lember

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