| |
@@ -10,7 +10,7 @@
|
| |
|
| |
Name: csdiff
|
| |
Version: 2.6.0
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
Summary: Non-interactive tools for processing code scan results in plain-text
|
| |
|
| |
License: GPLv3+
|
| |
@@ -44,9 +44,6 @@
|
| |
%if %{with python2}
|
| |
%package -n python2-%{name}
|
| |
Summary: Python interface to csdiff for Python 2
|
| |
- %if 0%{?fedora}
|
| |
- BuildRequires: boost-python2-devel
|
| |
- %endif
|
| |
BuildRequires: python2-devel
|
| |
%{?python_provide:%python_provide python2-%{name}}
|
| |
|
| |
@@ -59,12 +56,14 @@
|
| |
%package -n python3-%{name}
|
| |
Summary: Python interface to csdiff for Python 3
|
| |
|
| |
+ %if 0%{?rhel} <= 8
|
| |
# this packages redefines %%{python3_pkgversion} to 36 because there is
|
| |
# no boost-python3-devel in epel-7 buildroot, only boost-python36-devel
|
| |
%if 0%{?rhel} == 7
|
| |
BuildRequires: epel-rpm-macros
|
| |
%endif
|
| |
BuildRequires: boost-python%{python3_pkgversion}-devel
|
| |
+ %endif
|
| |
BuildRequires: python3-devel
|
| |
%{?python_provide:%python_provide python3-%{name}}
|
| |
|
| |
@@ -144,6 +143,9 @@
|
| |
%endif
|
| |
|
| |
%changelog
|
| |
+ * Fri Jun 24 2022 Jonathan Wakely <jwakely@redhat.com> - 2.6.0-2
|
| |
+ - Remove obsolete boost-python3-devel build dependency (#2100748)
|
| |
+
|
| |
* Tue Jun 21 2022 Kamil Dudka <kdudka@redhat.com> 2.6.0-1
|
| |
- update to latest upstream release
|
| |
|
| |
You could probably simplify this by just requiring boost-python36-devel on rhel7 and boost-python3-devel on rhel8, without using the epel-rpm-macros package and the python3_pkgversion macro.