]> git.pld-linux.org Git - packages/TeXmacs.git/commitdiff
- cosmetics
authorfilon <filon@sokrates.mimuw.edu.pl>
Wed, 27 Feb 2002 21:38:20 +0000 (21:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    TeXmacs.spec -> 1.19

TeXmacs.spec

index 919ff9a96d61456c0700bfff77e1bd622e7e418c..21efafac72d07b0fb067951199106fab170fe762 100644 (file)
@@ -1,4 +1,3 @@
-
 %define         _gcc_ver        %(%{__cc} --version | cut -b 1)
 
 Summary:       A wysiwyg mathematical text editor
@@ -15,6 +14,7 @@ URL:          http://www.texmacs.org/
 BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: config
 BuildRequires: guile-devel
 BuildRequires: libstdc++-devel
 %if %{_gcc_ver} == 3
@@ -23,6 +23,14 @@ BuildRequires:       gcc2-c++
 Requires:      tetex
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# gcc3 produces broken code (argh!!!), so switch to gcc3 if we found it
+%if %{_gcc_ver} == 3
+%define                __cc            gcc2
+%define                __cxx           g++2
+%ifarch athlon
+%define                rpmcflags       -O2 -march=i686
+%endif
+%endif
 
 %description
 GNU TeXmacs is a free what-you-see-is-what-you-get mathematical text
@@ -56,15 +64,7 @@ a tak
 %build
 aclocal
 autoconf
-cp -f /usr/share/automake/config.* .
-# gcc3 produces broken code (argh!!!), so switch to gcc3 if we found it
-%if %{_gcc_ver} == 3
-%define                __cc            gcc2
-%define                __cxx           g++2
-%ifarch athlon
-%define                rpmcflags       -O2 -march=i686
-%endif
-%endif
+updateconfig
 %configure
 
 %{__make} CXXFLAGS="%{rpmcflags} -fno-exceptions -fno-rtti -fno-implicit-templates"
This page took 0.059762 seconds and 4 git commands to generate.