Drop %%_zig_version macro

As discussed in https://bugzilla.redhat.com/show_bug.cgi?id=2142363#c5
This commit is contained in:
Aleksei Bavshin 2023-11-04 05:01:15 +00:00
parent 13becf1d7b
commit 39e7a7ca51
No known key found for this signature in database
GPG Key ID: 4F071603387A382A
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,5 @@
%zig_arches x86_64 aarch64 riscv64 %{mips64}
%_zig_version @@ZIG_VERSION@@
%zig /usr/bin/zig
# expected features for each arch when targeting baseline

View File

@ -44,7 +44,7 @@ BuildRequires: help2man
# for signature verification
BuildRequires: minisign
%if %{with macro} || 0%{?llvm_compat}
%if 0%{?llvm_compat}
BuildRequires: sed
%endif
@ -143,7 +143,6 @@ install -D -pv -m 0644 -t %{buildroot}%{_mandir}/man1/ %{name}.1
%if %{with macro}
install -D -pv -m 0644 %{SOURCE2} %{buildroot}%{_rpmmacrodir}/macros.%{name}
sed -i -e "s|@@ZIG_VERSION@@|%{version}|" %{buildroot}%{_rpmmacrodir}/macros.%{name}
%endif
%if %{with test}
@ -174,6 +173,7 @@ sed -i -e "s|@@ZIG_VERSION@@|%{version}|" %{buildroot}%{_rpmmacrodir}/macros.%{
* Sat Jan 27 2024 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.9.1-6
- Fix build with `--without macro`
- Skip %%check and test dependencies when tests are disabled
- Drop %%_zig_version macro
* Sat Jan 27 2024 Benson Muite <benson_muite@emailplus.org> - 0.9.1-6
- Verify source signature