rpms/gnomint/F-10 gnomint-0.9.1-cflags.patch, NONE, 1.1 gnomint.spec, 1.3, 1.4

Adam Huffman verdurin at fedoraproject.org
Tue Apr 21 22:34:35 UTC 2009


Author: verdurin

Update of /cvs/pkgs/rpms/gnomint/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30721/F-10

Modified Files:
	gnomint.spec 
Added Files:
	gnomint-0.9.1-cflags.patch 
Log Message:
Fix for bug 496518 - incorrect cflags


gnomint-0.9.1-cflags.patch:

--- NEW FILE gnomint-0.9.1-cflags.patch ---
diff -up gnomint-0.9.1/configure~ gnomint-0.9.1/configure
--- gnomint-0.9.1/configure~	2008-12-18 08:35:02.000000000 +0200
+++ gnomint-0.9.1/configure	2009-04-20 00:05:17.000000000 +0300
@@ -16926,12 +16926,6 @@ fi
 
 
 
-if test "x$GCC" = "xyes"; then
-	CFLAGS="-Wall -Werror"
-	if test "x$use_debug" = "xYes"; then
-   	   CFLAGS="$CFLAGS -g -O0"
-	fi
-fi



Index: gnomint.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnomint/F-10/gnomint.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gnomint.spec	21 Jan 2009 21:40:16 -0000	1.3
+++ gnomint.spec	21 Apr 2009 22:34:01 -0000	1.4
@@ -1,12 +1,13 @@
 Name:		gnomint
 Version:	0.9.1
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Graphical x509 Certification Authority management tool
 
 Group:		Applications/System
 License:	GPLv3+
 URL:		http://gnomint.sourceforge.net/
 Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Patch0:		%{name}-%{version}-cflags.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -31,11 +32,10 @@
 
 %prep
 %setup -q
-
+%patch0 -p1
 
 %build
-sed -i -e 's|CFLAGS="-Wall -Werror -g "|true|' configure
-%configure --disable-schemas-install
+%configure --disable-dependency-tracking --disable-schemas-install
 make %{?_smp_mflags}
 
 
@@ -94,6 +94,9 @@
 %{_sysconfdir}/gconf/schemas/%{name}.schemas
 
 %changelog
+* Tue Apr 21 2009  Adam Huffman <bloch at verdurin.com> - 0.9.1-2
+- fix for bug 496518 - $RPM_OPT_FLAGS not used
+
 * Wed Jan 21 2009 Adam Huffman <bloch at verdurin.com> - 0.9.1-1
 - new upstream release including command-line interface
 - thanks to Seva Epsteyn for spec patch




More information about the fedora-extras-commits mailing list