From 1e9c1bb99a54aa3bc62d0492e8ba97d0030c2dda Mon Sep 17 00:00:00 2001 From: rpmbuild Date: Mon, 30 Sep 2019 10:38:02 +0000 Subject: [PATCH] forgot another "Recommends" in the subpackages --- scapy.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/scapy.spec b/scapy.spec index 79cefec..48f9b7f 100644 --- a/scapy.spec +++ b/scapy.spec @@ -44,7 +44,7 @@ BuildRequires: python%{python3_pkgversion}-devel Recommends: tcpdump # Using database of manufactures /usr/share/wireshark/manuf Recommends: wireshark-cli -%endif +%endif # Recommends %description %{common_desc} @@ -55,12 +55,15 @@ Summary: Interactive packet manipulation tool and network scanner %{?python_provide:%python_provide python2-%{name}} -%description -n python2-%{name} -%{common_desc} - +%if (0%{?fedora}) || ( 0%{?rhel} && 0%{?rhel} >= 8 ) Recommends: python2-pyx Recommends: python2-matplotlib Recommends: ipython2 +%endif # Recommends + +%description -n python2-%{name} +%{common_desc} + %endif # if with_python2 @@ -71,9 +74,11 @@ Summary: Interactive packet manipulation tool and network scanner %{?python_provide:%python_provide python%{python3_pkgversion}-%{name}} Provides: %{name} = %{version}-%{release} +%if (0%{?fedora}) || ( 0%{?rhel} && 0%{?rhel} >= 8 ) Recommends: PyX Recommends: python%{python3_pkgversion}-matplotlib Recommends: ipython3 +%endif # Recommends %description -n python%{python3_pkgversion}-%{name} %{common_desc} @@ -171,6 +176,7 @@ ln -s %{_bindir}/UTscapy3 %{buildroot}%{_bindir}/UTscapy * Thu Sep 26 2019 Michal Ambroz - 2.4.3-1 - bump to 2.4.3 release - change the python2 to conditional build to be able to keep one spec for all +- add Recommends for dependencies, except for EPEL7 * Fri Sep 20 2019 Miro HronĨok - 2.4.0-8 - Subpackage python2-scapy has been removed