This commit is contained in:
parent
9afe54a2ba
commit
8761902799
@ -19,6 +19,8 @@
|
|||||||
%global git_date 20210127
|
%global git_date 20210127
|
||||||
%global git_commit b21c8114995e07965c2ccde5f5767d0618d854bf
|
%global git_commit b21c8114995e07965c2ccde5f5767d0618d854bf
|
||||||
%{?git_commit:%global git_commit_hash %(c=%{git_commit}; echo ${c:0:8})}
|
%{?git_commit:%global git_commit_hash %(c=%{git_commit}; echo ${c:0:8})}
|
||||||
|
# source_validator doesn't allow command execution
|
||||||
|
%global git_commit_shash b21c8114
|
||||||
%global _python_bytecompile_extra 0
|
%global _python_bytecompile_extra 0
|
||||||
Name: crypto-policies
|
Name: crypto-policies
|
||||||
Version: %{git_date}
|
Version: %{git_date}
|
||||||
@ -27,7 +29,7 @@ Summary: System-wide crypto policies
|
|||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: Productivity/Networking/Security
|
Group: Productivity/Networking/Security
|
||||||
URL: https://gitlab.com/redhat-crypto/fedora-%{name}
|
URL: https://gitlab.com/redhat-crypto/fedora-%{name}
|
||||||
Source0: https://gitlab.com/redhat-crypto/fedora-%{name}/-/archive/%{git_commit_hash}/%{name}-git%{git_commit_hash}.tar.bz2
|
Source0: https://gitlab.com/redhat-crypto/fedora-%{name}/-/archive/%{git_commit_shash}/%{name}-git%{git_commit_shash}.tar.bz2
|
||||||
Source1: README.SUSE
|
Source1: README.SUSE
|
||||||
Patch0: crypto-policies-asciidoc.patch
|
Patch0: crypto-policies-asciidoc.patch
|
||||||
Patch1: crypto-policies-typos.patch
|
Patch1: crypto-policies-typos.patch
|
||||||
@ -71,7 +73,7 @@ The package also provides a tool fips-mode-setup, which can be used
|
|||||||
to enable or disable the system FIPS mode.
|
to enable or disable the system FIPS mode.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n fedora-crypto-policies-%{git_commit_hash}-%{git_commit}
|
%autosetup -p1 -n fedora-crypto-policies-%{git_commit_shash}-%{git_commit}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build
|
%make_build
|
||||||
|
Loading…
Reference in New Issue
Block a user