Drop %%_zig_version macro
As discussed in https://bugzilla.redhat.com/show_bug.cgi?id=2142363#c5
This commit is contained in:
parent
895fd3fec7
commit
8a19df627b
2 changed files with 2 additions and 3 deletions
|
|
@ -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.%{
|
|||
* Thu Oct 19 2023 Aleksei Bavshin <alebastr@fedoraproject.org> - 0.9.1-5
|
||||
- Fix build with `--without macro`
|
||||
- Skip %%check and test dependencies when tests are disabled
|
||||
- Drop %%_zig_version macro
|
||||
|
||||
* Thu Oct 19 2023 Benson Muite <benson_muite@emailplus.org> - 0.9.1-5
|
||||
- Verify source signature
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue