diff --git a/libupnp.spec b/libupnp.spec index 5c9279b..019e6a2 100644 --- a/libupnp.spec +++ b/libupnp.spec @@ -1,14 +1,12 @@ Version: 1.6.3 Summary: Universal Plug and Play (UPnP) SDK Name: libupnp -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Group: System Environment/Libraries URL: http://www.libupnp.org/ Source: http://puzzle.dl.sourceforge.net/sourceforge/pupnp/%{name}-%{version}.tar.bz2 -#Patch0: open.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: gawk, gcc-gfortran %define docdeveldir %{_docdir}/%{name}-devel-%{version} %define docdir %{_docdir}/%{name}-%{version} @@ -29,7 +27,6 @@ the UPnP SDK libraries. %prep %setup -q -#%patch0 -p1 %build %configure --with-documentation @@ -81,6 +78,9 @@ make install DESTDIR=$RPM_BUILD_ROOT rm -rf %{buildroot} %changelog +* Sun Dec 30 2007 Eric Tanguy - 1.6.3-2 +- Spec file cleanup + * Sun Dec 30 2007 Eric Tanguy - 1.6.3-1 - Update to version 1.6.3 diff --git a/open.patch b/open.patch deleted file mode 100644 index 88e03d0..0000000 --- a/open.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur libupnp-1.6.0/upnp/src/genlib/net/http/httpreadwrite.c libupnp-1.6.0/upnp/src/genlib/net/http-new/httpreadwrite.c ---- libupnp-1.6.0/upnp/src/genlib/net/http/httpreadwrite.c 2007-05-23 15:18:08.000000000 +0200 -+++ libupnp-1.6.0/upnp/src/genlib/net/http/httpreadwrite.c 2007-09-01 16:18:33.000000000 +0200 -@@ -349,7 +349,7 @@ - filename = ( char * )va_arg( argp, char * ); - - if( Instr && Instr->IsVirtualFile ) -- Fp = virtualDirCallback.open( filename, UPNP_READ ); -+ Fp = (virtualDirCallback.open)( filename, UPNP_READ ); - else - Fp = fopen( filename, "rb" ); - -diff -Naur libupnp-1.6.0/upnp/src/genlib/net/http/webserver.c libupnp-1.6.0/upnp/src/genlib/net/http-new/webserver.c ---- libupnp-1.6.0/upnp/src/genlib/net/http/webserver.c 2007-05-23 15:18:08.000000000 +0200 -+++ libupnp-1.6.0/upnp/src/genlib/net/http/webserver.c 2007-09-01 16:18:33.000000000 +0200 -@@ -1531,7 +1531,7 @@ - - if( Instr && Instr->IsVirtualFile ) { - -- Fp = virtualDirCallback.open( filename, UPNP_WRITE ); -+ Fp = (virtualDirCallback.open)( filename, UPNP_WRITE ); - if( Fp == NULL ) { - return HTTP_INTERNAL_SERVER_ERROR; - }