SPECS: ca-certificates.spec - use shell constructs
glen
glen at pld-linux.org
Mon Nov 3 17:12:46 CET 2008
Author: glen Date: Mon Nov 3 16:12:46 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use shell constructs
---- Files affected:
SPECS:
ca-certificates.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SPECS/ca-certificates.spec
diff -u SPECS/ca-certificates.spec:1.14 SPECS/ca-certificates.spec:1.15
--- SPECS/ca-certificates.spec:1.14 Mon Nov 3 17:08:22 2008
+++ SPECS/ca-certificates.spec Mon Nov 3 17:12:41 2008
@@ -73,9 +73,9 @@
%patch2 -p1
%patch3 -p1
-unzip %{SOURCE1} '*_b64.txt' -d thawte/
-for I in thawte/{,*/}*.txt; do
- mv "$I" "`echo $I | sed -e 's|_b64.txt|.crt|' -e 's|/.*/|/|'`"
+%{__unzip} -qq %{SOURCE1} '*_b64.txt' -d thawte
+for a in thawte/{,*/}*.txt; do
+ mv "$a" "${a%_b64.txt}.crt"
done
install -d certum
@@ -91,8 +91,8 @@
install %{SOURCE11} certum
install %{SOURCE12} certum
install %{SOURCE13} certum
-for I in certum/*.pem; do
- mv "$I" "`echo $I | sed -e 's|pem|crt|'`"
+for a in certum/*.pem; do
+ mv "$a" "${a%.pem}.crt"
done
%build
@@ -140,6 +140,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2008/11/03 16:12:41 glen
+- use shell constructs
+
Revision 1.14 2008/11/03 16:08:22 glen
- internal deps should be strict, unless reasoned otherwise
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ca-certificates.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list