+ gupnp-igd-0.2.5-3
Remove python2-gupnp-igd sub-package, nothing uses it in Fedora and gobject-introspection supports both Python2 and Python3
This commit is contained in:
parent
a7c9dc3c71
commit
cc5815e50e
@ -1,7 +1,7 @@
|
||||
Name: gupnp-igd
|
||||
Version: 0.2.5
|
||||
Release: 2%{?dist}
|
||||
Summary: Library to handle UPnP IGD port mapping
|
||||
Release: 3%{?dist}
|
||||
Summary: Library to handle UPnP IGD port mapping
|
||||
|
||||
License: LGPLv2+
|
||||
URL: https://wiki.gnome.org/Projects/GUPnP
|
||||
@ -10,25 +10,16 @@ Source0: https://download.gnome.org/sources/%{name}/0.2/%{name}-%{version
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gupnp-devel
|
||||
BuildRequires: pygtk2-devel
|
||||
|
||||
%description
|
||||
%{name} is a library to handle UPnP IGD port mapping.
|
||||
|
||||
|
||||
%package -n python2-gupnp-igd
|
||||
%{?python_provide:%python_provide python2-gupnp-igd}
|
||||
# Remove before F30
|
||||
Provides: %{name}-python = %{version}-%{release}
|
||||
Provides: %{name}-python%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: %{name}-python < %{version}-%{release}
|
||||
Summary: Python bindings for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description -n python2-gupnp-igd
|
||||
The python2-gupnp-igd package contains the Python bindings for
|
||||
%{name}.
|
||||
Provides: %{name}-python2 = %{version}-%{release}
|
||||
Provides: %{name}-python2%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: %{name}-python2 < %{version}-%{release}
|
||||
|
||||
%description
|
||||
%{name} is a library to handle UPnP IGD port mapping.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
@ -46,7 +37,7 @@ developing applications that use %{name}.
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-python --enable-introspection=yes
|
||||
%configure --disable-static --disable-python --enable-introspection=yes
|
||||
# quite rpmlint error about unused-direct-shlib-dependency
|
||||
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||
LDFLAGS="$RPM_LD_FLAGS -lgobject-2.0" make %{?_smp_mflags}
|
||||
@ -70,12 +61,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib
|
||||
|
||||
|
||||
%files -n python2-gupnp-igd
|
||||
%dir %{python_sitearch}/gupnp
|
||||
%{python_sitearch}/gupnp/*.py*
|
||||
%{python_sitearch}/gupnp/igd.so
|
||||
|
||||
|
||||
%files devel
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
@ -85,6 +70,11 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jun 07 2018 Bastien Nocera <bnocera@redhat.com> - 0.2.5-3
|
||||
+ gupnp-igd-0.2.5-3
|
||||
- Remove python2-gupnp-igd sub-package, nothing uses it in Fedora
|
||||
and gobject-introspection supports both Python2 and Python3
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user