Drop %%_zig_version macro
As discussed in https://bugzilla.redhat.com/show_bug.cgi?id=2142363#c5
This commit is contained in:
parent
13becf1d7b
commit
39e7a7ca51
@ -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
|
||||
|
4
zig.spec
4
zig.spec
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user