Blame python-advisory-parser.spec

09177b0
%global pypi_name advisory-parser
09177b0
09177b0
Name:           python-%{pypi_name}
09177b0
Version:        1.10
a6d63d0
Release:        12%{?dist}
09177b0
Summary:        Security flaw parser for upstream security advisories
09177b0
09177b0
License:        LGPLv3+
09177b0
URL:            https://github.com/mprpic/advisory-parser
09177b0
Source0:        %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
09177b0
BuildArch:      noarch
09177b0
09177b0
%description
09177b0
This library allows you to parse data from security advisories of certain
09177b0
projects to extract information about security issues. The parsed information
09177b0
includes metadata such as impact, CVSS score, summary, description, and
09177b0
others; for a full list, see the advisory_parser/flaw.py file.
09177b0
09177b0
%package -n     python3-%{pypi_name}
09177b0
Summary:        %{summary}
09177b0
09177b0
BuildRequires:  python3-devel
09177b0
BuildRequires:  python3-beautifulsoup4
09177b0
BuildRequires:  python3-setuptools
09177b0
BuildRequires:  python3-pytest
09177b0
%{?python_provide:%python_provide python3-%{pypi_name}}
09177b0
09177b0
%description -n python3-%{pypi_name}
09177b0
This library allows you to parse data from security advisories of certain
09177b0
projects to extract information about security issues. The parsed information
09177b0
includes metadata such as impact, CVSS score, summary, description, and
09177b0
others; for a full list, see the advisory_parser/flaw.py file.
09177b0
09177b0
%prep
09177b0
%autosetup -n %{pypi_name}-%{version}
09177b0
rm -rf %{pypi_name}.egg-info
09177b0
09177b0
%build
09177b0
%py3_build
09177b0
09177b0
%install
09177b0
%py3_install
09177b0
09177b0
%check
09177b0
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests
09177b0
09177b0
%files -n python3-%{pypi_name}
09177b0
%license LICENSE COPYRIGHT
09177b0
%doc README.rst
09177b0
%{python3_sitelib}/advisory_parser
09177b0
%{python3_sitelib}/advisory_parser-%{version}-py%{python3_version}.egg-info
09177b0
09177b0
%changelog
a6d63d0
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-12
a6d63d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
a6d63d0
5d91a72
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-11
5d91a72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
5d91a72
72d0e4a
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-10
72d0e4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
72d0e4a
52859c4
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.10-9
52859c4
- Rebuilt for Python 3.12
52859c4
e3b7577
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-8
e3b7577
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
e3b7577
1eb781b
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-7
1eb781b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
1eb781b
c53a173
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.10-6
c53a173
- Rebuilt for Python 3.11
c53a173
671e580
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-5
671e580
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
671e580
2834bec
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-4
2834bec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2834bec
025d52c
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.10-3
025d52c
- Rebuilt for Python 3.10
025d52c
0541a60
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-2
0541a60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0541a60
09177b0
* Tue Jul 14 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.10-1
09177b0
- Initial package for Fedora