SPECS: nxcomp.spec - C(XX)FLAGS fixes: don't patch by sed - it isn...
twittner
twittner at pld-linux.org
Sat Apr 7 20:46:17 CEST 2007
Author: twittner Date: Sat Apr 7 18:46:17 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- C(XX)FLAGS fixes: don't patch by sed - it isn't reliable and doesn't
work in this case, use %configure2_13
---- Files affected:
SPECS:
nxcomp.spec (1.22 -> 1.23)
---- Diffs:
================================================================
Index: SPECS/nxcomp.spec
diff -u SPECS/nxcomp.spec:1.22 SPECS/nxcomp.spec:1.23
--- SPECS/nxcomp.spec:1.22 Wed Mar 28 20:00:17 2007
+++ SPECS/nxcomp.spec Sat Apr 7 20:46:12 2007
@@ -12,8 +12,9 @@
Source0: http://64.34.161.181/download/%{_version_major}/sources/%{name}-%{_version_major}-%{_version_minor}.tar.gz
# Source0-md5: ff0d9d7a12940e8761880cfff1eedaef
Patch0: %{name}-pic.patch
+Patch1: %{name}-FLAGS.patch
URL: http://www.nomachine.com/
-BuildRequires: autoconf >= 2.59-9
+BuildRequires: autoconf >= 2.13
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++-devel
@@ -55,13 +56,11 @@
%prep
%setup -q -n %{name}
%patch0 -p1
-
-sed -i 's/CXXFLAGS="-O3"/CXXFLAGS="%{rpmcflags}"/' configure.in
-sed -i 's/CPPFLAGS="-O3"/CPPFLAGS="%{rpmcflags}"/' configure.in
+%patch1 -p1
%build
%{__autoconf}
-%configure
+%configure2_13
%{__make}
%install
@@ -102,6 +101,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.23 2007/04/07 18:46:12 twittner
+- C(XX)FLAGS fixes: don't patch by sed - it isn't reliable and doesn't
+ work in this case, use %configure2_13
+
Revision 1.22 2007/03/28 18:00:17 aredridel
- 2.1.0.5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/nxcomp.spec?r1=1.22&r2=1.23&f=u
More information about the pld-cvs-commit
mailing list