Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package zig for openSUSE:Factory checked in at 2026-01-19 18:37:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zig (Old) and /work/SRC/openSUSE:Factory/.zig.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zig" Mon Jan 19 18:37:56 2026 rev:11 rq:1328022 version:0.15.1 Changes: -------- --- /work/SRC/openSUSE:Factory/zig/zig.changes 2025-10-29 21:06:59.787482854 +0100 +++ /work/SRC/openSUSE:Factory/.zig.new.1928/zig.changes 2026-01-19 18:42:00.615753348 +0100 @@ -2 +2 @@ -Fri Oct 24 10:43:53 UTC 2025 - Mia Herkt <[email protected]> +Sun Oct 19 03:07:03 UTC 2025 - Marcus Rueckert <[email protected]> @@ -4 +4,2 @@ -- Add RPM 4.20 declarative build system macros +- no longer hard enforce the latest version. Require any version + but recommend the latest @@ -7 +8 @@ -Tue Sep 16 13:56:45 UTC 2025 - Andreas Schwab <[email protected]> +Sun Oct 19 00:51:05 UTC 2025 - Marcus Rueckert <[email protected]> @@ -9 +10 @@ -- Remove unused build requires +- No longer obsolete older packages in case we need older versions working @@ -12 +13 @@ -Wed Aug 27 14:05:32 UTC 2025 - Soc Virnyl Estela <[email protected]> +Sat Sep 20 08:51:00 UTC 2025 - Soc Virnyl Estela <[email protected]> @@ -14,132 +15 @@ -- Update to version 0.15.1: - ** CHANGELOG TOO LONG ** - See https://ziglang.org/download/0.15.1/release-notes.html - -------------------------------------------------------------------- -Fri Jan 31 03:58:41 UTC 2025 - Bernhard Wiedemann <[email protected]> - -- Add reproducible.patch to fix reproducible-builds issues (boo#1100677) - https://github.com/ziglang/zig/issues/22663 - -------------------------------------------------------------------- -Sun Jun 23 08:41:29 UTC 2024 - Soc Virnyl Estela <[email protected]> - -- Cleanup specfile -- Workaround for test - * add vendored cache dependencies. -- Fix check section for tests -- Add -DZIG_USE_LLVM_CONFIG=ON option -- Add patch skip-localhost-test.patch -- Add liburing-devel for test suites -- Set mold as linker. Efficient and fast at utilising computer resources - unlike GNU ld. -- Enable tests -- remove some outdated comments in specfile - -------------------------------------------------------------------- -Wed Jun 12 11:45:34 UTC 2024 - Andreas Schwab <[email protected]> - -- Reduce constraints - -------------------------------------------------------------------- -Fri Jun 7 17:56:48 UTC 2024 - Soc Virnyl Estela <[email protected]> - -- Update patchsets for llvm18 changes - ./0000-remove-lld-in-cmakelist.patch - ./0001-invoke-lld.patch - -------------------------------------------------------------------- -Fri Jun 7 17:35:24 UTC 2024 - Soc Virnyl Estela <[email protected]> - -- Update to version 0.13.0: - ** CHANGELOG TOO LONG ** - See https://ziglang.org/download/0.13.0/release-notes.html - * Release focuses more on the LLVM18 support - -------------------------------------------------------------------- -Sat May 4 15:13:58 UTC 2024 - Michael Burge <[email protected]> - -- Update to version 0.12.0: - ** CHANGELOG TOO LONG ** - See https://ziglang.org/download/0.12.0/release-notes.html -- Now requires llvm17, all patches and specfile updated accordingly - -------------------------------------------------------------------- -Tue Nov 7 02:58:39 UTC 2023 - Soc Virnyl Estela <[email protected]> - -- Update macros.zig - * Change %zig to %__zig to avoid confusion between `zig` or `%zig`. - -------------------------------------------------------------------- -Sat Oct 21 06:20:47 UTC 2023 - Soc Virnyl Estela <[email protected]> - -- Drelease-safe is now Doptimize - -------------------------------------------------------------------- -Wed Oct 18 10:55:45 UTC 2023 - Soc Virnyl S. Estela <[email protected]> - -- Change builder to ninja. change c and c++ compiler to clang - -------------------------------------------------------------------- -Thu Sep 7 11:16:24 UTC 2023 - Soc Virnyl Estela <[email protected]> - -- Remove comment since it builds now on latest glibc. - -------------------------------------------------------------------- -Fri Aug 4 06:18:37 UTC 2023 - Soc Virnyl Estela <[email protected]> - -- Update to version 0.11.0: - ** CHANGELOG TOO LONG ** - See https://ziglang.org/download/0.11.0/release-notes.html -- Update patchsets: - * remove 0000-invoke-lld-llvm15.patch - * add 0000-remove-lld-in-cmakelist.patch - * add 0001-invoke-lld.patch - * update 0002-no-lld-libs-and-includes.patch - * change to llvm16 -- Update specfile to use LLVM version 16.x. This will be removed in the future. - -------------------------------------------------------------------- -Thu Feb 2 02:13:28 UTC 2023 - Soc Virnyl Estela <[email protected]> - -- Enable build with riscv64 and %{mips64} arches. - -------------------------------------------------------------------- -Mon Jan 30 13:41:31 UTC 2023 - Soc Virnyl Estela <[email protected]> - -- Declare Group as "Development/Languages/Other" to remove some warnings. - -------------------------------------------------------------------- -Mon Jan 30 13:12:39 UTC 2023 - Soc Virnyl Estela <[email protected]> - -- Fix version required for LLVM on Leap. - -------------------------------------------------------------------- -Wed Jan 25 03:31:57 UTC 2023 - Soc Virnyl Estela <[email protected]> - -- Add rpm-macros to recommends. -- Simplify to just use ExclusiveArch declaration. - -------------------------------------------------------------------- -Tue Jan 24 16:22:36 UTC 2023 - Soc Virnyl Estela <[email protected]> - -- Improve specfile: from %{_rpmconfigdir}/macros.d to %{_rpmmacrodir} - -------------------------------------------------------------------- -Tue Jan 24 15:45:26 UTC 2023 - Soc Virnyl Estela <[email protected]> - -- Add zig-rpmlintrc to specfile as one of sources. - -------------------------------------------------------------------- -Tue Jan 24 12:18:58 UTC 2023 - Soc Virnyl Estela <[email protected]> - -- Increase physical memory to 64G on riscv, and aarch. - * Note: ppc architectures won't build. Placeholder for now. -- Set physical memory to 8G for arm architectures. Placeholder for now -- Set physical memory to 32G for i586 archictectures. -- ExcludeArch for ppc and arm architectures. - -------------------------------------------------------------------- -Mon Jan 23 03:58:18 UTC 2023 - Soc Virnyl Estela <[email protected]> - -- Initial spec for zig 0.10.1 +- Initial package for zig stub package. This package will point to latest zig version. Old: ---- 0000-remove-lld-in-cmakelist.patch 0001-invoke-lld.patch 0002-no-lld-libs-and-includes.patch _constraints macros.zig reproducible.patch skip-localhost-test.patch vendor.tar.zst zig-0.15.1.tar.xz zig-rpmlintrc New: ---- README ----------(Old B)---------- Old: WARN: 0000-remove-lld-in-cmakelist.patch not found in changes Old: WARN: 0001-invoke-lld.patch not found in changes Old: WARN: 0002-no-lld-libs-and-includes.patch not found in changes Old: WARN: reproducible.patch not found in changes Old: WARN: skip-localhost-test.patch not found in changes ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zig.spec ++++++ --- /var/tmp/diff_new_pack.6gpGTP/_old 2026-01-19 18:42:01.255779830 +0100 +++ /var/tmp/diff_new_pack.6gpGTP/_new 2026-01-19 18:42:01.255779830 +0100 @@ -15,63 +15,21 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - -%global _lto_cflags %{nil} -%global __builder ninja +%global version_suffix 0.15 +%global version_current 0.15.1 %bcond_without macro -%bcond_without test Name: zig -Version: 0.15.1 +Version: %{version_current} Release: 0 Summary: Compiler for the Zig language License: MIT Group: Development/Languages/Other URL: https://ziglang.org/ -Source0: https://ziglang.org/download/%{version}/%{name}-%{version}.tar.xz -Source1: macros.%{name} -# The vendored tarball is for tests. This contains the -# cached deps. See https://en.opensuse.org/Zig#Packaging -Source2: vendor.tar.zst -Source3: zig-rpmlintrc -Patch0: 0000-remove-lld-in-cmakelist.patch -Patch1: 0001-invoke-lld.patch -Patch2: 0002-no-lld-libs-and-includes.patch -# Just copying from Archlinux. Thanks -Patch3: https://gitlab.archlinux.org/archlinux/packaging/packages/zig/-/raw/main/skip-localhost-test.patch -# to improve reproducible-builds -- https://github.com/ziglang/zig/pull/22673 -Patch4: reproducible.patch -BuildRequires: clang20 -BuildRequires: clang20-devel -BuildRequires: cmake -BuildRequires: elfutils -BuildRequires: gcc-c++ -BuildRequires: glibc -BuildRequires: glibc-devel -BuildRequires: glibc-devel-32bit -BuildRequires: help2man -BuildRequires: libelf-devel -BuildRequires: liburing-devel -BuildRequires: lld20 -BuildRequires: llvm20-devel -BuildRequires: mold -BuildRequires: ninja -BuildRequires: zlib-devel -BuildRequires: zstd -BuildRequires: (gcc13-c++ if gcc13) -BuildRequires: (gcc14-c++ if gcc14) -BuildRequires: (gcc15-c++ if gcc15) -Requires: lld20 - -# llvm-config is missing targets for ppc and arm architectures. -# ExcludeArch: ppc64 ppc64le %%arm %%ix86 -ExclusiveArch: x86_64 aarch64 riscv64 %{mips64} - -# Zig needs this to work -Requires: %{name}-libs = %{version} +Source0: README +Requires: zig-implementation +Recommends: zig%{version_suffix} -# Zig Macros -Recommends: %{name}-rpm-macros %description General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. @@ -85,102 +43,34 @@ %package libs Summary: Zig Standard Library BuildArch: noarch +Requires: zig-libs-implementation +Recommends: zig-libs%{version_suffix} +#obsolete_zig_versioned zig-libs %description libs -%{name} Standard Library +%{name} %{version_current} Standard Library %if %{with macro} %package rpm-macros Summary: Common RPM macros for %{name} Requires: rpm +Requires: zig-rpm-macros-implementation +Recommends: zig-rpm-macros%{version_suffix} BuildArch: noarch +#obsolete_zig_versioned zig-rpm-macros %description rpm-macros -This package contains common RPM macros for %{name}. +This package contains common RPM macros for %{name} version %{version_current}. %endif %prep -%autosetup -n %{name}-%{version} -p1 -a2 %build -# CMAKE on Tumbleweed has the CMAKE_LINKER_TYPE option -%if 0%{?suse_version} > 1600 - -%cmake \ -%ifarch aarch64 s390x - -DCMAKE_BUILD_TYPE=Release \ -%endif - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_C_COMPILER="clang-20" \ - -DCMAKE_CXX_COMPILER="clang++-20" \ - -DCMAKE_LINKER_TYPE=MOLD \ - -DZIG_SHARED_LLVM=On \ - -DZIG_USE_LLVM_CONFIG=ON \ - -DZIG_TARGET_MCPU="baseline" \ - -DZIG_VERSION:STRING="%{version}" - -%else - -%cmake \ -%ifarch aarch64 s390x - -DCMAKE_BUILD_TYPE=Release \ -%endif - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_C_COMPILER="clang-20" \ - -DCMAKE_CXX_COMPILER="clang++-20" \ - -DZIG_SHARED_LLVM=On \ - -DZIG_USE_LLVM_CONFIG=ON \ - -DZIG_TARGET_MCPU="baseline" \ - -DZIG_VERSION:STRING="%{version}" - -%endif - -# Workaround since CMAKE on Leap does not have -# the CMAKE_LINKER_TYPE option -%if 0%{?suse_version} > 1600 -%cmake_build -%else -mold -run %cmake_build -%endif %install -%cmake_install -mkdir -p %{buildroot}%{_mandir}/man1 -help2man --no-discard-stderr "%{buildroot}%{_bindir}/%{name}" --version-option=version --output=%{buildroot}%{_mandir}/man1/%{name}.1 - -mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d/ -install -p -m644 %{SOURCE1} %{buildroot}%{_rpmmacrodir} - -sed -i -e "s|@@ZIG_VERSION@@|%{version}|" %{buildroot}%{_rpmmacrodir}/macros.%{name} - -mv -v doc/langref.html.in doc/langref.html - -%if 0%{?with test} -%check -./build/stage3/bin/zig build test -Dconfig_h=build/config.h \ - -Dcpu=baseline \ - -Dskip-debug \ - -Dskip-release-safe \ - -Dskip-release-small \ - -Dstatic-llvm=false \ - -Denable-llvm=true \ - -Dskip-non-native=true -%endif +install -D -m 0644 %{S:0} %{buildroot}%{_datadir}/doc/packages/zig/README %files -%license LICENSE -%{_bindir}/zig -%{_mandir}/man1/%{name}.1%{?ext_man} -%doc README.md -%doc lib/docs -%doc doc/langref.html - -%files libs -%dir %{_prefix}/lib/%{name} -%{_prefix}/lib/%{name}/* - -%if %{with macro} -%files rpm-macros -%{_rpmmacrodir}/macros.%{name} -%endif +%defattr(-,root,root,-) +%doc %{_datadir}/doc/packages/zig ++++++ README ++++++ This is a package that depends on the current latest zig for the distribution
