File tree Expand file tree Collapse file tree 3 files changed +20
-20
lines changed
Expand file tree Collapse file tree 3 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 11Name: checkpolicy
2- Version: 3.2.61.1
2+ Version: 3.3.62.2
33Release: 1%{?dist }
44Group: System Environment/Base
5- Summary: policycoreutils package
5+ Summary: SELinux policy compiler
66License: GPLv2
77%description
88
@@ -18,13 +18,13 @@ BuildRequires: flex
1818%configure
1919
2020%install
21- wget https://github.com/SELinuxProject/selinux/releases/download/3.2 /libsepol-3.2 .tar.gz
22- tar -xvf libsepol-3.2 .tar.gz
23- cd libsepol-3.2
21+ wget https://github.com/SELinuxProject/selinux/releases/download/3.3 /libsepol-3.3 .tar.gz
22+ tar -xvf libsepol-3.3 .tar.gz
23+ cd libsepol-3.3
2424make CC=gcc
2525cd ..
26- wget https://github.com/SELinuxProject/selinux/releases/download/3.2 /checkpolicy-3.2 .tar.gz
27- tar -xvf checkpolicy-3.2 .tar.gz
28- cd checkpolicy-3.2
26+ wget https://github.com/SELinuxProject/selinux/releases/download/3.3 /checkpolicy-3.3 .tar.gz
27+ tar -xvf checkpolicy-3.3 .tar.gz
28+ cd checkpolicy-3.3
2929make CC=gcc
3030%files
Original file line number Diff line number Diff line change 11Name: policycoreutils
2- Version: 3.2
2+ Version: 3.3
33Release: 1%{?dist }
44Group: System Environment/Base
5- Summary: policycoreutils package
5+ Summary: SELinux policy core utilities
66License: GPLv2
77%description
88
@@ -20,22 +20,22 @@ BuildRequires: wget
2020BuildRequires: tar
2121
2222%install
23- wget https://github.com/SELinuxProject/selinux/releases/download/3.2 /libsepol-3.2 .tar.gz
23+ wget https://github.com/SELinuxProject/selinux/releases/download/3.3 /libsepol-3.3 .tar.gz
2424update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 7
25- tar -xvf libsepol-3.2 .tar.gz
26- cd libsepol-3.2
25+ tar -xvf libsepol-3.3 .tar.gz
26+ cd libsepol-3.3
2727make CC=gcc
2828make install
2929cd ..
30- wget https://github.com/SELinuxProject/selinux/releases/download/3.2 /libselinux-3.2 .tar.gz
31- tar -xvf libselinux-3.2 .tar.gz
32- cd libselinux-3.2
30+ wget https://github.com/SELinuxProject/selinux/releases/download/3.3 /libselinux-3.3 .tar.gz
31+ tar -xvf libselinux-3.3 .tar.gz
32+ cd libselinux-3.3
3333make CC=gcc
3434make install
3535cd ..
36- wget https://github.com/SELinuxProject/selinux/releases/download/3.2 /policycoreutils-3.2 .tar.gz
37- tar -xvf policycoreutils-3.2 .tar.gz
38- cd policycoreutils-3.2
36+ wget https://github.com/SELinuxProject/selinux/releases/download/3.3 /policycoreutils-3.3 .tar.gz
37+ tar -xvf policycoreutils-3.3 .tar.gz
38+ cd policycoreutils-3.3
3939make CC=gcc
4040make install
4141%files
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ COPY rpmbuild/SOURCES/ /usr/src/packages/SOURCES/
2626RUN zypper -n install $(rpmspec --parse /usr/src/packages/SPECS/sles_dependencies.spec | grep BuildRequires | cut -d' ' -f2 | xargs)
2727RUN rpmbuild -bb /usr/src/packages/SPECS/policycoreutils.spec
2828RUN rpmbuild -bb /usr/src/packages/SPECS/checkpolicy.spec
29- RUN rpm -i /usr/src/packages/RPMS/s390x/policycoreutils-3.2 -1.s390x.rpm && rpm -i /usr/src/packages/RPMS/s390x/checkpolicy-3.2.61.1 -1.s390x.rpm \
29+ RUN rpm -i /usr/src/packages/RPMS/s390x/policycoreutils-3.3 -1.s390x.rpm && rpm -i /usr/src/packages/RPMS/s390x/checkpolicy-3.3.62.2 -1.s390x.rpm \
3030&& sles_version=$(lsb_release -r | rev | cut -c1) \
3131&& opensuse_repo="https://download.opensuse.org/repositories/security:SELinux/SLE_15_SP$sles_version/security:SELinux.repo" \
3232&& zypper addrepo $opensuse_repo \
You can’t perform that action at this time.
0 commit comments