Fix internal Requires (case was wrong)

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 14:48:12 -04:00
commit 47a7d3177b

View file

@ -2,7 +2,7 @@
Name: wxPython
Version: 3.0.2.0
Release: 17%{?dist}
Release: 18%{?dist}
Summary: GUI toolkit for the Python programming language
@ -48,7 +48,7 @@ Obsoletes: wxPython < %{version}-%{release}
%package devel
Group: Development/Libraries
Summary: Development files for wxPython add-on modules
Requires: python2-%{name} = %{version}-%{release}
Requires: python2-wxpython = %{version}-%{release}
Requires: wxGTK3-devel
%description devel
@ -59,7 +59,7 @@ programs which use the wxPython toolkit.
%package docs
Group: Documentation
Summary: Documentation and samples for wxPython
Requires: python2-%{name} = %{version}-%{release}
Requires: python2-wxpython = %{version}-%{release}
BuildArch: noarch
%description docs
@ -69,7 +69,7 @@ Documentation, samples and demo application for wxPython.
%package -n python2-wxpython-webview
Group: Development/Languages
Summary: WebView add-on for wxPython
Requires: python2-%{name}%{?_isa} = %{version}-%{release}
Requires: python2-wxpython%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python2-wxpython-webview}
# Remove before F30
Provides: wxPython-webview = %{version}-%{release}
@ -132,6 +132,9 @@ mv $RPM_BUILD_ROOT%{python2_sitelib}/wxversion.py* $RPM_BUILD_ROOT%{python2_site
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.0.2.0-18
- Fix internal requires (case was wrong)
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.0.2.0-17
- Fix internal Requires and add Provides for the old name without %%_isa