|
 |
4ca36a5 |
# what it's called on pypi
|
|
 |
4ca36a5 |
%global srcname repomd
|
|
 |
4ca36a5 |
# what it's imported as
|
|
 |
4ca36a5 |
%global libname %{srcname}
|
|
 |
4ca36a5 |
# name of egg info directory
|
|
 |
4ca36a5 |
%global eggname %{srcname}
|
|
 |
4ca36a5 |
# package name fragment
|
|
 |
4ca36a5 |
%global pkgname %{srcname}
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
%global _description \
|
|
 |
4ca36a5 |
This library provides an object-oriented interface to get information out of\
|
|
 |
4ca36a5 |
dnf/yum repositories.
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
%bcond_without tests
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
Name: python-%{pkgname}
|
|
 |
514356c |
Version: 0.2.1
|
|
 |
89942fc |
Release: 13%{?dist}
|
|
 |
4ca36a5 |
Summary: Library for reading dnf/yum repositories
|
|
 |
4ca36a5 |
License: MIT
|
|
 |
4ca36a5 |
URL: https://github.com/carlwgeorge/repomd
|
|
 |
4ca36a5 |
Source0: %pypi_source
|
|
 |
4ca36a5 |
BuildArch: noarch
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
%description %{_description}
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
%package -n python3-%{pkgname}
|
|
 |
4ca36a5 |
Summary: %{summary}
|
|
 |
4ca36a5 |
BuildRequires: python3-devel
|
|
 |
4ca36a5 |
BuildRequires: python3-setuptools >= 38.6.0
|
|
 |
4ca36a5 |
%if %{with tests}
|
|
 |
4ca36a5 |
BuildRequires: python3-pytest
|
|
 |
3dec897 |
BuildRequires: python3-defusedxml
|
|
 |
4ca36a5 |
BuildRequires: python3-lxml
|
|
 |
4ca36a5 |
%endif
|
|
 |
3dec897 |
Requires: python3-defusedxml
|
|
 |
4ca36a5 |
Requires: python3-lxml
|
|
 |
4ca36a5 |
%{?python_provide:%python_provide python3-%{pkgname}}
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
%description -n python3-%{pkgname} %{_description}
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
%prep
|
|
 |
4ca36a5 |
%autosetup -n %{srcname}-%{version}
|
|
 |
4ca36a5 |
rm -r source/%{eggname}.egg-info setup.cfg
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
%build
|
|
 |
4ca36a5 |
%py3_build
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
%install
|
|
 |
4ca36a5 |
%py3_install
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
%if %{with tests}
|
|
 |
4ca36a5 |
%check
|
|
 |
4ca36a5 |
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} --verbose tests
|
|
 |
4ca36a5 |
%endif
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
%files -n python3-%{pkgname}
|
|
 |
4ca36a5 |
%license LICENSE
|
|
 |
4ca36a5 |
%doc README.md
|
|
 |
4ca36a5 |
%{python3_sitelib}/%{libname}.py
|
|
 |
4ca36a5 |
%{python3_sitelib}/__pycache__/%{libname}.cpython-%{python3_version_nodots}*.py*
|
|
 |
4ca36a5 |
%{python3_sitelib}/%{eggname}-%{version}-py%{python3_version}.egg-info
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
|
|
 |
4ca36a5 |
%changelog
|
|
 |
89942fc |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-13
|
|
 |
89942fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
89942fc |
|
|
 |
e3169e4 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-12
|
|
 |
e3169e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
e3169e4 |
|
|
 |
733d0eb |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.1-11
|
|
 |
733d0eb |
- Rebuilt for Python 3.11
|
|
 |
733d0eb |
|
|
 |
649cf47 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-10
|
|
 |
649cf47 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
649cf47 |
|
|
 |
663a536 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-9
|
|
 |
663a536 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
663a536 |
|
|
 |
95e8587 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.1-8
|
|
 |
95e8587 |
- Rebuilt for Python 3.10
|
|
 |
95e8587 |
|
|
 |
2e85e85 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-7
|
|
 |
2e85e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
2e85e85 |
|
|
 |
adec6ff |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-6
|
|
 |
adec6ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
adec6ff |
|
|
 |
d76496b |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-5
|
|
 |
d76496b |
- Rebuilt for Python 3.9
|
|
 |
d76496b |
|
|
 |
122e9da |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-4
|
|
 |
122e9da |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
122e9da |
|
|
 |
cdc2253 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-3
|
|
 |
cdc2253 |
- Rebuilt for Python 3.8
|
|
 |
cdc2253 |
|
|
 |
a6009c9 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
|
|
 |
a6009c9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
a6009c9 |
|
|
 |
514356c |
* Mon Mar 25 2019 Carl George <carl@george.computer> - 0.2.1-1
|
|
 |
514356c |
- Latest upstream
|
|
 |
514356c |
|
|
 |
3dec897 |
* Thu Mar 21 2019 Carl George <carl@george.computer> - 0.2.0-1
|
|
 |
3dec897 |
- Latest upstream
|
|
 |
3dec897 |
|
|
 |
bc46e97 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-2
|
|
 |
bc46e97 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
bc46e97 |
|
|
 |
4ca36a5 |
* Sat Oct 27 2018 Carl George <carl@george.computer> - 0.1.0-1
|
|
 |
4ca36a5 |
- Initial package
|