diff --git a/crypto-policies.spec b/crypto-policies.spec index 17528fc9fc055a043dbc860c293353a8321f64ac..d90dc29753db12d37f62a2a8b03dc9f2da218fa7 100644 --- a/crypto-policies.spec +++ b/crypto-policies.spec @@ -4,7 +4,7 @@ Name: crypto-policies Version: %{git_date} -Release: 4.git%{git_commit_hash} +Release: 5.git%{git_commit_hash} Summary: Crypto policies package for Fedora License: LGPLv2+ @@ -100,8 +100,12 @@ done make check %{?_smp_mflags} %post -%{_bindir}/update-crypto-policies --no-check >/dev/null 2>/dev/null || : +for f in %{_datarootdir}/crypto-policies/DEFAULT/*.txt ; do + ln -s $f %{_sysconfdir}/crypto-policies/back-ends/$(basename $f .txt).config +done +%posttrans scripts +%{_bindir}/update-crypto-policies --no-check >/dev/null 2>/dev/null || : %files @@ -126,10 +130,9 @@ make check %{?_smp_mflags} %ghost %{_sysconfdir}/crypto-policies/back-ends/krb5.config %ghost %{_sysconfdir}/crypto-policies/back-ends/openjdk.config %ghost %{_sysconfdir}/crypto-policies/back-ends/libreswan.config +%ghost %{_sysconfdir}/crypto-policies/back-ends/libssh.config -%{_bindir}/update-crypto-policies %{_mandir}/man7/crypto-policies.7* -%{_mandir}/man8/update-crypto-policies.8* %{_datarootdir}/crypto-policies/LEGACY/* %{_datarootdir}/crypto-policies/DEFAULT/* %{_datarootdir}/crypto-policies/NEXT/* @@ -139,18 +142,23 @@ make check %{?_smp_mflags} %{_datarootdir}/crypto-policies/default-config %{_datarootdir}/crypto-policies/reload-cmds.sh %{_datarootdir}/crypto-policies/policies -%{_datarootdir}/crypto-policies/python %files scripts %{_bindir}/fips-mode-setup %{_bindir}/fips-finish-install +%{_bindir}/update-crypto-policies %{_mandir}/man8/fips-mode-setup.8* %{_mandir}/man8/fips-finish-install.8* +%{_mandir}/man8/update-crypto-policies.8* +%{_datarootdir}/crypto-policies/python %{!?_licensedir:%global license %%doc} %license COPYING.LESSER %changelog +* Tue Feb 28 2023 fushanqing - 20200619-5.git781bbd4 +- move %{_bindir}/update-crypto-policies to crypto-policies-scripts + * Mon Feb 27 2023 yixiangzhike - 20200619-4.git781bbd4 - Makefile support overriding asciidoc executable name - update Makefile for asciidoc 10