-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: sync srpm-macros to f38 (#1190)
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]> - 0.1.6-1 | ||
- Add nim_c, nim_tflags and nim_lflags | ||
|
||
* Thu Aug 3 2023 madonuko <[email protected]> - 0.1.4-1 | ||
- Add go_build_online and go_prep_online | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |