parent
ffe0a537b7
commit
2ac2ae346d
1 changed files with 7 additions and 1 deletions
|
|
@ -115,6 +115,8 @@ BuildRequires: python2-devel
|
||||||
%else
|
%else
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: python2-pip
|
||||||
|
BuildRequires: python2-wheel
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||||
Requires: python2-rpm
|
Requires: python2-rpm
|
||||||
%else
|
%else
|
||||||
|
|
@ -134,6 +136,8 @@ desc
|
||||||
Summary: Build system tools python library
|
Summary: Build system tools python library
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||||
Requires: python%{python3_pkgversion}-rpm
|
Requires: python%{python3_pkgversion}-rpm
|
||||||
%else
|
%else
|
||||||
|
|
@ -466,12 +470,13 @@ done
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/*
|
|
||||||
%config(noreplace) /etc/koji.conf
|
%config(noreplace) /etc/koji.conf
|
||||||
%dir /etc/koji.conf.d
|
%dir /etc/koji.conf.d
|
||||||
%doc docs Authors COPYING LGPL
|
%doc docs Authors COPYING LGPL
|
||||||
|
|
||||||
%if 0%{py2_support}
|
%if 0%{py2_support}
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_sbindir}/*
|
||||||
%files -n python2-%{name}
|
%files -n python2-%{name}
|
||||||
%{python2_sitelib}/%{name}
|
%{python2_sitelib}/%{name}
|
||||||
%{python2_sitelib}/%{name}-%{version}.*-info
|
%{python2_sitelib}/%{name}-%{version}.*-info
|
||||||
|
|
@ -479,6 +484,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{py3_support}
|
%if 0%{py3_support}
|
||||||
|
%{_bindir}/*
|
||||||
%files -n python%{python3_pkgversion}-koji
|
%files -n python%{python3_pkgversion}-koji
|
||||||
%{python3_sitelib}/%{name}
|
%{python3_sitelib}/%{name}
|
||||||
%{python3_sitelib}/%{name}-%{version}.*-info
|
%{python3_sitelib}/%{name}-%{version}.*-info
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue