SPECS (DEVEL): adapter.spec, adapter.awk - no trailing dot in Summ...

glen glen at pld-linux.org
Wed Oct 12 22:20:08 CEST 2005


Author: glen                         Date: Wed Oct 12 20:20:08 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- no trailing dot in Summary:

---- Files affected:
SPECS:
   adapter.spec (1.26.2.13 -> 1.26.2.14) , adapter.awk (1.202 -> 1.203) 

---- Diffs:

================================================================
Index: SPECS/adapter.spec
diff -u SPECS/adapter.spec:1.26.2.13 SPECS/adapter.spec:1.26.2.14
--- SPECS/adapter.spec:1.26.2.13	Wed Oct 12 18:55:00 2005
+++ SPECS/adapter.spec	Wed Oct 12 22:20:02 2005
@@ -4,7 +4,7 @@
 %bcond_without	tests		# build without tests
 %define 	apxs		%{_sbindir}/apxs1
 %include /usr/lib/rpm/macros.python
-Summary:	Package for testing adapter.awk
+Summary:	Package for testing adapter.awk.
 Summary(pl):	Pakiet do testowania adapter.awk
 Summary(et):	Pakk adapter.awk testimiseks
 Name:		adapter
@@ -160,6 +160,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26.2.14  2005/10/12 20:20:02  glen
+- no trailing dot in Summary:
+
 Revision 1.26.2.13  2005/10/12 16:55:00  glen
 - todo:
 [19:23:17] < arekm> glen: check for %attr(.., nobody, nobody) would be nice in adapter [FN]

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.202 SPECS/adapter.awk:1.203
--- SPECS/adapter.awk:1.202	Wed Oct 12 22:18:14 2005
+++ SPECS/adapter.awk	Wed Oct 12 22:20:03 2005
@@ -472,6 +472,9 @@
 
 	field = tolower($1)
 	fieldnlower = $1
+	if (field ~ /summary:/) {
+		sub(/\.$/, "", $0);
+	}
 	if (field ~ /group(\([^)]+\)):/)
 		next
 	if (field ~ /group:/) {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.spec?r1=1.26.2.13&r2=1.26.2.14&f=u
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.202&r2=1.203&f=u




More information about the pld-cvs-commit mailing list