Skip to content

Commit

Permalink
make-srpm.sh: use %py_provides instead of deprecated %python_provide
Browse files Browse the repository at this point in the history
  • Loading branch information
lzaoral committed Aug 1, 2022
1 parent ddae278 commit df5c63f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make-srpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Summary: Python interface to csdiff for Python 2
BuildRequires: boost-python2-devel
%endif
BuildRequires: python2-devel
%{?python_provide:%python_provide python2-%{name}}
%py_provides python2-%{name}
%description -n python2-%{name}
This package contains the Python 2 binding for the csdiff tool for comparing
Expand All @@ -143,7 +143,7 @@ BuildRequires: epel-rpm-macros
BuildRequires: boost-python%{python3_pkgversion}-devel
%endif
BuildRequires: python3-devel
%{?python_provide:%python_provide python3-%{name}}
%py_provides python3-%{name}
%description -n python3-%{name}
This package contains the Python 3 binding for the csdiff tool for comparing
Expand Down

0 comments on commit df5c63f

Please sign in to comment.