rpms/gperiodic/F-10 gperiodic-2.0.10-optflags.patch, NONE, 1.1 gperiodic.spec, 1.11, 1.12

Eric Tanguy tanguy at fedoraproject.org
Thu May 7 20:45:32 UTC 2009


Author: tanguy

Update of /cvs/extras/rpms/gperiodic/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32639

Modified Files:
	gperiodic.spec 
Added Files:
	gperiodic-2.0.10-optflags.patch 
Log Message:


gperiodic-2.0.10-optflags.patch:

--- NEW FILE gperiodic-2.0.10-optflags.patch ---
--- gperiodic-2.0.10/Makefile~	2007-07-11 15:58:05.000000000 +0300
+++ gperiodic-2.0.10/Makefile	2009-05-07 20:23:16.000000000 +0300
@@ -1,5 +1,5 @@
 CC := gcc
-CFLAGS := `pkg-config --cflags gtk+-2.0` -I. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
+CFLAGS := `pkg-config --cflags gtk+-2.0` -I. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED $(RPM_OPT_FLAGS)
 LIBS :=`pkg-config --libs gtk+-2.0`
 bindir ?= /usr/bin
 datadir ?= /usr/share



Index: gperiodic.spec
===================================================================
RCS file: /cvs/extras/rpms/gperiodic/F-10/gperiodic.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- gperiodic.spec	25 Jul 2008 19:22:33 -0000	1.11
+++ gperiodic.spec	7 May 2009 20:45:02 -0000	1.12
@@ -1,13 +1,14 @@
 Summary: Program for browsing the periodic table
 Name: gperiodic
 Version: 2.0.10
-Release: 4%{?dist}
+Release: 6%{?dist}
 License: GPLv2+
 Group: Applications/Engineering
 URL: http://www.frantz.fi/software/gperiodic.php
 Source: http://www.frantz.fi/software/gperiodic-%{version}.tar.gz
 Patch0: gperiodic-bh.patch
 Patch1: gtk.patch
+Patch2: %{name}-2.0.10-optflags.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: gtk2-devel, desktop-file-utils, gettext, 
 
@@ -20,9 +21,10 @@ element.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__make} %{?_smp_mflags}
+%{__make} %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
@@ -56,6 +58,12 @@ rm -rf %{buildroot}
 %doc README AUTHORS ChangeLog gpl.txt
 
 %changelog
+* Thu May  7 2009 Ville Skyttä <ville.skytta at iki.fi> - 2.0.10-6
+- Patch to build with $RPM_OPT_FLAGS.
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.10-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
 * Fri Jul 25 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2.0.10-4
 - fix license tag
 




More information about the scm-commits mailing list