- Remove unneeded miniupnpc-makefile.patch
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/miniupnpc?expand=0&rev=8
This commit is contained in:
parent
c7e214e8d0
commit
09dbb6034c
@ -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
|
|
@ -22,6 +22,7 @@ Mon Dec 24 22:29:47 UTC 2012 - p.drouand@gmail.com
|
|||||||
* Makefile : make clean now removes jnaerator generated files.
|
* Makefile : make clean now removes jnaerator generated files.
|
||||||
* MINIUPNPC_VERSION in miniupnpc.h (updated by make)
|
* MINIUPNPC_VERSION in miniupnpc.h (updated by make)
|
||||||
* added rootdescURL to UPNPUrls structure.
|
* added rootdescURL to UPNPUrls structure.
|
||||||
|
- Remove unneeded miniupnpc-makefile.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 17 09:03:59 UTC 2012 - vuntz@opensuse.org
|
Fri Feb 17 09:03:59 UTC 2012 - vuntz@opensuse.org
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define soname 8
|
%define soname 8
|
||||||
|
|
||||||
Name: miniupnpc
|
Name: miniupnpc
|
||||||
@ -24,12 +25,8 @@ Summary: Universal Plug'n'Play (UPnP) Client
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Networking/Other
|
Group: Productivity/Networking/Other
|
||||||
Source: http://miniupnp.free.fr/files/miniupnpc-%{version}.tar.gz
|
Source: http://miniupnp.free.fr/files/miniupnpc-%{version}.tar.gz
|
||||||
#Patch1: miniupnpc-makefile.patch
|
|
||||||
Url: http://miniupnp.free.fr/
|
Url: http://miniupnp.free.fr/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: glibc-devel
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
Requires: libminiupnpc%{soname} = %{version}-%{release}
|
Requires: libminiupnpc%{soname} = %{version}-%{release}
|
||||||
|
|
||||||
@ -67,7 +64,6 @@ Device (IGD) specifications.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
#%patch1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} \
|
make %{?_smp_mflags} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user