rpms/scim-pinyin/devel scim-pinyin.spec,1.37,1.38

Jens Petersen (petersen) fedora-extras-commits at redhat.com
Wed Jun 27 06:21:38 UTC 2007


Author: petersen

Update of /cvs/extras/rpms/scim-pinyin/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13963

Modified Files:
	scim-pinyin.spec 
Log Message:
remove the with_libstdc_preview macro



Index: scim-pinyin.spec
===================================================================
RCS file: /cvs/extras/rpms/scim-pinyin/devel/scim-pinyin.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- scim-pinyin.spec	26 Jun 2007 02:58:28 -0000	1.37
+++ scim-pinyin.spec	27 Jun 2007 06:21:03 -0000	1.38
@@ -1,5 +1,3 @@
-%define with_libstdc_preview 0
-
 Name:       scim-pinyin
 Version:    0.5.91
 Release:    18%{?dist}
@@ -12,9 +10,6 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  scim-devel, gtk2-devel, gettext, gettext-devel, autoconf, automake,libtool
-%if %{with_libstdc_preview}
-Buildrequires: libstdc++so7-devel
-%endif
 Requires:   scim
 Obsoletes:  iiimf-le-chinput <= 0.3, miniChinput <= 0.0.3
 Patch1:         scim-pinyin-shuangpin.patch
@@ -36,24 +31,14 @@
 %patch5 -p1 -b .5-translate
 
 %build
-%if %{with_libstdc_preview}
-export CXX=%{_bindir}/g++-libstdc++-so_7
-%endif
 ./bootstrap
 %configure --disable-static
-%if %{with_libstdc_preview}
-# tweak libtool for libstdc++-so7
-sed -i -e "s/4.1.0 /4.2.0-`grep datestamp= %{_bindir}/g++-libstdc++-so_7 | sed -e "s/datestamp=//"` /" libtool
-%endif
 make -C po update-gmo
 make %{?_smp_mflags}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%if %{with_libstdc_preview}
-export CXX=%{_bindir}/g++-libstdc++-so_7
-%endif
 make DESTDIR=${RPM_BUILD_ROOT} install
 
 rm $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/{IMEngine,SetupUI}/*.la
@@ -77,6 +62,9 @@
 
 
 %changelog
+* Wed Jun 27 2007 Jens Petersen <petersen at redhat.com>
+- remove the with_libstdc_preview macro
+
 * Mon Jun 26 2007 Huang Peng <phuang at redhat.com> - 0.5.91-18
 - Refine rpm package to resolve some warning in build.log.
 




More information about the fedora-extras-commits mailing list