Skip to content

Commit df5c63f

Browse files
committed
make-srpm.sh: use %py_provides instead of deprecated %python_provide
1 parent ddae278 commit df5c63f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make-srpm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Summary: Python interface to csdiff for Python 2
122122
BuildRequires: boost-python2-devel
123123
%endif
124124
BuildRequires: python2-devel
125-
%{?python_provide:%python_provide python2-%{name}}
125+
%py_provides python2-%{name}
126126
127127
%description -n python2-%{name}
128128
This package contains the Python 2 binding for the csdiff tool for comparing
@@ -143,7 +143,7 @@ BuildRequires: epel-rpm-macros
143143
BuildRequires: boost-python%{python3_pkgversion}-devel
144144
%endif
145145
BuildRequires: python3-devel
146-
%{?python_provide:%python_provide python3-%{name}}
146+
%py_provides python3-%{name}
147147
148148
%description -n python3-%{name}
149149
This package contains the Python 3 binding for the csdiff tool for comparing

0 commit comments

Comments
 (0)