SPECS (rpm-4_4_9): rpm.spec - check that find_lang rev is not outd...

glen glen at pld-linux.org
Thu Jan 10 10:26:50 CET 2008


Author: glen                         Date: Thu Jan 10 09:26:50 2008 GMT
Module: SPECS                         Tag: rpm-4_4_9
---- Log message:
- check that find_lang rev is not outdated

---- Files affected:
SPECS:
   rpm.spec (1.837.2.19 -> 1.837.2.20) 

---- Diffs:

================================================================
Index: SPECS/rpm.spec
diff -u SPECS/rpm.spec:1.837.2.19 SPECS/rpm.spec:1.837.2.20
--- SPECS/rpm.spec:1.837.2.19	Thu Jan 10 10:17:22 2008
+++ SPECS/rpm.spec	Thu Jan 10 10:26:44 2008
@@ -26,6 +26,7 @@
 %define	reqdb_ver	4.6.18
 %define	reqpopt_ver	1.10.8
 %define	beecrypt_ver	2:4.1.2-4
+%define	find_lang_rev	1.25
 %define	sover	4.4
 Summary:	RPM Package Manager
 Summary(de.UTF-8):	RPM Packet-Manager
@@ -479,7 +480,7 @@
 Requires:	sh-utils
 Requires:	tar
 Requires:	textutils
-Provides:	rpmbuild(find_lang) = 1.25
+Provides:	rpmbuild(find_lang) = %{find_lang_rev}
 Provides:	rpmbuild(monoautodeps)
 Provides:	rpmbuild(noauto) = 3
 %ifarch %{x8664}
@@ -725,6 +726,12 @@
 done
 
 %build
+rev=$(awk '/^#.*Id:.*/{print $4}' scripts/find-lang.sh)
+if [ "$rev" != "%find_lang_rev" ]; then
+	: Update find_lang_rev define to $rev, and retry
+	exit 1
+fi
+
 %if %{with system_libmagic}
 rm -rf file
 %else
@@ -1222,6 +1229,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.837.2.20  2008-01-10 09:26:44  glen
+- check that find_lang rev is not outdated
+
 Revision 1.837.2.19  2008-01-10 09:17:22  glen
 - don't hardcode python version
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rpm.spec?r1=1.837.2.19&r2=1.837.2.20&f=u



More information about the pld-cvs-commit mailing list