596ea53
%global srcname sievelib
596ea53
596ea53
Name:           python-%{srcname}
9e260c1
Version:        1.4.0
9e260c1
Release:        1%{?dist}
Juan Orti Alcaine eb2dbdc
Summary:        Client-side SIEVE library
Juan Orti Alcaine eb2dbdc
License:        MIT
Juan Orti Alcaine eb2dbdc
URL:            https://github.com/tonioo/sievelib
b69daf3
Source0:        %{pypi_source}
Juan Orti Alcaine eb2dbdc
BuildArch:      noarch
ebcc2f6
BuildRequires:  python3-devel
5cdd74f
BuildRequires:  python3-nose
9e260c1
9e260c1
%global _description %{expand:
9e260c1
Client-side Sieve and Managesieve library written in Python.
9e260c1
* Sieve : An Email Filtering Language (RFC 5228).
9e260c1
* ManageSieve : A Protocol for Remotely Managing Sieve Scripts (RFC 5804).}
Juan Orti Alcaine eb2dbdc
596ea53
%description %_description
Juan Orti Alcaine eb2dbdc
596ea53
%package -n python3-%{srcname}
596ea53
Summary:        %{summary}
ebcc2f6
9e260c1
%description -n python3-%{srcname} %_description
Juan Orti Alcaine eb2dbdc
Juan Orti Alcaine eb2dbdc
%prep
b69daf3
%autosetup -n %{srcname}-%{version}
Juan Orti Alcaine eb2dbdc
# remove bundled egg-info
596ea53
rm -rf %{srcname}.egg-info
Juan Orti Alcaine eb2dbdc
9e260c1
%generate_buildrequires
9e260c1
%pyproject_buildrequires
9e260c1
Juan Orti Alcaine eb2dbdc
%build
9e260c1
%pyproject_wheel
Juan Orti Alcaine eb2dbdc
Juan Orti Alcaine eb2dbdc
%install
9e260c1
%pyproject_install
9e260c1
%pyproject_save_files -l sievelib
Juan Orti Alcaine eb2dbdc
5cdd74f
%check
5cdd74f
nosetests-%{python3_version}
5cdd74f
9e260c1
%files -n python3-%{srcname} -f %{pyproject_files}
ebcc2f6
%doc README.rst
ebcc2f6
%license COPYING
ebcc2f6
Juan Orti Alcaine eb2dbdc
%changelog
9e260c1
* Sat May 04 2024 Juan Orti Alcaine <jortialc@redhat.com> - 1.4.0-1
9e260c1
- Version 1.4.0 (RHBZ#2272060)
9e260c1
7a52733
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-12
7a52733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
7a52733
f7ea2d0
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-11
f7ea2d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
f7ea2d0
7142fe7
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-10
7142fe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
7142fe7
3c5e039
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 1.2.1-9
3c5e039
- Rebuilt for Python 3.12
3c5e039
2a26537
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-8
2a26537
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2a26537
79392ce
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-7
79392ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
79392ce
cf44a2f
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.2.1-6
cf44a2f
- Rebuilt for Python 3.11
cf44a2f
f06b596
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-5
f06b596
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
f06b596
cd73fdb
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
cd73fdb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
cd73fdb
c15c5b9
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.1-3
c15c5b9
- Rebuilt for Python 3.10
c15c5b9
0ad40dd
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
0ad40dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0ad40dd
cc713b6
* Mon Dec 07 2020 Juan Orti Alcaine <jortialc@redhat.com> - 1.2.1-1
cc713b6
- Version 1.2.1 (#1904992)
cc713b6
b69daf3
* Tue Nov 17 2020 Juan Orti Alcaine <jortialc@redhat.com> - 1.2.0-1
b69daf3
- Version 1.2.0 (#1890926)
b69daf3
dece820
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-12
dece820
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
dece820
75044cc
* Tue Jun 16 2020 Charalampos Stratakis <cstratak@redhat.com> - 1.1.1-11
75044cc
- Fix build with pip >= 20.1 (#1838484)
75044cc
0661a9f
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-10
0661a9f
- Rebuilt for Python 3.9
0661a9f
c1c683a
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-9
c1c683a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c1c683a
d28af9d
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-8
d28af9d
- Rebuilt for Python 3.8.0rc1 (#1748018)
d28af9d
51e9b4a
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-7
51e9b4a
- Rebuilt for Python 3.8
51e9b4a
919a8eb
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-6
919a8eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
919a8eb
a386cd8
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-5
a386cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a386cd8
4613988
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.1-4
4613988
- Python2 binary package has been removed
4613988
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
4613988
22e915f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
22e915f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
22e915f
32cc32e
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-2
32cc32e
- Rebuilt for Python 3.7
32cc32e
1120267
* Tue Mar 13 2018 Juan Orti Alcaine <jorti@fedoraproject.org> - 1.1.1-1
1120267
- Version 1.1.1
1120267
- Github's tarball doesn't build, use Pypi instead.
1120267
04008f5
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
04008f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
04008f5
596ea53
* Tue Nov 21 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 1.0.0-1
596ea53
- Version 1.0.0
596ea53
2e05b0e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-9
2e05b0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2e05b0e
2c4a289
* Sat Jul 01 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 0.9.2-8
2c4a289
- Python3 changes
2c4a289
8c35e4c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-7
8c35e4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8c35e4c
e3906ba
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-6
e3906ba
- Rebuild for Python 3.6
e3906ba
fc25bcd
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-5
fc25bcd
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
fc25bcd
0b72c75
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-4
0b72c75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0b72c75
68d546e
* Mon Nov 16 2015 Juan Orti Alcaine <jorti@fedoraproject.org> - 0.9.2-3
68d546e
- Use python_provide macro
68d546e
c324936
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
c324936
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
c324936
5cdd74f
* Wed Oct 21 2015 Juan Orti Alcaine <jorti@fedoraproject.org> - 0.9.2-1
5cdd74f
- New version 0.9.2
5cdd74f
ebcc2f6
* Mon Jun 29 2015 Juan Orti Alcaine <jorti@fedoraproject.org> - 0.8-5.20150629gite34fb54
ebcc2f6
- Add python3 subpackage
ebcc2f6
1fc2f0f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-4
1fc2f0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1fc2f0f
Juan Orti Alcaine f3ba56a
* Thu Apr 09 2015 Juan Orti Alcaine <jorti@fedoraproject.org> - 0.8-3
Juan Orti Alcaine f3ba56a
- Use license macro
Juan Orti Alcaine f3ba56a
Juan Orti Alcaine eb2dbdc
* Wed Dec 03 2014 Juan Orti <jorti@fedoraproject.org> - 0.8-2
Juan Orti Alcaine eb2dbdc
- Remove python shebang from libraries
Juan Orti Alcaine eb2dbdc
- Change URL to GitHub
Juan Orti Alcaine eb2dbdc
- Include license file
Juan Orti Alcaine eb2dbdc
Juan Orti Alcaine eb2dbdc
* Tue Dec 02 2014 Juan Orti <jorti@fedoraproject.org> - 0.8-1
Juan Orti Alcaine eb2dbdc
- Spec file cleanup
Juan Orti Alcaine eb2dbdc
Juan Orti Alcaine eb2dbdc
* Sat May 24 2014 Didier Fabert <didier.fabert@gmail.com> 0.0.4-1
Juan Orti Alcaine eb2dbdc
- Initial RPM release