[crypto-policies] added make check as part of the build process

Nikos Mavrogiannopoulos nmav at fedoraproject.org
Fri Mar 6 12:29:15 UTC 2015


commit 560b11cedf70153d197ce2f90eecc5009a1a41e3
Author: Nikos Mavrogiannopoulos <nmav at redhat.com>
Date:   Fri Mar 6 13:29:05 2015 +0100

    added make check as part of the build process

 crypto-policies.spec | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/crypto-policies.spec b/crypto-policies.spec
index ed26d04..f3825f8 100644
--- a/crypto-policies.spec
+++ b/crypto-policies.spec
@@ -1,10 +1,10 @@
 %global git_date 20150305
-%global git_commit_hash 44afaa1
+%global git_commit_hash 2eeb03b
 %global aname crypto-policies
 
 Name:           crypto-policies
 Version:        %{git_date}
-Release:        2.git%{git_commit_hash}%{?dist}
+Release:        3.git%{git_commit_hash}%{?dist}
 Summary:        Crypto policies package for Fedora
 
 License:        LGPLv2+
@@ -18,6 +18,8 @@ Source1:	config
 BuildArch: noarch
 BuildRequires: asciidoc
 BuildRequires: libxslt
+BuildRequires: openssl
+BuildRequires: gnutls-utils
 
 # for shell script
 Requires(post): coreutils
@@ -46,6 +48,9 @@ install -p -m 755 update-crypto-policies %{buildroot}%{_bindir}/update-crypto-po
 install -p -m 644 profiles/* %{buildroot}%{_datadir}/crypto-policies/profiles
 install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/crypto-policies/config
 
+%check
+make check %{?_smp_mflags}
+
 %post
 %{_bindir}/update-crypto-policies --no-check
 
@@ -66,6 +71,9 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/crypto-policies/config
 %license COPYING.LESSER
 
 %changelog
+* Fri Mar  6 2015 Nikos Mavrogiannopoulos <nmav at redhat.com> - 20150305-3-git2eeb03b
+- Added make check
+
 * Fri Mar  6 2015 Nikos Mavrogiannopoulos <nmav at redhat.com> - 20150305-2-git44afaa1
 - Removed support for SECLEVEL (#1199274)
 


More information about the scm-commits mailing list