SPECS: rpm.spec - check that find_lang rev is not outdated
glen
glen at pld-linux.org
Thu Jan 10 10:23:45 CET 2008
Author: glen Date: Thu Jan 10 09:23:45 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- check that find_lang rev is not outdated
---- Files affected:
SPECS:
rpm.spec (1.860 -> 1.861)
---- Diffs:
================================================================
Index: SPECS/rpm.spec
diff -u SPECS/rpm.spec:1.860 SPECS/rpm.spec:1.861
--- SPECS/rpm.spec:1.860 Thu Jan 10 10:17:06 2008
+++ SPECS/rpm.spec Thu Jan 10 10:23:40 2008
@@ -38,6 +38,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 5.0
Summary: RPM Package Manager
Summary(de.UTF-8): RPM Packet-Manager
@@ -477,7 +478,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}
@@ -680,6 +681,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
+
%{__libtoolize}
%{__autopoint}
%{__aclocal}
@@ -1200,6 +1207,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.861 2008-01-10 09:23:40 glen
+- check that find_lang rev is not outdated
+
Revision 1.860 2008-01-10 09:17:06 glen
- don't hardcode python version
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rpm.spec?r1=1.860&r2=1.861&f=u
More information about the pld-cvs-commit
mailing list