public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-flufl-bounce] epel10: Version 3.0
Date: Tue, 03 Nov 2026 18:29:04 GMT	[thread overview]
Message-ID: <179373054483.1.15924084728734410089.rpms-python-flufl-bounce-89524e60ffb9@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-flufl-bounce
            Branch : epel10
            Commit : 89524e60ffb9021dbc69f2334cb3936940684e9c
            Author : Aurélien Bompard <aurelien@bompard.org>
            Date   : 2017-09-28T17:34:28+02:00
            Stats  : +16/-41 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-flufl-bounce/c/89524e60ffb9021dbc69f2334cb3936940684e9c?branch=epel10

            Log:
            Version 3.0

Removed the Python2 subpackage as it is not supported upstream anymore.

---
diff --git a/.gitignore b/.gitignore
index d211b09..85f44d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /flufl.bounce-2.3.tar.gz
+/flufl.bounce-3.0.tar.gz

diff --git a/python-flufl-bounce.spec b/python-flufl-bounce.spec
index aae1c71..5563517 100644
--- a/python-flufl-bounce.spec
+++ b/python-flufl-bounce.spec
@@ -6,59 +6,40 @@ The flufl.bounce library provides a set of heuristics and an API for         \
 detecting the original bouncing email addresses from a bounce message.  Many \
 formats found in the wild are supported, as are VERP and RFC 3464 (DSN).
 
-# EPEL7 support: default Python is Python 2, and Python2 packages prefix
-# is unversioned.
-%if 0%{?rhel} && 0%{?rhel} <= 7
-%global py2_namespace python
-%else
-%global py2_namespace python2
-%endif
 
 Name:           python-%{pkgname}
-Version:        2.3
-Release:        5%{?dist}
+Version:        3.0
+Release:        1%{?dist}
 Summary:        %{summary}
 
-License:        LGPLv3+
+License:        ASL 2.0
 URL:            https://gitlab.com/warsaw/flufl.bounce
 Source0:        https://files.pythonhosted.org/packages/source/f/%{srcname}/%{srcname}-%{version}.tar.gz
 BuildArch:      noarch
 
-BuildRequires:  %{py2_namespace}-devel
-BuildRequires:  %{py2_namespace}-setuptools
-BuildRequires:  %{py2_namespace}-zope-interface
-BuildRequires:  python-enum34
-# Python3
 BuildRequires:  python-srpm-macros
 BuildRequires:  python%{python3_pkgversion}-devel
 BuildRequires:  python%{python3_pkgversion}-setuptools
 BuildRequires:  python%{python3_pkgversion}-zope-interface
+BuildRequires:  python%{python3_pkgversion}-atpublic
+BuildRequires:  python%{python3_pkgversion}-nose2
 %if 0%{?with_python3_other}
 BuildRequires:  python%{python3_other_pkgversion}-devel
 BuildRequires:  python%{python3_other_pkgversion}-setuptools
 BuildRequires:  python%{python3_other_pkgversion}-zope-interface
+BuildRequires:  python%{python3_other_pkgversion}-atpublic
+BuildRequires:  python%{python3_other_pkgversion}-nose2
 %endif
 
 %description %{_description}
 
 
-%if %{py2_namespace} != python
-%package -n %{py2_namespace}-%{pkgname}
-Summary:        %{summary}
-%{?python_provide:%python_provide %{py2_namespace}-%{pkgname}}
-Requires:       %{py2_namespace}-setuptools
-Requires:       %{py2_namespace}-zope-interface
-Requires:       python-enum34
-
-%description -n %{py2_namespace}-%{pkgname} %{_description}
-%endif
-
-
 %package -n python%{python3_pkgversion}-%{pkgname}
 Summary:        %{summary}
 %{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
 Requires:       python%{python3_pkgversion}-setuptools
 Requires:       python%{python3_pkgversion}-zope-interface
+Requires:       python%{python3_pkgversion}-atpublic
 
 %description -n python%{python3_pkgversion}-%{pkgname} %{_description}
 
@@ -69,6 +50,7 @@ Summary:        %{summary}
 %{?python_provide:%python_provide python%{python3_other_pkgversion}-%{pkgname}}
 Requires:       python%{python3_other_pkgversion}-setuptools
 Requires:       python%{python3_other_pkgversion}-zope-interface
+Requires:       python%{python3_other_pkgversion}-atpublic
 
 %description -n python%{python3_other_pkgversion}-%{pkgname} %{_description}
 %endif
@@ -79,7 +61,6 @@ Requires:       python%{python3_other_pkgversion}-zope-interface
 
 
 %build
-%py2_build
 %py3_build
 %if 0%{?with_python3_other}
 %py3_other_build
@@ -87,33 +68,23 @@ Requires:       python%{python3_other_pkgversion}-zope-interface
 
 
 %install
-%py2_install
 %py3_install
 %if 0%{?with_python3_other}
 %py3_other_install
 %endif
 
 # This will go in %%doc
-rm -rf %{buildroot}%{_prefix}/lib/python*/site-packages/flufl/bounce/{*.rst,docs,conf.py}
+rm -rf %{buildroot}%{_prefix}/lib*/python*/site-packages/flufl/bounce/{*.rst,docs,conf.py}
 
 
 %check
-%{__python2} setup.py test
 %{__python3} setup.py test
 %if 0%{?with_python3_other}
 %{__python3_other} setup.py test
 %endif
 
 
-%files -n %{py2_namespace}-%{pkgname}
-%license COPYING.LESSER
-%doc flufl/bounce/README.rst flufl/bounce/NEWS.rst flufl/bounce/docs/using.rst
-%{python2_sitelib}/flufl/
-%{python2_sitelib}/%{srcname}-%{version}*-py%{python2_version}.egg-info/
-%{python2_sitelib}/%{srcname}-%{version}*-py%{python2_version}-nspkg.pth
-
 %files -n python%{python3_pkgversion}-%{pkgname}
-%license COPYING.LESSER
 %doc flufl/bounce/README.rst flufl/bounce/NEWS.rst flufl/bounce/docs/using.rst
 %{python3_sitelib}/flufl/
 %{python3_sitelib}/%{srcname}-%{version}*-py%{python3_version}.egg-info/
@@ -121,7 +92,6 @@ rm -rf %{buildroot}%{_prefix}/lib/python*/site-packages/flufl/bounce/{*.rst,docs
 
 %if 0%{?with_python3_other}
 %files -n python%{python3_other_pkgversion}-%{pkgname}
-%license COPYING.LESSER
 %doc flufl/bounce/README.rst flufl/bounce/NEWS.rst flufl/bounce/docs/using.rst
 %{python3_other_sitelib}/flufl/
 %{python3_other_sitelib}/%{srcname}-%{version}*-py%{python3_other_version}.egg-info/
@@ -130,6 +100,10 @@ rm -rf %{buildroot}%{_prefix}/lib/python*/site-packages/flufl/bounce/{*.rst,docs
 
 
 %changelog
+* Thu Sep 28 2017 Aurelien Bompard <abompard@fedoraproject.org> - 3.0-1
+- version 3.0
+- removed the Python2 subpackage as it is not supported upstream anymore.
+
 * Wed Aug 02 2017 Aurelien Bompard <abompard@fedoraproject.org> - 2.3-5
 - Fix BuildRequires name
 

diff --git a/sources b/sources
index 1fc93ab..ef9a45f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6a782aa7a508e8126105411935249139  flufl.bounce-2.3.tar.gz
+SHA512 (flufl.bounce-3.0.tar.gz) = f6effe38c80e1e5e1119d7951a1a32bb9b91fc52db0887eee4ebb74e005ad5cf48351311985a3169649301efe9273d3fe480b3dded7eff3b77b73312d0416f45

                 reply	other threads:[~2026-11-03 18:29 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=179373054483.1.15924084728734410089.rpms-python-flufl-bounce-89524e60ffb9@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