!148 Fix Obsoletes in spec

From: @fly_fzc 
Reviewed-by: @ziyangc, @xiezhipeng1 
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2022-09-13 03:18:14 +00:00 committed by Gitee
commit dd0323f06d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
Summary: Library providing XML and HTML support Summary: Library providing XML and HTML support
Name: libxml2 Name: libxml2
Version: 2.9.14 Version: 2.9.14
Release: 1 Release: 2
License: MIT License: MIT
Group: Development/Libraries Group: Development/Libraries
Source: https://download.gnome.org/sources/%{name}/2.9/%{name}-%{version}.tar.xz Source: https://download.gnome.org/sources/%{name}/2.9/%{name}-%{version}.tar.xz
@ -37,7 +37,7 @@ Requires: libxml2 = %{version}-%{release}
Requires: zlib-devel Requires: zlib-devel
Requires: xz-devel Requires: xz-devel
Requires: pkgconfig Requires: pkgconfig
Obsoletes: %{name}-static Obsoletes: %{name}-static < %{version}-%{release}
Provides: %{name}-static Provides: %{name}-static
%description devel %description devel
@ -165,6 +165,9 @@ rm -fr %{buildroot}
%changelog %changelog
* Tue Sep 13 2022 fuanan <fuanan3@h-partners.com> - 2.9.14-2
- Fix Obsoletes in spec
* Wed Jul 13 2022 fuanan <fuanan3@h-partners.com> - 2.9.14-1 * Wed Jul 13 2022 fuanan <fuanan3@h-partners.com> - 2.9.14-1
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA