[packages/ca-certificates] - bcond description

qboosh qboosh at pld-linux.org
Mon Feb 8 19:16:22 CET 2016


commit 460ad8a7ea22dd9f24e57e175722e67390716171
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Feb 8 19:19:03 2016 +0100

    - bcond description

 ca-certificates.spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/ca-certificates.spec b/ca-certificates.spec
index df3443f..6315b9f 100644
--- a/ca-certificates.spec
+++ b/ca-certificates.spec
@@ -6,7 +6,9 @@
 # - make pidgin use system certs
 # - swap %{certsdir}/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt regards file vs symlink
 #
-%bcond_without	tests
+# Conditional build:
+%bcond_without	tests	# skip duplicates check
+#
 Summary:	Common CA Certificates PEM files
 Summary(pl.UTF-8):	Pliki PEM popularnych certyfikatów CA
 Name:		ca-certificates
@@ -213,13 +215,13 @@ sed 's/\r//' %{SOURCE36} > terena/$(basename %{SOURCE36} .pem).crt
 %{__make}
 
 # We have those and more in specific dirs
-rm mozilla/{thawte,Certum,IGC_A,Deutsche_Telekom_Root_CA_2,Juur-SK}*.crt
+%{__rm} mozilla/{thawte,Certum,IGC_A,Deutsche_Telekom_Root_CA_2,Juur-SK}*.crt
 
 # Duplicate with Verisign_Class_3_Public_Primary_Certification_Authority_2.crt
-rm thawte/Class_3_Public_Primary_Certification_Authority.crt
+%{__rm} thawte/Class_3_Public_Primary_Certification_Authority.crt
 
 # See TODO
-# rm mozilla/RSA_Security_1024_v3.crt
+# %{__rm} mozilla/RSA_Security_1024_v3.crt
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ca-certificates.git/commitdiff/460ad8a7ea22dd9f24e57e175722e67390716171



More information about the pld-cvs-commit mailing list