Compare commits

..

11 commits

Author SHA1 Message Date
Packit
22d0c59500 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:12 +00:00
Packit
f8174d22b8 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:05:08 +00:00
Packit
f136ea152e [packit] 0.2.7 upstream release
Upstream tag: v0.2.7
Upstream commit: 60ac886e
2024-01-26 15:11:41 +00:00
Packit
c256a1376a [packit] 0.2.6 upstream release
Upstream tag: v0.2.6
Upstream commit: a75d1f73
2023-12-20 13:43:47 +00:00
Packit
ce5bf4ad6a [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-epel8-update-propose_downstream
```
2023-09-11 08:49:57 +00:00
Packit
16aaa1d3e9 [packit] 0.2.4 upstream release
Upstream tag: v0.2.4
Upstream commit: 1145a687
2023-07-05 10:30:38 +00:00
Jan Rodak
02edf8a1b4 Add script for generation of arf files for integration test 2023-04-14 15:15:05 +02:00
Jan Rodak
e689a2aa8e Remove test dir 2023-04-14 15:14:36 +02:00
Packit
17ae9019d6 [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:07 +00:00
Jan Rodak
29a484dd01 Merge branch 'rawhide' into epel8 2023-03-28 17:07:28 +02:00
Jan Rodak
ed4511673e Adapt the spec file for EPEL 8 2023-03-28 13:36:12 +02:00

View file

@ -2,7 +2,7 @@
Name: openscap-report
Version: 1.0.0
Release: 6%{?dist}
Release: 1%{?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,91 +11,60 @@ 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-pytest
BuildRequires: python3-rpm-macros
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
%pyproject_wheel
%py3_build
sphinx-build -b man docs _build_docs
%install
%pyproject_install
%pyproject_save_files %{pymodule_name}
%py3_install
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 -f %{pyproject_files}
%files -n %{name}
%{_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)
@ -117,12 +86,6 @@ 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ý)
@ -168,12 +131,6 @@ 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)
@ -207,9 +164,6 @@ 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)