SPECS: gettext.spec - use cc_version macro

glen glen at pld-linux.org
Wed Aug 27 21:44:39 CEST 2008


Author: glen                         Date: Wed Aug 27 19:44:39 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use cc_version macro

---- Files affected:
SPECS:
   gettext.spec (1.157 -> 1.158) 

---- Diffs:

================================================================
Index: SPECS/gettext.spec
diff -u SPECS/gettext.spec:1.157 SPECS/gettext.spec:1.158
--- SPECS/gettext.spec:1.157	Mon Jul 21 16:10:30 2008
+++ SPECS/gettext.spec	Wed Aug 27 21:44:33 2008
@@ -52,12 +52,13 @@
 %{!?with_bootstrap:BuildRequires:	glib2-devel >= 2.0}
 %{?with_javac:BuildRequires:	jdk >= 1.1}
 %{!?with_bootstrap:BuildRequires:	libcroco-devel >= 0.6.1}
-%if "%(%{__cc} -dumpversion | grep -q '^4.[2-9]' ; echo $?)" == "0"
+%if "%(echo %{cc_version} | grep -q '^4.[2-9]'; echo $?)" == "0"
 BuildRequires:	libgomp-devel
 %endif
 %{?with_asprintf:BuildRequires:	libstdc++-devel}
 BuildRequires:	libtool >= 1:1.4.2-9
 %{?with_dotnet:BuildRequires:	mono-csharp}
+BuildRequires:	rpmbuild(macros) >= 1.453
 BuildRequires:	texinfo
 %{?with_xemacs:BuildRequires:	xemacs}
 Obsoletes:	gettext-base
@@ -518,6 +519,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.158  2008/08/27 19:44:33  glen
+- use cc_version macro
+
 Revision 1.157  2008/07/21 14:10:30  megabajt
 - release 3
 
@@ -741,7 +745,7 @@
 
 Revision 1.89  2003/05/20 14:16:11  trojan
 - started updating to 0.12
-- fixed %%files
+- fixed %files
 - updated patches (killkillkill, aclocal)
 - removed outdated patches (jbk, gettextize_fix)
 
@@ -832,12 +836,12 @@
 - this version contains Java support - added subpackage and bcond
 
 Revision 1.67  2002/05/21 23:13:08  kloczek
-perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
+- perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
              s/^automake -a -c -f/\%\{__automake\}/; \
-	     s/^autoconf/\%\{__autoconf\}/"
+      s/^autoconf/\%\{__autoconf\}/"
 
 Revision 1.66  2002/04/25 16:22:32  arturs
-fixed a small typo
+- fixed a small typo
 
 Revision 1.65  2002/03/10 08:15:52  marcus
 - added Obsoletes: gettext-base for upgrading from mdk
@@ -863,7 +867,7 @@
   Group field using gettext).
 
 Revision 1.58  2002/01/18 02:13:02  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.57  2001/10/11 21:21:18  qboosh
 - removed obsolete ac250 patch
@@ -878,7 +882,7 @@
 - reverting last change: removing new macros from %p{re,ost}{,un}
 
 Revision 1.52  2001/06/29 14:45:26  wiget
-relesase 3; fixes for autoconf 2.50; BuildRequire autoconf >= 2.50
+- relesase 3; fixes for autoconf 2.50; BuildRequire autoconf >= 2.50
 
 Revision 1.51  2001/06/04 21:54:43  kloczek
 - release 2.
@@ -897,7 +901,7 @@
 - updated to 0.10.38
 
 Revision 1.47  2001/04/20 08:10:46  misiek
-0.10.37 bugfix release
+- 0.10.37 bugfix release
 
 Revision 1.46  2001/04/03 23:21:40  kloczek
 - release 3,
@@ -906,13 +910,13 @@
   (new does't work correctly).
 
 Revision 1.45  2001/04/02 10:04:13  malekith
-dml patch is back. rel 2. stbr.
+- dml patch is back. rel 2. stbr.
 
 Revision 1.44  2001/04/02 09:55:54  malekith
-Fixed, I guess.
+- Fixed, I guess.
 
 Revision 1.43  2001/03/31 16:35:44  misiek
-started update to 0.10.36; dml patch needs to be updated
+- started update to 0.10.36; dml patch needs to be updated
 
 Revision 1.42  2001/03/15 06:06:17  kloczek
 - release 32: merged oka-plus patch from rawhide.
@@ -921,7 +925,7 @@
 - pass -a -c to automake, rel=25, stbr
 
 Revision 1.40  2001/01/16 15:22:05  malekith
-added patch for parsing dml {{ }}. rel++
+- added patch for parsing dml {{ }}. rel++
 
 Revision 1.39  2000/12/07 20:07:17  kloczek
 - cosmetics.
@@ -932,10 +936,10 @@
 - use new rpm automation.
 
 Revision 1.37  2000/10/12 16:24:26  wiget
-BuildRequires: libtool
+- BuildRequires: libtool
 
 Revision 1.36  2000/10/12 16:21:08  wiget
-fix problem building without gettext-devel instaled
+- fix problem building without gettext-devel instaled
 
 Revision 1.35  2000/09/08 02:15:50  kloczek
 - release 19,
@@ -943,10 +947,10 @@
 - added automake, autoconf to BuildRequires list.
 
 Revision 1.34  2000/06/09 07:54:41  kloczek
-- more %%{__make} macros.
+- more %{__make} macros.
 
 Revision 1.33  2000/06/09 07:22:50  kloczek
-- added using %%{__make} macro.
+- added using %{__make} macro.
 
 Revision 1.32  2000/05/24 16:50:45  zagrodzki
 - changed [ -x ... ] && to [ ! -x ... ] ||
@@ -982,7 +986,7 @@
 - fixed configure.in (s/AC_PROG_INSTALL/AM_PROG_INSTALL/).
 
 Revision 1.24  1999/09/24 10:45:02  pius
-- moved running of /usr/sbin/fix-info-dir to %%postun
+- moved running of /usr/sbin/fix-info-dir to %postun
 - release up
 
 Revision 1.23  1999/09/19 09:05:40  pius
@@ -1003,9 +1007,3 @@
 
 Revision 1.19  1999/07/12 23:05:57  kloczek
 - added using CVS keywords in %changelog (for automating them).
-
-* Tue May 25 1999 Tomasz Kłoczko <kloczek at rudy.mif.pg.gda.pl>
-  [0.10.35-10]
-- based on RH spec,
-- rewrited by PLD team,
-- pl translation by Arkadiusz Miśkiewicz <misiek at misiek.eu.org>.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gettext.spec?r1=1.157&r2=1.158&f=u



More information about the pld-cvs-commit mailing list