diff --git a/moby.spec b/moby.spec index 003227e9f2f59ff3f3a7cf9c11b87cb188624e2d..0299954396ed59da83fe2da4741166c06a66adc4 100644 --- a/moby.spec +++ b/moby.spec @@ -7,7 +7,7 @@ Name: moby Version: 25.0.3 -Release: 1 +Release: 2 Summary: The open-source application container engine License: ASL 2.0 URL: https://www.docker.com @@ -101,6 +101,11 @@ pushd %{_builddir}/%{_source_engine} AUTO_GOPATH=1 VERSION=%{version} PRODUCT=docker hack/make.sh dynbinary popd +%if "%toolchain" == "clang" +export CFLAGS="$CFLAGS -Wno-strict-prototypes" +export CXXFLAGS="$CXXFLAGS -Wno-strict-prototypes" +%endif + # build docker-tini pushd %{_builddir}/%{_source_docker_init} cmake . @@ -190,6 +195,9 @@ fi %systemd_postun_with_restart docker.service %changelog +* Mon Mar 04 2024 jchzhou - 25.0.3-2 +- DESC: add a workaround for clang building issues + * Tue Feb 06 2024 shechenglong - 25.0.3-1 - DESC:update to 25.0.3