add Obsoletes '< version' in spec
(cherry picked from commit df764f26c358703b3e1b52c431d6462989cb7954)
This commit is contained in:
parent
bda8748f78
commit
76d20afc87
10
libdnet.spec
10
libdnet.spec
@ -1,6 +1,6 @@
|
|||||||
Name: libdnet
|
Name: libdnet
|
||||||
Version: 1.12
|
Version: 1.12
|
||||||
Release: 28
|
Release: 29
|
||||||
Summary: Simple portable interface work with low-level networking routines
|
Summary: Simple portable interface work with low-level networking routines
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -37,7 +37,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
%package -n python2-%{name}
|
%package -n python2-%{name}
|
||||||
%{?python_provide:%python_provide python2-%{name}}
|
%{?python_provide:%python_provide python2-%{name}}
|
||||||
Provides: %{name}-python = %{version}-%{release}
|
Provides: %{name}-python = %{version}-%{release}
|
||||||
Obsoletes: %{name}-python
|
Obsoletes: %{name}-python < %{version}-%{release}
|
||||||
Summary: Python bindings for %{name}
|
Summary: Python bindings for %{name}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
@ -100,5 +100,11 @@ popd
|
|||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man8/*.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 18 2022 xingwei <xingwei14@h-partners.com> - 1.12-29
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: add Obsoletes '< version' in spec
|
||||||
|
|
||||||
* Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.12 - 28
|
* Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.12 - 28
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user