remove python2
This commit is contained in:
parent
a72a059d06
commit
5b2b0f6e4f
@ -1,7 +1,7 @@
|
|||||||
%bcond_without python3
|
%bcond_without python3
|
||||||
Name: deltarpm
|
Name: deltarpm
|
||||||
Version: 3.6.2
|
Version: 3.6.2
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: deltarpm contains the difference between an old and a new version of an RPM package.
|
Summary: deltarpm contains the difference between an old and a new version of an RPM package.
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://gitorious.org/deltarpm/deltarpm
|
URL: http://gitorious.org/deltarpm/deltarpm
|
||||||
@ -9,7 +9,7 @@ Source0: https://github.com/rpm-software-management/deltarpm/archive/3.6.
|
|||||||
|
|
||||||
BuildRequires: gcc bzip2-devel perl-generators xz-devel rpm-devel popt-devel zlib-devel
|
BuildRequires: gcc bzip2-devel perl-generators xz-devel rpm-devel popt-devel zlib-devel
|
||||||
BuildRequires: %{_vendor}-rpm-config
|
BuildRequires: %{_vendor}-rpm-config
|
||||||
BuildRequires: python2-devel python3-devel gdb
|
BuildRequires: python3-devel gdb
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Delta RPM packages contain the difference between an old and a new
|
Delta RPM packages contain the difference between an old and a new
|
||||||
@ -24,14 +24,6 @@ BuildArch: noarch
|
|||||||
%description help
|
%description help
|
||||||
This package provides help document for deltarpm.
|
This package provides help document for deltarpm.
|
||||||
|
|
||||||
%package -n python2-%{name}
|
|
||||||
Summary: Python2 bindings for deltarpm
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
%{?python_provide:%python_provide python2-%{name}}
|
|
||||||
%description -n python2-%{name}
|
|
||||||
Python2 bindings for deltarpm.
|
|
||||||
|
|
||||||
%package -n python3-%{name}
|
%package -n python3-%{name}
|
||||||
Summary: Python3 bindings for deltarpm
|
Summary: Python3 bindings for deltarpm
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@ -74,11 +66,6 @@ deltarpms.
|
|||||||
%doc README NEWS
|
%doc README NEWS
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%files -n python2-%{name}
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{python2_sitearch}/%{name}.py*
|
|
||||||
%{python2_sitearch}/_%{name}module.so
|
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python3_sitearch}/%{name}.py
|
%{python3_sitearch}/%{name}.py
|
||||||
@ -89,6 +76,12 @@ deltarpms.
|
|||||||
%{_bindir}/drpmsync
|
%{_bindir}/drpmsync
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 29 2020 Liquor <lirui130@huawei.com> - 3.6.2-4
|
||||||
|
- Type:requirement
|
||||||
|
- ID: NA
|
||||||
|
- SUG: NA
|
||||||
|
- DESC:remove python2
|
||||||
|
|
||||||
* Fri Oct 16 2020 Liquor <lirui130@huawei.com> - 3.6.2-3
|
* Fri Oct 16 2020 Liquor <lirui130@huawei.com> - 3.6.2-3
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID: NA
|
- ID: NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user