diff --git a/.crun.metadata b/.crun.metadata index 8265173..36de69d 100644 --- a/.crun.metadata +++ b/.crun.metadata @@ -1 +1 @@ -c79a414d0b980611ba929a7526b7b4c30c2b3b1d SOURCES/crun-0.18.tar.gz +c34de35a8489e23778b9c7b860945b870b3f3339 SOURCES/crun-1.0.tar.gz diff --git a/.gitignore b/.gitignore index 8a10d4c..db0840a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/crun-0.18.tar.gz +SOURCES/crun-1.0.tar.gz diff --git a/SOURCES/0001-revert-tests-build-init-always-statically.patch b/SOURCES/0001-revert-tests-build-init-always-statically.patch deleted file mode 100644 index 6000c58..0000000 --- a/SOURCES/0001-revert-tests-build-init-always-statically.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 320a7ec41342c95fd6bdc500cd207eb0ea5cda6a Mon Sep 17 00:00:00 2001 -From: Giuseppe Scrivano -Date: Fri, 19 Feb 2021 13:25:37 +0100 -Subject: [PATCH] Revert "tests: build init always statically" - -This reverts commit a0f322a49a10a014a447b505eda5923a8e6aff7c as it -causes issues on RHEL 8. - -Signed-off-by: Giuseppe Scrivano ---- - Makefile.am | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index e39dc3b..2b8e18b 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -14,7 +14,7 @@ srpm: dist-gzip rpm/crun.spec - $(MAKE) -C $(WD) dist-gzip - rpmbuild -bs --define "_sourcedir $(WD)" --define "_specdir $(WD)" --define "_builddir $(WD)" --define "_srcrpmdir $(WD)" --define "_rpmdir $(WD)" --define "_buildrootdir $(WD)/.build" rpm/crun.spec - --CLEANFILES = crun.spec tests/init -+CLEANFILES = crun.spec - - lib_LTLIBRARIES = libcrun.la - -@@ -79,9 +79,9 @@ noinst_PROGRAMS = tests/init $(UNIT_TESTS) - - TESTS_LDADD = libcrun_testing.a $(FOUND_LIBS) - --tests/init: tests/init.c -- $(CC) -static-libgcc --static -o $@ $< --EXTRA_DIST += tests/init.c -+tests_init_LDADD = -+tests_init_LDFLAGS = -static-libgcc -all-static -+tests_init_SOURCES = tests/init.c $(UNIT_TESTS) - - tests_tests_libcrun_utils_CFLAGS = -I $(abs_top_builddir)/libocispec/src -I $(abs_top_srcdir)/libocispec/src -I $(abs_top_builddir)/src -I $(abs_top_srcdir)/src - tests_tests_libcrun_utils_SOURCES = tests/tests_libcrun_utils.c --- -2.29.2 - - diff --git a/SPECS/crun.spec b/SPECS/crun.spec index ec47b54..e0f9c54 100644 --- a/SPECS/crun.spec +++ b/SPECS/crun.spec @@ -1,9 +1,8 @@ Summary: OCI runtime written in C Name: crun -Version: 0.18 +Version: 1.0 Release: 1%{?dist} Source0: https://github.com/containers/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz -Patch0: 0001-revert-tests-build-init-always-statically.patch License: GPLv2+ URL: https://github.com/containers/crun # https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures @@ -22,7 +21,7 @@ BuildRequires: libselinux-devel BuildRequires: python3-libmount BuildRequires: libtool BuildRequires: go-md2man -Provides: oci-runtime = 2 +Provides: oci-runtime %description crun is a runtime for running OCI containers @@ -39,7 +38,7 @@ export CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFF %install %make_install -rm -rf $RPM_BUILD_ROOT/usr/lib* +rm -rf %{buildroot}%{_prefix}/lib* %files %license COPYING @@ -47,6 +46,43 @@ rm -rf $RPM_BUILD_ROOT/usr/lib* %{_mandir}/man1/* %changelog +* Thu Aug 26 2021 Jindrich Novy - 1.0-1 +- update to https://github.com/containers/crun/releases/tag/1.0 +- Related: #1934415 + +* Fri Aug 06 2021 Jindrich Novy - 0.21-3 +- remove BR: criu-devel and leave it just for RHEL9 +- Related: #1934415 + +* Fri Aug 06 2021 Jindrich Novy - 0.21-2 +- do not use versioned provide +- BR: criu-devel +- Related: #1934415 + +* Tue Jul 27 2021 Jindrich Novy - 0.21-1 +- update to https://github.com/containers/crun/releases/tag/0.21 +- Related: #1934415 + +* Thu Jun 10 2021 Jindrich Novy - 0.20.1-1 +- update to https://github.com/containers/crun/releases/tag/0.20.1 +- Related: #1934415 + +* Wed Jun 02 2021 Jindrich Novy - 0.20-1 +- update to https://github.com/containers/crun/releases/tag/0.20 +- Related: #1934415 + +* Mon Apr 26 2021 Jindrich Novy - 0.19.1-1 +- update to https://github.com/containers/crun/releases/tag/0.19.1 +- Related: #1934415 + +* Wed Apr 07 2021 Jindrich Novy - 0.19-2 +- remove unused patch reference from spec +- Related: #1934415 + +* Tue Apr 06 2021 Jindrich Novy - 0.19-1 +- update to https://github.com/containers/crun/releases/tag/0.19 +- Related: #1934415 + * Fri Feb 19 2021 Jindrich Novy - 0.18-1 - allow to build without glibc-static (thanks to Giuseppe Scrivano) - Related: #1883490