libselinux-2.4-5.fc23

- Use fully versioned arch-specific requires

https://fedoraproject.org/wiki/Packaging:Guidelines#Requiring_Base_Package
This commit is contained in:
Petr Lautrbach 2016-02-26 16:50:49 +01:00
parent c656a64759
commit 1618c3deca
1 changed files with 12 additions and 9 deletions

View File

@ -9,7 +9,7 @@
Summary: SELinux library and simple utilities Summary: SELinux library and simple utilities
Name: libselinux Name: libselinux
Version: 2.4 Version: 2.4
Release: 4%{?dist} Release: 5%{?dist}
License: Public Domain License: Public Domain
Group: System Environment/Libraries Group: System Environment/Libraries
# https://github.com/SELinuxProject/selinux/wiki/Releases # https://github.com/SELinuxProject/selinux/wiki/Releases
@ -24,7 +24,7 @@ BuildRequires: pkgconfig python-devel ruby-devel ruby libsepol-static >= %{libse
%if 0%{?with_python3} %if 0%{?with_python3}
BuildRequires: python3-devel BuildRequires: python3-devel
%endif # if with_python3 %endif # if with_python3
Requires: libsepol >= %{libsepolver} pcre Requires: libsepol%{?_isa} >= %{libsepolver} pcre
Conflicts: filesystem < 3, selinux-policy-base < 3.13.1-138 Conflicts: filesystem < 3, selinux-policy-base < 3.13.1-138
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -46,7 +46,7 @@ decisions. Required for any applications that use the SELinux API.
%package utils %package utils
Summary: SELinux libselinux utilies Summary: SELinux libselinux utilies
Group: Development/Libraries Group: Development/Libraries
Requires: libselinux = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description utils %description utils
The libselinux-utils package contains the utilities The libselinux-utils package contains the utilities
@ -54,7 +54,7 @@ The libselinux-utils package contains the utilities
%package python %package python
Summary: SELinux python bindings for libselinux Summary: SELinux python bindings for libselinux
Group: Development/Libraries Group: Development/Libraries
Requires: libselinux = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description python %description python
The libselinux-python package contains the python bindings for developing The libselinux-python package contains the python bindings for developing
@ -64,7 +64,7 @@ SELinux applications.
%package python3 %package python3
Summary: SELinux python 3 bindings for libselinux Summary: SELinux python 3 bindings for libselinux
Group: Development/Libraries Group: Development/Libraries
Requires: libselinux = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description python3 %description python3
The libselinux-python3 package contains python 3 bindings for developing The libselinux-python3 package contains python 3 bindings for developing
@ -74,7 +74,7 @@ SELinux applications.
%package ruby %package ruby
Summary: SELinux ruby bindings for libselinux Summary: SELinux ruby bindings for libselinux
Group: Development/Libraries Group: Development/Libraries
Requires: libselinux = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: ruby(selinux) Provides: ruby(selinux)
%description ruby %description ruby
@ -84,8 +84,8 @@ SELinux applications.
%package devel %package devel
Summary: Header files and libraries used to build SELinux Summary: Header files and libraries used to build SELinux
Group: Development/Libraries Group: Development/Libraries
Requires: libselinux = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libsepol-devel >= %{libsepolver} Requires: libsepol-devel%{?_isa} >= %{libsepolver}
%description devel %description devel
The libselinux-devel package contains the libraries and header files The libselinux-devel package contains the libraries and header files
@ -94,7 +94,7 @@ needed for developing SELinux applications.
%package static %package static
Summary: Static libraries used to build SELinux Summary: Static libraries used to build SELinux
Group: Development/Libraries Group: Development/Libraries
Requires: libselinux-devel = %{version}-%{release} Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description static %description static
The libselinux-static package contains the static libraries The libselinux-static package contains the static libraries
@ -247,6 +247,9 @@ rm -rf %{buildroot}
%{ruby_vendorarchdir}/selinux.so %{ruby_vendorarchdir}/selinux.so
%changelog %changelog
* Sun Feb 28 2016 Petr Lautrbach <plautrba@redhat.com> 2.4-5
- Use fully versioned arch-specific requires
* Wed Sep 30 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-4 * Wed Sep 30 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-4
- Flush the class/perm string mapping cache on policy reload (#1264051) - Flush the class/perm string mapping cache on policy reload (#1264051)
- Fix restorecon when path has no context - Fix restorecon when path has no context