Blame python-flufl-testing.spec

9f60a5e
%global srcname flufl.testing
9f60a5e
%global pkgname flufl-testing
9f60a5e
%global summary Small collection of test tool plugins
9f60a5e
%global _description \
9f60a5e
This package contains a small collection of test helpers that Barry Warsaw \
9f60a5e
uses in almost all his packages. Specifically, plugins for the following \
9f60a5e
test tools are provided:  \
9f60a5e
- nose2   \
9f60a5e
- flake8  \
9f60a5e
Python 3.4 is the minimum supported version.
9f60a5e
9f60a5e
9f60a5e
Name:           python-%{pkgname}
e5ad686
Version:        0.8
ac21195
Release:        4%{?dist}
9f60a5e
Summary:        %{summary}
9f60a5e
9f60a5e
License:        ASL 2.0
9f60a5e
URL:            https://gitlab.com/warsaw/flufl.testing
9f60a5e
Source0:        https://files.pythonhosted.org/packages/source/f/%{srcname}/%{srcname}-%{version}.tar.gz
9f60a5e
BuildArch:      noarch
9f60a5e
96caf7a
BuildRequires:  python-srpm-macros
9f60a5e
BuildRequires:  python%{python3_pkgversion}-devel >= 3.4
9f60a5e
BuildRequires:  python%{python3_pkgversion}-setuptools
9f60a5e
%if 0%{?with_python3_other}
9f60a5e
BuildRequires:  python%{python3_other_pkgversion}-devel >= 3.4
9f60a5e
BuildRequires:  python%{python3_other_pkgversion}-setuptools
9f60a5e
%endif
9f60a5e
9f60a5e
%description %{_description}
9f60a5e
9f60a5e
9f60a5e
%package -n python%{python3_pkgversion}-%{pkgname}
9f60a5e
Summary:        %{summary}
9f60a5e
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
9f60a5e
9f60a5e
%description -n python%{python3_pkgversion}-%{pkgname} %{_description}
9f60a5e
9f60a5e
9f60a5e
%if 0%{?with_python3_other}
9f60a5e
%package -n python%{python3_other_pkgversion}-%{pkgname}
9f60a5e
Summary:        %{summary}
9f60a5e
%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{pkgname}}
9f60a5e
9f60a5e
%description -n python%{python3_other_pkgversion}-%{pkgname} %{_description}
9f60a5e
%endif
9f60a5e
9f60a5e
9f60a5e
%prep
9f60a5e
%autosetup -n %{srcname}-%{version}
9f60a5e
9f60a5e
9f60a5e
%build
9f60a5e
%py3_build
9f60a5e
%if 0%{?with_python3_other}
9f60a5e
%py3_other_build
9f60a5e
%endif
9f60a5e
9f60a5e
9f60a5e
%install
9f60a5e
%py3_install
9f60a5e
%if 0%{?with_python3_other}
9f60a5e
%py3_other_install
9f60a5e
%endif
9f60a5e
9f60a5e
9f60a5e
%files -n python%{python3_pkgversion}-%{pkgname}
9f60a5e
%doc README.rst NEWS.rst
9f60a5e
%{python3_sitelib}/flufl/
9f60a5e
%{python3_sitelib}/%{srcname}-%{version}*-py%{python3_version}.egg-info/
fa8f5fb
%{python3_sitelib}/%{srcname}-%{version}*-py%{python3_version}-nspkg.pth
9f60a5e
9f60a5e
%if 0%{?with_python3_other}
9f60a5e
%files -n python%{python3_other_pkgversion}-%{pkgname}
9f60a5e
%doc README.rst NEWS.rst
9f60a5e
%{python3_other_sitelib}/flufl/
9f60a5e
%{python3_other_sitelib}/%{srcname}-%{version}*-py%{python3_other_version}.egg-info/
fa8f5fb
%{python3_other_sitelib}/%{srcname}-%{version}*-py%{python3_version}-nspkg.pth
9f60a5e
%endif
9f60a5e
9f60a5e
9f60a5e
%changelog
ac21195
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-4
ac21195
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ac21195
2419dd8
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.8-3
2419dd8
- Rebuilt for Python 3.9
2419dd8
edf01e0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
edf01e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
edf01e0
e5ad686
* Mon Sep 30 2019 Aurelien Bompard <abompard@fedoraproject.org> - 0.8-1
e5ad686
- Version 0.8
e5ad686
8731fca
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4-11
8731fca
- Rebuilt for Python 3.8
8731fca
dcc9e19
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-10
dcc9e19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
dcc9e19
14b65ee
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-9
14b65ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
14b65ee
aeef11b
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-8
aeef11b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
aeef11b
211da90
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4-7
211da90
- Rebuilt for Python 3.7
211da90
d775a2b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-6
d775a2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d775a2b
96caf7a
* Wed Aug 02 2017 Aurelien Bompard <abompard@fedoraproject.org> - 0.4-5
96caf7a
- Fix BuildRequires name
96caf7a
29b0ffa
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-4
29b0ffa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
29b0ffa
829edf9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-3
829edf9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
829edf9
a6a84b0
* Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 0.4-2
a6a84b0
- Rebuild for Python 3.6
a6a84b0
9f60a5e
* Thu Dec 01 2016 Aurelien Bompard <abompard@fedoraproject.org> - 0.4-1
9f60a5e
- Initial package.