From 9283f89ddd4da33d5a169dc2d820a238183612bd Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Jul 16 2018 14:42:17 +0000 Subject: python?-devel: Requires: python?-sip add python3-sip compat symlink --- diff --git a/sip.spec b/sip.spec index d3c265e..98c6912 100644 --- a/sip.spec +++ b/sip.spec @@ -20,7 +20,7 @@ Summary: SIP - Python/C++ Bindings Generator Name: sip Version: 4.19.12 -Release: 4%{?dist} +Release: 5%{?dist} # sipgen/parser.{c.h} is GPLv3+ with exceptions (bison) License: GPLv2 or GPLv3 and (GPLv3+ with exceptions) @@ -108,7 +108,7 @@ This is the Python 3 build of pyqt5-SIP. %package -n python3-sip-devel Summary: Files needed to generate Python bindings for any C++ class library Requires: sip = %{version}-%{release} -#Requires: python3-sip%{?_isa} = %{version}-%{release} +Requires: python3-sip%{?_isa} = %{version}-%{release} Requires: python3-devel %description -n python3-sip-devel %{summary}. @@ -118,7 +118,7 @@ Requires: python3-devel %package -n python2-sip-devel Summary: Files needed to generate Python bindings for any C++ class library Requires: sip = %{version}-%{release} -#Requires: python2-sip%{?_isa} = %{version}-%{release} +Requires: python2-sip%{?_isa} = %{version}-%{release} Requires: python2-devel # Remove before F30 Provides: sip-devel = %{version}-%{release} @@ -186,6 +186,7 @@ popd # /usr/bin/sip: %if %{with python3} %make_install -C %{_target_platform}-python3 +ln -s sip %{buildroot}%{_bindir}/python3-sip %make_install -C %{_target_platform}-python3-pyqt5 ## toplevel __pycache__ creation is ... inconsistent @@ -207,6 +208,8 @@ install -D -p -m644 %{SOURCE1} %{buildroot}%{rpm_macros_dir}/macros.sip %doc README %license LICENSE LICENSE-GPL2 LICENSE-GPL3 %{_bindir}/sip +# compat symlink +%{_bindir}/python3-sip %dir %{_datadir}/sip/ %{rpm_macros_dir}/macros.sip @@ -246,6 +249,10 @@ install -D -p -m644 %{SOURCE1} %{buildroot}%{rpm_macros_dir}/macros.sip %changelog +* Mon Jul 16 2018 Rex Dieter - 4.19.12-5 +- python?-devel: Requires: python?-sip +- add python3-sip compat symlink + * Sun Jul 15 2018 Rex Dieter - 4.19.12-4 - sip-api(12)=12.5