Update to 69

Resolves: rhbz#2132250
This commit is contained in:
imagebuilder-bots+imagebuilder-bot@redhat.com 2022-10-18 16:40:12 +00:00
parent a98719b359
commit e9b1f2469f
3 changed files with 12 additions and 5 deletions

1
.gitignore vendored
View File

@ -56,3 +56,4 @@
/osbuild-63.tar.gz
/osbuild-64.tar.gz
/osbuild-65.tar.gz
/osbuild-69.tar.gz

View File

@ -1,7 +1,7 @@
%global forgeurl https://github.com/osbuild/osbuild
%global selinuxtype targeted
Version: 65
Version: 69
%forgemeta
@ -100,7 +100,8 @@ to build OSTree based images.
%package selinux
Summary: SELinux policies
Requires: %{name} = %{version}-%{release}
BuildRequires: selinux-policy
Requires: selinux-policy-%{selinuxtype}
Requires(post): selinux-policy-%{selinuxtype}
BuildRequires: selinux-policy-devel
%{?selinux_requires}
@ -129,7 +130,7 @@ make man
make -f /usr/share/selinux/devel/Makefile osbuild.pp
bzip2 -9 osbuild.pp
%pre
%pre selinux
%selinux_relabel_pre -s %{selinuxtype}
%install
@ -173,6 +174,7 @@ install -p -m 0644 -t %{buildroot}%{_mandir}/man5/ docs/*.5
# SELinux
install -D -m 0644 -t %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype} %{name}.pp.bz2
install -D -m 0644 -t %{buildroot}%{_mandir}/man8 selinux/%{name}_selinux.8
install -D -p -m 0644 selinux/osbuild.if %{buildroot}%{_datadir}/selinux/devel/include/distributed/%{name}.if
# Udev rules
mkdir -p %{buildroot}%{_udevrulesdir}
@ -230,7 +232,8 @@ exit 0
%files selinux
%{_datadir}/selinux/packages/%{selinuxtype}/%{name}.pp.bz2
%{_mandir}/man8/%{name}_selinux.8.*
%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{name}
%{_datadir}/selinux/devel/include/distributed/%{name}.if
%ghost %verify(not md5 size mode mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{name}
%post selinux
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/%{name}.pp.bz2
@ -248,6 +251,9 @@ fi
%changelog
* Tue Oct 18 2022 imagebuilder-bots+imagebuilder-bot@redhat.com <imagebuilder-bot> - 69-1
- New upstream release
* Fri Aug 26 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 65-1
- New upstream release

View File

@ -1 +1 @@
SHA512 (osbuild-65.tar.gz) = 505b96866290461c22703b46f6e50574dc1fafb5d335a0c464bb22f02ddd02440eed1474de4034c1b9f63871718b3aff580e09c8a354af111fdde0901aa2711b
SHA512 (osbuild-69.tar.gz) = 8d87ac58abeb3fe2da01a8034fa9fc925452d00d7799b8e758c71f6653d63a20cd844d5d44ec5ed10783285fa2bf2e67f5a8261e516b64b7d56b6beefd0848b0