From 09dbb6034c673d8cc87b0a1115b52d818819a8e15f8e6ebce63031c9b376b174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Sat, 29 Dec 2012 13:00:59 +0000 Subject: [PATCH] - Remove unneeded miniupnpc-makefile.patch OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/miniupnpc?expand=0&rev=8 --- miniupnpc-makefile.patch | 22 ---------------------- miniupnpc.changes | 1 + miniupnpc.spec | 6 +----- 3 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 miniupnpc-makefile.patch diff --git a/miniupnpc-makefile.patch b/miniupnpc-makefile.patch deleted file mode 100644 index 0210ebd..0000000 --- a/miniupnpc-makefile.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- Makefile.orig 2011-06-21 17:24:14.000000000 +0200 -+++ Makefile 2011-12-23 17:54:49.000000000 +0100 -@@ -12,7 +12,9 @@ - CC ?= gcc - #AR = gar - #CFLAGS = -O -Wall -g -DDEBUG --CFLAGS ?= -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -Wstrict-prototypes -+OPTFLAGS = -O -+CFLAGS ?= -O -Wall -DNDEBUG -DMINIUPNPC_SET_SOCKET_TIMEOUT -Wstrict-prototypes $(OPTFLAGS) -+PYTHON = python - # -DNO_GETADDRINFO - INSTALL = install - SH = /bin/sh -@@ -103,7 +105,7 @@ - everything: all $(EXECUTABLES_ADDTESTS) - - pythonmodule: $(LIBRARY) miniupnpcmodule.c setup.py -- python setup.py build -+ $(PYTHON) setup.py build - touch $@ - - installpythonmodule: pythonmodule diff --git a/miniupnpc.changes b/miniupnpc.changes index 6627ecb..d89b991 100644 --- a/miniupnpc.changes +++ b/miniupnpc.changes @@ -22,6 +22,7 @@ Mon Dec 24 22:29:47 UTC 2012 - p.drouand@gmail.com * Makefile : make clean now removes jnaerator generated files. * MINIUPNPC_VERSION in miniupnpc.h (updated by make) * added rootdescURL to UPNPUrls structure. +- Remove unneeded miniupnpc-makefile.patch ------------------------------------------------------------------- Fri Feb 17 09:03:59 UTC 2012 - vuntz@opensuse.org diff --git a/miniupnpc.spec b/miniupnpc.spec index e42ad6b..aaab861 100644 --- a/miniupnpc.spec +++ b/miniupnpc.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define soname 8 Name: miniupnpc @@ -24,12 +25,8 @@ Summary: Universal Plug'n'Play (UPnP) Client License: BSD-3-Clause Group: Productivity/Networking/Other Source: http://miniupnp.free.fr/files/miniupnpc-%{version}.tar.gz -#Patch1: miniupnpc-makefile.patch Url: http://miniupnp.free.fr/ BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: gcc -BuildRequires: glibc-devel -BuildRequires: make BuildRequires: python-devel Requires: libminiupnpc%{soname} = %{version}-%{release} @@ -67,7 +64,6 @@ Device (IGD) specifications. %prep %setup -q -#%patch1 %build make %{?_smp_mflags} \