public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-translationstring] epel10: Subpackage python2-translationstring has been removed
@ 2026-07-08 22:59
0 siblings, 0 replies; only message in thread
From: @ 2026-07-08 22:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-translationstring
Branch : epel10
Commit : bd021d0afa9e13107b3e923a2e06bd08c1315965
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2019-08-30T11:39:33+02:00
Stats : +5/-39 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-translationstring/c/bd021d0afa9e13107b3e923a2e06bd08c1315965?branch=epel10
Log:
Subpackage python2-translationstring has been removed
---
diff --git a/python-translationstring.spec b/python-translationstring.spec
index bec5017..650c849 100644
--- a/python-translationstring.spec
+++ b/python-translationstring.spec
@@ -1,14 +1,8 @@
-%if 0%{?rhel} && 0%{?rhel} <= 7
-%bcond_with python3
-%else
-%bcond_without python3
-%endif
-
%global modname translationstring
Name: python-%{modname}
Version: 1.3
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: Library used for internationalization (i18n) duties related to translation
License: BSD
@@ -29,17 +23,6 @@ work best when provided with an instance of the babel.support.Translations class
%description %{_description}
-%package -n python2-%{modname}
-Summary: %{summary}
-%{?python_provide:%python_provide python2-%{modname}}
-BuildRequires: python2-devel
-BuildRequires: python2-setuptools
-
-%description -n python2-%{modname} %{_description}
-
-Python 2 version.
-
-%if %{with python3}
%package -n python3-%{modname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{modname}}
@@ -49,47 +32,30 @@ BuildRequires: python3-setuptools
%description -n python3-%{modname} %{_description}
Python 3 version.
-%endif
%prep
%setup -q -n %{modname}-%{version}
%build
-%py2_build
-
-%if %{with python3}
%py3_build
-%endif
%install
-%py2_install
-
-%if %{with python3}
%py3_install
-%endif
%check
-%{__python2} setup.py test
-
-%if 0%{?with_python3}
%{__python3} setup.py test
-%endif
-
-%files -n python2-%{modname}
-%license LICENSE.txt
-%doc README.rst changes.rst
-%{python2_sitelib}/%{modname}/
-%{python2_sitelib}/%{modname}-*.egg-info/
-%if 0%{?with_python3}
%files -n python3-%{modname}
%license LICENSE.txt
%doc README.rst changes.rst
%{python3_sitelib}/%{modname}/
%{python3_sitelib}/%{modname}-*.egg-info/
-%endif
%changelog
+* Fri Aug 30 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3-12
+- Subpackage python2-translationstring has been removed
+ See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
+
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3-11
- Rebuilt for Python 3.8
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-08 22:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-08 22:59 [rpms/python-translationstring] epel10: Subpackage python2-translationstring has been removed
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox