Blame python-check-manifest.spec

79fb332
%global pypi_name check-manifest
79fb332
79fb332
Name:           python-%{pypi_name}
a0e432d
Version:        0.48
62ff383
Release:        4%{?dist}
79fb332
Summary:        Check MANIFEST.in in a Python source package
79fb332
79fb332
License:        MIT
79fb332
URL:            https://github.com/mgedmin/check-manifest
b3a2856
Source0:        %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
79fb332
BuildArch:      noarch
79fb332
79fb332
BuildRequires:  git-core
79fb332
BuildRequires:  gpg
79fb332
79fb332
%description
79fb332
Check MANIFEST.in in a Python source package for completeness to avoid the
79fb332
upload of broken packages.
79fb332
79fb332
%package -n     python3-%{pypi_name}
79fb332
Summary:        %{summary}
79fb332
79fb332
BuildRequires:  python3-devel
79fb332
BuildRequires:  python3-mock
79fb332
BuildRequires:  python3-setuptools
79fb332
BuildRequires:  python3-toml
79fb332
BuildRequires:  python3-mock
79fb332
BuildRequires:  python3-pytest
3c7e947
BuildRequires:  python3-pep517
96a1018
BuildRequires:  python3-wheel
79fb332
%{?python_provide:%python_provide python3-%{pypi_name}}
79fb332
 
79fb332
%description -n python3-%{pypi_name}
79fb332
Check MANIFEST.in in a Python source package for completeness to avoid the
79fb332
upload of broken packages.
79fb332
79fb332
%package -n     %{pypi_name}
79fb332
Summary:        CLI tool to check MANIFEST.in files
79fb332
79fb332
Requires:       python3-%{pypi_name} = %{?epoch:%{epoch}:}%{version}-%{release}
79fb332
79fb332
%description -n %{pypi_name}
79fb332
Command-line tool to check MANIFEST.in files.
79fb332
79fb332
%prep
79fb332
%autosetup -n %{pypi_name}-%{version}
79fb332
rm -rf %{pypi_name}.egg-info
79fb332
sed -i -e '/^#!\//, 1d' check_manifest.py
79fb332
79fb332
%build
79fb332
%py3_build
79fb332
79fb332
%install
79fb332
%py3_install
79fb332
79fb332
%check
9c7514d
%pytest -v tests.py -k "not vcs and not git and not sdist"
79fb332
79fb332
%files -n python3-%{pypi_name}
79fb332
%license LICENSE.rst
79fb332
%doc README.rst CHANGES.rst
79fb332
%{python3_sitelib}/__pycache__/*
79fb332
%{python3_sitelib}/check_manifest.py
79fb332
%{python3_sitelib}/check_manifest-%{version}-py*.egg-info
79fb332
79fb332
%files -n %{pypi_name}
79fb332
%{_bindir}/check-manifest
79fb332
79fb332
%changelog
62ff383
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.48-4
62ff383
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
62ff383
d53bb79
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.48-3
d53bb79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
d53bb79
c1298a6
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.48-2
c1298a6
- Rebuilt for Python 3.11
c1298a6
a0e432d
* Fri Mar 25 2022 Fabian Affolter <mail@fabian-affolter.ch> - 0.48-1
a0e432d
- Update to latest upstream release 0.48 (closes rhbz#2063514)
a0e432d
0086034
* Wed Feb 23 2022 Fabian Affolter <mail@fabian-affolter.ch> - 0.47-1
0086034
- Update to latest upstream release 0.47 (closes rhbz#1893382)
0086034
3d531ac
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.45-5
3d531ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
3d531ac
3a788ac
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.45-4
3a788ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3a788ac
b4e0d1e
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.45-3
b4e0d1e
- Rebuilt for Python 3.10
b4e0d1e
6ec9cfc
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.45-2
6ec9cfc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6ec9cfc
a088755
* Sun Dec 06 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.45-1
a088755
- Update to latest upstream release 0.45 (#1893382)
a088755
602c781
* Wed Oct 14 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.44-1
602c781
- Update to latest upstream release 0.44 (#1884888)
602c781
e3db28d
* Thu Sep 24 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.43-1
e3db28d
- Update to latest upstream release 0.43 (#1881152)
e3db28d
104d59d
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.42-3
104d59d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
104d59d
c08e56b
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.42-2
c08e56b
- Rebuilt for Python 3.9
c08e56b
ad68da7
* Sun May 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.42-1
ad68da7
- Update to latest upstream release 0.42 (rhbz#1830740)
ad68da7
b3a2856
* Sat Apr 18 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.41-1
b3a2856
- Fix build issue (rhbz#1818596)
b3a2856
- Update to latest upstream release 0.41
b3a2856
ff369d4
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.40-3
ff369d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ff369d4
79fb332
* Tue Jan 21 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.40-2
79fb332
- Adjust BR (rhbz#1790080)
79fb332
79fb332
* Wed Jan 08 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.40-1
79fb332
- Initial package for Fedora