Update Python 2 dependency declarations to new packaging standards
This commit is contained in:
parent
3581fc76d3
commit
6035a0be1e
@ -9,7 +9,7 @@
|
|||||||
Summary: SELinux policy core utilities
|
Summary: SELinux policy core utilities
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 2.7
|
Version: 2.7
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
# https://github.com/SELinuxProject/selinux/wiki/Releases
|
# https://github.com/SELinuxProject/selinux/wiki/Releases
|
||||||
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/policycoreutils-2.7.tar.gz
|
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/policycoreutils-2.7.tar.gz
|
||||||
@ -51,7 +51,7 @@ Provides: /sbin/restorecon
|
|||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: pam-devel libcgroup-devel libsepol-static >= %{libsepolver} libsemanage-static >= %{libsemanagever} libselinux-devel >= %{libselinuxver} libcap-devel audit-libs-devel >= %{libauditver} gettext
|
BuildRequires: pam-devel libcgroup-devel libsepol-static >= %{libsepolver} libsemanage-static >= %{libsemanagever} libselinux-devel >= %{libselinuxver} libcap-devel audit-libs-devel >= %{libauditver} gettext
|
||||||
BuildRequires: desktop-file-utils dbus-devel dbus-glib-devel
|
BuildRequires: desktop-file-utils dbus-devel dbus-glib-devel
|
||||||
BuildRequires: python-devel python3-devel
|
BuildRequires: python2-devel python3-devel
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
Requires: util-linux grep gawk diffutils rpm sed
|
Requires: util-linux grep gawk diffutils rpm sed
|
||||||
Requires: libsepol >= %{libsepolver} coreutils libselinux-utils >= %{libselinuxver}
|
Requires: libsepol >= %{libsepolver} coreutils libselinux-utils >= %{libselinuxver}
|
||||||
@ -287,13 +287,13 @@ Provides: %{name}-python = %{version}-%{release}
|
|||||||
Obsoletes: %{name}-python < %{version}-%{release}
|
Obsoletes: %{name}-python < %{version}-%{release}
|
||||||
Summary: SELinux policy core python2 utilities
|
Summary: SELinux policy core python2 utilities
|
||||||
Requires:policycoreutils = %{version}-%{release}
|
Requires:policycoreutils = %{version}-%{release}
|
||||||
Requires:libsemanage-python >= %{libsemanagever} libselinux-python libcgroup
|
Requires:python2-libsemanage >= %{libsemanagever} python2-libselinux libcgroup
|
||||||
# no python2-audit-libs yet
|
# no python2-audit-libs yet
|
||||||
Requires:audit-libs-python2 >= %{libauditver}
|
Requires:audit-libs-python2 >= %{libauditver}
|
||||||
Obsoletes: policycoreutils < 2.0.61-2
|
Obsoletes: policycoreutils < 2.0.61-2
|
||||||
Requires: python-IPy
|
Requires: python2-IPy
|
||||||
Requires: checkpolicy
|
Requires: checkpolicy
|
||||||
Requires: setools-python >= 4.1.1
|
Requires: python2-setools >= 4.1.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description -n python2-policycoreutils
|
%description -n python2-policycoreutils
|
||||||
@ -498,6 +498,10 @@ The policycoreutils-restorecond package contains the restorecond service.
|
|||||||
%systemd_postun_with_restart restorecond.service
|
%systemd_postun_with_restart restorecond.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 18 2018 Iryna Shcherbina <shcherbina.iryna@gmail.com> - 2.7-19
|
||||||
|
- Update Python 2 dependency declarations to new packaging standards
|
||||||
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||||
|
|
||||||
* Tue Apr 3 2018 Petr Lautrbach <plautrba@redhat.com> - 2.7-18
|
* Tue Apr 3 2018 Petr Lautrbach <plautrba@redhat.com> - 2.7-18
|
||||||
- Move semodule_* utilities to policycoreutils package (#1562549)
|
- Move semodule_* utilities to policycoreutils package (#1562549)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user