rpms/elinks/devel elinks.spec,1.80,1.81

Kamil Dudka kdudka at fedoraproject.org
Wed Apr 7 11:29:18 UTC 2010


Author: kdudka

Update of /cvs/extras/rpms/elinks/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv29376

Modified Files:
	elinks.spec 
Log Message:
- do not print control characters to build logs
- avoid aclocal warnings


Index: elinks.spec
===================================================================
RCS file: /cvs/extras/rpms/elinks/devel/elinks.spec,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -p -r1.80 -r1.81
--- elinks.spec	7 Jan 2010 16:45:33 -0000	1.80
+++ elinks.spec	7 Apr 2010 11:29:18 -0000	1.81
@@ -1,7 +1,7 @@
 Name:      elinks
 Summary:   A text-mode Web browser
 Version:   0.12
-Release:   0.22.pre5%{?dist}
+Release:   0.23.pre5%{?dist}
 License:   GPLv2
 URL:       http://elinks.or.cz
 Group:     Applications/Internet
@@ -79,13 +79,30 @@ quickly and swiftly displays Web pages.
 # Port elinks to use NSS library for cryptography (#346861) - incremental patch
 %patch10 -p1
 
-%build
-./autogen.sh
+# remove bogus serial numbers
+sed -i 's/^# *serial [AM0-9]*$//' acinclude.m4 config/m4/*.m4
+
+# we need to recreate autotools files because of the NSS patch
+aclocal -I config/m4
+autoconf
+autoheader
 
+%build
 export CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS) -D_GNU_SOURCE"
 %configure %{?rescue:--without-gpm} --without-x --with-gssapi \
   --enable-bittorrent --with-nss_compat_ossl --enable-256-colors
-make %{?_smp_mflags}
+
+MOPTS="V=1"
+
+# uncomment to turn off optimizations
+#sed -i 's/-O2/-O0/' Makefile.config
+#MOPTS=
+
+if tty >/dev/null 2>&1; then
+    # turn on fancy colorized output only when we have a TTY device
+    MOPTS=
+fi
+make %{?_smp_mflags} $MOPTS
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -136,6 +153,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man5/*
 
 %changelog
+* Wed Apr 07 2010 Kamil Dudka <kdudka at redhat.com> - 0.12-0.23.pre5
+- do not print control characters to build logs
+- avoid aclocal warnings
+
 * Thu Jan 07 2010 Kamil Dudka <kdudka at redhat.com> - 0.12-0.22.pre5
 - remove patch for configure script to find OpenSSL (we use NSS now)
 - remove buildrequires for nss-devel (#550770)



More information about the scm-commits mailing list