devel/mozplugger mozplugger-1.10.1-optflags.patch, NONE, 1.1 mozplugger.spec, 1.25, 1.26

Karsten Hopp (karsten) fedora-extras-commits at redhat.com
Thu Apr 10 12:33:06 UTC 2008


Author: karsten

Update of /cvs/extras/devel/mozplugger
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5944

Modified Files:
	mozplugger.spec 
Added Files:
	mozplugger-1.10.1-optflags.patch 
Log Message:
- use RPM_OPT_FLAGS (#249976, Ville Skyttä)

mozplugger-1.10.1-optflags.patch:

--- NEW FILE mozplugger-1.10.1-optflags.patch ---
diff -up mozplugger-1.10.1/Makefile.optflag mozplugger-1.10.1/Makefile
--- mozplugger-1.10.1/Makefile.optflag	2008-04-10 13:35:52.000000000 +0200
+++ mozplugger-1.10.1/Makefile	2008-04-10 13:36:08.000000000 +0200
@@ -111,7 +111,7 @@ BIN_FILES=mozplugger.so \
 
 DEFINES= -DXP_UNIX -DVERSION=\"$(VERSION)\" -D$(BUILD) #-D__amd64__
 INCLUDES= -Inpapi/include -I$(X11)/include
-RPM_OPT_FLAGS=-O2
+RPM_OPT_FLAGS?=-O2
 COMMON_CFLAGS=$(RPM_OPT_FLAGS) $(INCLUDES) $(DEFINES)
 COMMON_LDFLAGS=
 


Index: mozplugger.spec
===================================================================
RCS file: /cvs/extras/devel/mozplugger/mozplugger.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- mozplugger.spec	6 Feb 2008 20:51:50 -0000	1.25
+++ mozplugger.spec	10 Apr 2008 12:32:23 -0000	1.26
@@ -1,13 +1,14 @@
 Summary: A generic mozilla plug-in
 Name: mozplugger
 Version: 1.10.1
-Release: 1
+Release: 2
 License: GPL
 Group: Applications/Internet
 Url: http://mozplugger.mozdev.org/
 
 Source0: http://mozplugger.mozdev.org/mozplugger/%{name}-%{version}.tar.gz
 Patch1: mozplugger-1.5.0-lib64.patch
+Patch2: mozplugger-1.10.1-optflags.patch
 
 Requires: sox
 BuildPrereq: libX11-devel
@@ -23,6 +24,7 @@
 %prep
 %setup -q
 %patch1 -p1 -b .lib64
+%patch2 -p1 -b .optflag
 
 %build
 make linux lib=%{_lib}
@@ -47,6 +49,9 @@
 %{_mandir}/man7/mozplugger.7*
 
 %changelog
+* Thu Apr 10 2008 Karsten Hopp <karsten at redhat.com> 1.10.1-2
+- use RPM_OPT_FLAGS (#249976, Ville Skyttä)
+
 * Wed Feb 06 2008 Than Ngo <than at redhat.com> 1.10.1-1
 - 1.10.1
 




More information about the fedora-extras-commits mailing list