commit miniupnpc for openSUSE:Factory
Hello community, here is the log from the commit of package miniupnpc for openSUSE:Factory checked in at 2018-05-30 11:40:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/miniupnpc (Old) and /work/SRC/openSUSE:Factory/.miniupnpc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "miniupnpc" Wed May 30 11:40:27 2018 rev:16 rq:612496 version:2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/miniupnpc/miniupnpc.changes 2017-11-10 14:41:43.398083838 +0100 +++ /work/SRC/openSUSE:Factory/.miniupnpc.new/miniupnpc.changes 2018-05-30 12:32:12.900832285 +0200 @@ -1,0 +2,15 @@ +Sat May 26 10:52:25 UTC 2018 - joop.boonen@opensuse.org + +- Build 2.1 + * CMake Modernize and cleanup CMakeLists.txt + * Update MS Visual Studio projects + listdevices: show devices sorted by XML desc URL + * Small fix in miniupnpcmodule.c (python module) + * Support cross compiling in Makefile.mingw + * Use SOCKET type instead of int (for Win64 compilation) + * Increments API_VERSION to 17 + * Disable usage of MiniSSDPd when using -m option + * Fix buffer over run in minixml.c + * Fix uninitialized variable access in upnpreplyparse.c + +------------------------------------------------------------------- Old: ---- miniupnpc-2.0.20171102.tar.gz New: ---- miniupnpc-2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ miniupnpc.spec ++++++ --- /var/tmp/diff_new_pack.RVet4y/_old 2018-05-30 12:32:13.452819278 +0200 +++ /var/tmp/diff_new_pack.RVet4y/_new 2018-05-30 12:32:13.456819183 +0200 @@ -1,7 +1,7 @@ # # spec file for package miniupnpc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,10 @@ # -%define soname 16 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define soname 17 Name: miniupnpc -Version: 2.0.20171102 +Version: 2.1 Release: 0 Summary: Universal Plug'n'Play (UPnP) Client License: BSD-3-Clause @@ -26,8 +27,10 @@ Url: http://miniupnp.free.fr/ Source: http://miniupnp.free.fr/files/miniupnpc-%{version}.tar.gz Source99: baselibs.conf -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: libminiupnpc%{soname} = %{version}-%{release} %description @@ -51,13 +54,23 @@ The MiniUPnP project offers software which supports the UPnP Internet Gateway Device (IGD) specifications. -%package -n python-miniupnpc +%package -n python2-miniupnpc Summary: Universal Plug'n'Play (UPnP) Client Module for Python Group: Development/Libraries/Python Requires: libminiupnpc%{soname} = %{version}-%{release} %py_requires -%description -n python-miniupnpc +%description -n python2-miniupnpc +The MiniUPnP project offers software which supports the UPnP Internet Gateway +Device (IGD) specifications. + +%package -n python3-miniupnpc +Summary: Universal Plug'n'Play (UPnP) Client Module for Python +Group: Development/Libraries/Python +Requires: libminiupnpc%{soname} = %{version}-%{release} +%py_requires + +%description -n python3-miniupnpc The MiniUPnP project offers software which supports the UPnP Internet Gateway Device (IGD) specifications. @@ -71,21 +84,13 @@ OPTFLAGS="%{optflags}" \ PYTHON="python" -python ./setup.py build +%python_build %install -make \ - INSTALLPREFIX="%{buildroot}%{_prefix}" \ - INSTALLDIRINC="%{buildroot}%{_includedir}/miniupnpc" \ - INSTALLDIRLIB="%{buildroot}%{_libdir}" \ - INSTALLDIRBIN="%{buildroot}%{_bindir}" \ - INSTALL="install" \ - install - -python ./setup.py install \ - --prefix="%{_prefix}" \ - --root=%{buildroot} \ - --record-rpm="rpmfiles.lst" +%make_install INSTALLDIRLIB=%{_libdir} + +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} # Remove static libs rm -f %{buildroot}%{_libdir}/*.a # The man page should be non executable @@ -100,13 +105,25 @@ %{_mandir}/man3/miniupnpc.3%{ext_man} %files -n libminiupnpc%{soname} -%doc LICENSE Changelog.txt README +%doc Changelog.txt README +%license LICENSE %{_libdir}/libminiupnpc.so.%{soname} %files -n libminiupnpc-devel %{_includedir}/miniupnpc/ %{_libdir}/libminiupnpc.so +%{_libdir}/pkgconfig/miniupnpc.pc -%files -n python-miniupnpc -f rpmfiles.lst +%files -n python2-miniupnpc +%defattr(-,root,root,-) +%doc Changelog.txt README +%license LICENSE +%{python2_sitearch}/ + +%files -n python3-miniupnpc +%defattr(-,root,root,-) +%doc Changelog.txt README +%license LICENSE +%{python3_sitearch}/ %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.RVet4y/_old 2018-05-30 12:32:13.484818523 +0200 +++ /var/tmp/diff_new_pack.RVet4y/_new 2018-05-30 12:32:13.484818523 +0200 @@ -1 +1 @@ -libminiupnpc16 +libminiupnpc17 ++++++ miniupnpc-2.0.20171102.tar.gz -> miniupnpc-2.1.tar.gz ++++++ ++++ 2898 lines of diff (skipped)
participants (1)
-
root