diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..0a80fdce31f59c062e2abba28776e9521eddff30 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..447a0a393bf809ab8c400c2fd2156fa60bb98adc --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/src-openEuler/openscap diff --git a/1.4.1.tar.gz b/1.4.1.tar.gz index 933e64d96bebbfc7cc1069f29decf672821d68c4..2e0f5d066637d6d2acb87530d1f09f3f13a4e66a 100644 Binary files a/1.4.1.tar.gz and b/1.4.1.tar.gz differ diff --git a/openscap.spec b/openscap.spec index 12de0870eb0845722432b19e068944e5f629918b..9d37e55beacc13447a4d0c2b0aa3d3ea9fd7072d 100644 --- a/openscap.spec +++ b/openscap.spec @@ -2,7 +2,7 @@ Name: openscap Version: 1.4.1 -Release: 1 +Release: 2 Summary: An open source framework in order to provide a interface for using scap License: LGPL-2.1-or-later URL: https://www.open-scap.org @@ -52,7 +52,7 @@ This package contains the bindings, python3 can use openscap libraries through t %package perl Summary: Perl bindings for openscap -Requires: %{name} = %{version}-%{release} perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: %{name} = %{version}-%{release} BuildRequires: perl-devel %description perl @@ -81,6 +81,9 @@ This package includes help documentation and manuals related to openscap. %install %cmake_install +mkdir -p %{buildroot}%{bash_completions_dir} +mv %{buildroot}%{_sysconfdir}/bash_completion.d/* %{buildroot}%{bash_completions_dir}/ + pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm %files @@ -93,8 +96,7 @@ pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm %{_datadir}/openscap/schemas/* %{_datadir}/openscap/xsl/* %{_datadir}/openscap/cpe/* - -%{_sysconfdir}/bash_completion.d +%{bash_completions_dir}/* %files devel %{_libdir}/libopenscap.so @@ -117,6 +119,9 @@ pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm %{_mandir}/man8/* %changelog +* Thu Jan 16 2025 Funda Wang - 1.4.1-2 +- drop useless perl(:MODULE_COMPAT) requirement + * Tue Dec 10 2024 xu_ping <707078654@qq.com> - 1.4.1-1 - Upgrade version to 1.4.1 * Remove the option to build with PCRE