Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/mcstrans.git#58844f3d4783905b85849ba3cdff073f95775b13
This commit is contained in:
DistroBaker 2021-01-22 08:56:52 +00:00
parent 1002de8eb2
commit 38982f29dc
3 changed files with 11 additions and 6 deletions

1
.gitignore vendored
View File

@ -30,3 +30,4 @@ mcstrans-0.3.1.tgz
/mcstrans-3.0-rc1.tar.gz
/mcstrans-3.0.tar.gz
/mcstrans-3.1.tar.gz
/mcstrans-3.2-rc1.tar.gz

View File

@ -1,12 +1,12 @@
Summary: SELinux Translation Daemon
Name: mcstrans
Version: 3.1
Release: 3%{?dist}
Version: 3.2
Release: 0.rc1.1%{?dist}
License: GPL+
Url: https://github.com/SELinuxProject/selinux/wiki
Source: https://github.com/SELinuxProject/selinux/releases/download/20200710/mcstrans-3.1.tar.gz
Source: https://github.com/SELinuxProject/selinux/releases/download/3.2-rc1/mcstrans-3.2-rc1.tar.gz
Source2: secolor.conf.8
# fedora-selinux/selinux: git format-patch -N mcstrans-3.1 -- mcstrans
# fedora-selinux/selinux: git format-patch -N 3.2-rc1 -- mcstrans
# i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done
# Patch list start
Patch0001: 0001-mcstrans-Fir-RESOURCE_LEAK-and-USE_AFTER_FREE-coveri.patch
@ -14,6 +14,7 @@ Patch0002: 0002-mcstrans-Fix-USER_AFTER_FREE-problem.patch
Patch0003: 0003-mcstrans-Do-not-accept-incomplete-contexts.patch
# Patch list end
BuildRequires: gcc
BuildRequires: make
BuildRequires: libselinux-devel >= %{version}
BuildRequires: libcap-devel pcre-devel libsepol-devel libsepol-static
BuildRequires: systemd
@ -37,7 +38,7 @@ mcstrans provides an translation daemon to translate SELinux categories
from internal representations to user defined representation.
%prep
%autosetup -p 2 -n mcstrans-%{version}
%autosetup -p 2 -n mcstrans-%{version}-rc1
%build
%set_build_flags
@ -93,6 +94,9 @@ install -m644 %{SOURCE2} %{buildroot}%{_mandir}/man8/
%{_usr}/share/mcstrans/util/*
%changelog
* Fri Jan 22 2021 Petr Lautrbach <plautrba@redhat.com> - 3.2-0.rc1.1
- SELinux userspace 3.2-rc1 release
* Tue Jul 28 2020 Tom Stellard <tstellar@redhat.com> - 3.1-3
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

View File

@ -1 +1 @@
SHA512 (mcstrans-3.1.tar.gz) = 21e9b7a8c9d98cbee61f2eb1c440a51d19ac111a5955c24d365a8784e1aa34fb47a22a108e550c8a4cde4f25ec5afc466126a68e9faedfc796bef83eada93b60
SHA512 (mcstrans-3.2-rc1.tar.gz) = 4d6654894e64f7e27adb14e9ae3f7235ca04233a06bdfa5d393fe2738ef927d5fbd87b6cb334d22758e4933a2c3be11ee076f73f90b97fcdc0fdbd42ffa51a29