mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-07 12:22:19 +00:00
chore: sync srpm-macros to f38 (#1190)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Name: anda-srpm-macros
|
||||
Version: 0.1.5
|
||||
Version: 0.1.6
|
||||
Release: 1%{?dist}
|
||||
Summary: SRPM macros for extra Fedora packages
|
||||
|
||||
@@ -9,6 +9,7 @@ Source0: macros.cargo_extra
|
||||
Source1: macros.caching
|
||||
Source2: macros.anda
|
||||
Source3: macros.go_extra
|
||||
Source4: macros.nim_extra
|
||||
|
||||
Recommends: rust-packaging
|
||||
Requires: git-core
|
||||
@@ -28,15 +29,20 @@ install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE0}
|
||||
install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE1}
|
||||
install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE2}
|
||||
install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE3}
|
||||
install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE4}
|
||||
|
||||
%files
|
||||
%{_rpmmacrodir}/macros.cargo_extra
|
||||
%{_rpmmacrodir}/macros.caching
|
||||
%{_rpmmacrodir}/macros.anda
|
||||
%{_rpmmacrodir}/macros.go_extra
|
||||
%{_rpmmacrodir}/macros.nim_extra
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 13 2024 madonuko <mado@fyralabs.com> - 0.1.6-1
|
||||
- Add nim_c, nim_tflags and nim_lflags
|
||||
|
||||
* Thu Aug 3 2023 madonuko <mado@fyralabs.com> - 0.1.4-1
|
||||
- Add go_build_online and go_prep_online
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
%nim_tflags %(echo "%?build_cflags -fPIE" | sed "s/-O2/-Ofast/g" | sed "s/-Wall//g")
|
||||
|
||||
%nim_lflags %?build_ldflags -pie
|
||||
|
||||
%nim_c -d:release -t:"%nim_tflags" -l:"%nim_lflags"
|
||||
Reference in New Issue
Block a user