Compare commits

..

22 commits

Author SHA1 Message Date
Python Maint
622553b611 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:34:48 +02:00
Python Maint
b22058781d Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 13:04:07 +02:00
Fedora Release Engineering
b69db95272 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 23:39:37 +00:00
Python Maint
22f5bcd187 Rebuilt for Python 3.14 2025-06-04 21:29:43 +02:00
Fedora Release Engineering
de5a49c95a Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 21:49:00 +00:00
Packit
8c5320ed1a Update to 1.0.0 upstream release
Upstream tag: v1.0.0
Upstream commit: 4fed3a2e

Commit authored by Packit automation (https://packit.dev/)
2024-10-04 10:06:13 +00:00
Fedora Release Engineering
76fa7a23e5 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 20:58:56 +00:00
Python Maint
890abe5f4e Rebuilt for Python 3.13 2024-06-08 11:35:33 +02:00
Packit
d71a523f0d Update to 0.2.9 upstream release
Upstream tag: v0.2.9
Upstream commit: be59973d

Commit authored by Packit automation (https://packit.dev/)
2024-04-23 13:07:05 +00:00
Yaakov Selkowitz
39e924bdb7 Avoid coverage and tox dependencies
The Fedora Python packaging guidelines exclude coverage checks as used
in this package's tox.ini:

https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters

Furthermore, RHEL does not include tox, but even in Fedora it does not
add much value relative to its dependencies.  Calling %pytest directly
is simpler and more conformant.

https://github.com/OpenSCAP/openscap-report/pull/225
2024-01-29 16:34:41 -05:00
Packit
dbeff4dda3 [packit] 0.2.7 upstream release
Upstream tag: v0.2.7
Upstream commit: 60ac886e
2024-01-26 15:11:05 +00:00
Fedora Release Engineering
7dfb1aa0e6 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 11:28:21 +00:00
Fedora Release Engineering
338c76c1bc Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 11:20:13 +00:00
Packit
b011fd5356 [packit] 0.2.6 upstream release
Upstream tag: v0.2.6
Upstream commit: a75d1f73
2023-12-20 13:32:26 +00:00
Packit
0478061f62 [packit] 0.2.5 upstream release
Upstream tag: v0.2.5
Upstream commit: 961a0636

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/openscap-report.git refs/heads/*:refs/remotes/packit/*
git checkout packit/0.2.5-rawhide-update-propose_downstream
```
2023-09-11 08:50:00 +00:00
Fedora Release Engineering
f4a0b1cf97 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 18:10:38 +00:00
Python Maint
1b0b99ce3f Rebuilt for Python 3.12 2023-07-05 14:38:14 +02:00
Packit
ca54a67abc [packit] 0.2.4 upstream release
Upstream tag: v0.2.4
Upstream commit: 1145a687
2023-07-05 10:30:36 +00:00
Python Maint
3f9683e721 Rebuilt for Python 3.12 2023-06-15 12:51:44 +02:00
Jan Rodak
3f3367e781 Add script for generation of arf files for integration test 2023-04-14 13:59:44 +02:00
Packit
1cd0141169 [packit] 0.2.3 upstream release
Upstream tag: v0.2.3
Upstream commit: 98984c9b

Signed-off-by: Packit <hello@packit.dev>
2023-04-14 09:27:08 +00:00
Jan Rodak
d5da63f247 Remove test dir 2023-04-13 15:33:49 +02:00

View file

@ -2,7 +2,7 @@
Name: openscap-report
Version: 1.0.0
Release: 1%{?dist}
Release: 6%{?dist}
Summary: A tool for generating human-readable reports from (SCAP) XCCDF and ARF results
# The entire source code is LGPL-2.1+ and GPL-2.0+ and MIT except schemas/ and assets/, which are Public Domain
@ -11,60 +11,91 @@ URL: https://github.com/OpenSCAP/%{name}
Source0: https://github.com/OpenSCAP/%{name}/releases/download/v%{version}/%{pymodule_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-rpm-macros
BuildRequires: python3-pytest
BuildRequires: python3-sphinx
BuildRequires: python3-sphinx_rtd_theme
Provides: bundled(patternfly) = 4
Requires: python3-lxml
Requires: python3-jinja2
Recommends: redhat-display-fonts
Recommends: redhat-text-fonts
Obsoletes: oval-graph
%{?python_enable_dependency_generator}
%global _description %{expand:
This package provides a command-line tool for generating
human-readable reports from SCAP XCCDF and ARF results.}
%description %_description
%prep
%autosetup -p1 -n %{pymodule_name}-%{version}
%generate_buildrequires
%pyproject_buildrequires
# test requirement listed only in tox.ini
echo "%{py3_dist jsonschema}"
%build
%py3_build
%pyproject_wheel
sphinx-build -b man docs _build_docs
%install
%py3_install
%pyproject_install
%pyproject_save_files %{pymodule_name}
install -m 0644 -Dt %{buildroot}%{_mandir}/man1 _build_docs/oscap-report.1
%check
# test_store_file fails with FileNotFoundError: [Errno 2] No such file or directory: '/tmp/oscap-report-tests_result.html'
%pytest -k "not test_store_file"
%files -n %{name}
%files -f %{pyproject_files}
%{_mandir}/man1/oscap-report.*
%{_bindir}/oscap-report
%{python3_sitelib}/%{pymodule_name}/
%{python3_sitelib}/%{pymodule_name}-%{version}*
%exclude %{python3_sitelib}/tests/
%license LICENSE
%changelog
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.0.0-6
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.0.0-5
- Rebuilt for Python 3.14.0rc2 bytecode
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Wed Jun 04 2025 Python Maint <python-maint@redhat.com> - 1.0.0-3
- Rebuilt for Python 3.14
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Oct 04 2024 Packit <hello@packit.dev> - 1.0.0-1
- Update to version 1.0.0
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 0.2.9-2
- Rebuilt for Python 3.13
* Tue Apr 23 2024 Packit <hello@packit.dev> - 0.2.9-1
- Update to version 0.2.9
* Mon Jan 29 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 0.2.7-2
- Avoid tox dependency
* Fri Jan 26 2024 Packit <hello@packit.dev> - 0.2.7-1
- 0.2.7 (Jan Rodak)
- Add tool tip to search bar (Jan Rodak)
@ -86,6 +117,12 @@ install -m 0644 -Dt %{buildroot}%{_mandir}/man1 _build_docs/oscap-report.1
- Add target addresses to model (Jan Rodak)
- Fix width of pre element (Jan Rodak)
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Dec 20 2023 Packit <hello@packit.dev> - 0.2.6-1
- 0.2.6 (Jan Rodak)
- Extend the condition to account empty strings in href (Jan Černý)
@ -131,6 +168,12 @@ install -m 0644 -Dt %{buildroot}%{_mandir}/man1 _build_docs/oscap-report.1
- Add explanation of score computation (Jan Rodak)
- Parse system attribute from score element (Jan Rodak)
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jul 05 2023 Python Maint <python-maint@redhat.com> - 0.2.4-2
- Rebuilt for Python 3.12
* Wed Jul 05 2023 Packit <hello@packit.dev> - 0.2.4-1
- 0.2.4 (Jan Rodak)
- Rename field Result explained to Class explained (Jan Rodak)
@ -164,6 +207,9 @@ install -m 0644 -Dt %{buildroot}%{_mandir}/man1 _build_docs/oscap-report.1
- Sync generate_arf.sh (Jan Rodak)
- Remove execution of integration test on push to main (Jan Rodak)
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 0.2.3-2
- Rebuilt for Python 3.12
* Fri Apr 14 2023 Packit <hello@packit.dev> - 0.2.3-1
- 0.2.3 (Jan Rodak)
- Determine which product use (Jan Rodak)