!5 remove python2
From: @eaglegai Reviewed-by: @orange-snn Signed-off-by: @orange-snn
This commit is contained in:
commit
634dfaab77
27
newt.spec
27
newt.spec
@ -1,13 +1,13 @@
|
|||||||
Name: newt
|
Name: newt
|
||||||
Version: 0.52.21
|
Version: 0.52.21
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A library for text mode user interfaces
|
Summary: A library for text mode user interfaces
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
URL: https://pagure.io/newt
|
URL: https://pagure.io/newt
|
||||||
Source: https://pagure.io/releases/newt/newt-%{version}.tar.gz
|
Source: https://pagure.io/releases/newt/newt-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc popt-devel python3-devel slang-devel
|
BuildRequires: gcc popt-devel python3-devel slang-devel
|
||||||
BuildRequires: python2-devel docbook-utils lynx
|
BuildRequires: docbook-utils lynx
|
||||||
|
|
||||||
Provides: snack = %{version}-%{release}
|
Provides: snack = %{version}-%{release}
|
||||||
Obsoletes: %{name}-static
|
Obsoletes: %{name}-static
|
||||||
@ -29,18 +29,6 @@ Requires: slang-devel %{name}%{?_isa} = %{version}-%{release}
|
|||||||
The devel for %{name}. Install %{name}-devel can help you develop
|
The devel for %{name}. Install %{name}-devel can help you develop
|
||||||
applications.
|
applications.
|
||||||
|
|
||||||
%package -n python2-newt
|
|
||||||
%{?python_provide:%python_provide python2-newt}
|
|
||||||
Provides: %{name}-python = %{version}-%{release}
|
|
||||||
Provides: %{name}-python%{?_isa} = %{version}-%{release}
|
|
||||||
Obsoletes: %{name}-python < %{version}-%{release}
|
|
||||||
Summary: Python 2 bindings for %{name}
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n python2-newt
|
|
||||||
The python2-%{name} package contains the Python 2 bindings for the %{name} library
|
|
||||||
providing a python API for creating text mode interfaces.
|
|
||||||
|
|
||||||
%package -n python3-newt
|
%package -n python3-newt
|
||||||
%{?python_provide:%python_provide python3-newt}
|
%{?python_provide:%python_provide python3-newt}
|
||||||
Provides: %{name}-python3 = %{version}-%{release}
|
Provides: %{name}-python3 = %{version}-%{release}
|
||||||
@ -88,11 +76,6 @@ make test
|
|||||||
%{_libdir}/libnewt.a
|
%{_libdir}/libnewt.a
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%files -n python2-newt
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc peanuts.py popcorn.py
|
|
||||||
%{python2_sitearch}/*
|
|
||||||
|
|
||||||
%files -n python3-newt
|
%files -n python3-newt
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc peanuts.py popcorn.py
|
%doc peanuts.py popcorn.py
|
||||||
@ -105,6 +88,12 @@ make test
|
|||||||
%{_mandir}/man1/whiptail.1*
|
%{_mandir}/man1/whiptail.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 29 2020 gaihuiying <gaihuiying1@huawei.com> - 0.52.21-4
|
||||||
|
- Type:requirement
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove python2
|
||||||
|
|
||||||
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.52.21-3
|
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.52.21-3
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user