Skip to content

Commit

Permalink
packaging: do not use %py_provides for Python 2
Browse files Browse the repository at this point in the history
The macro is not available in EPEL-7 buildroot and causes the build
of csdiff to fail:
```
error: line 79: Unknown tag: %py_provides    python2-csdiff
```

This partially reverts commit df5c63f.

Closes: #202
  • Loading branch information
kdudka committed Aug 29, 2024
1 parent 16f81cf commit f16db5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-srpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ for context embedding in legacy build environments.
%package -n python2-%{name}
Summary: Python interface to csdiff for Python 2
BuildRequires: python2-devel
%py_provides python2-%{name}
%{?python_provide:%python_provide python2-%{name}}
%description -n python2-%{name}
This package contains the Python 2 binding for the csdiff tool for comparing
Expand Down

0 comments on commit f16db5a

Please sign in to comment.