!32 add obsoletes in spec on master

From: @HuaxinLuGitee
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2020-12-13 20:37:24 +08:00 committed by Gitee
commit 830d2696e9

View File

@ -3,7 +3,7 @@
Name: policycoreutils
Version: 3.1
Release: 5
Release: 6
Summary: Policy core utilities of selinux
License: GPLv2
URL: https://github.com/SELinuxProject
@ -28,6 +28,7 @@ Provides: %{name}-restorecond = %{version}-%{release}
Obsoletes: %{name}-restorecond < %{version}-%{release}
Provides: %{name}-newrole = %{version}-%{release}
Obsoletes: %{name}-newrole < %{version}-%{release}
Obsoletes: python2-policycoreutils
Provides: /sbin/fixfiles
Provides: /sbin/restorecon
@ -261,6 +262,9 @@ find %{buildroot}%{python3_sitelib} %{buildroot}%{python3_sitearch} \
%{_mandir}/*
%changelog
* Sun Dec 13 2020 luhuaxin <1539327763@qq.com> - 3.1-6
- add obsoletes of python2-policycoreutils
* Tue Dec 1 2020 Liquor <lirui130@huawei.com> - 3.1-5
- add the necessary version dependencies