public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-translationstring] epel10: Subpackage python2-translationstring has been removed
Date: Wed, 08 Jul 2026 22:59:49 GMT	[thread overview]
Message-ID: <178355158989.1.8327728234942987438.rpms-python-translationstring-bd021d0afa9e@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-07-08 22:59 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=178355158989.1.8327728234942987438.rpms-python-translationstring-bd021d0afa9e@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