-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
(cherry picked from commit f179d85) Co-authored-by: madomado <[email protected]>
- Loading branch information
Showing
7 changed files
with
13 additions
and
202 deletions.
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,15 +1,11 @@ | ||
Name: anda-srpm-macros | ||
Version: 0.1.7 | ||
Release: 1%{?dist} | ||
Release: 2%{?dist} | ||
Summary: SRPM macros for extra Fedora packages | ||
|
||
License: MIT | ||
# URL: | ||
Source0: macros.cargo_extra | ||
Source1: macros.caching | ||
Source2: macros.anda | ||
Source3: macros.go_extra | ||
Source4: macros.nim_extra | ||
URL: https://github.com/terrapkg/srpm-macros | ||
Source0: %url/archive/refs/tags/v%{version}.tar.gz | ||
|
||
Recommends: rust-packaging | ||
Requires: git-core | ||
|
@@ -21,25 +17,27 @@ BuildArch: noarch | |
%{summary} | ||
|
||
%prep | ||
%autosetup -n srpm-macros-%version | ||
|
||
%build | ||
|
||
%install | ||
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} | ||
for file in ./macros.*; do | ||
install -Dpm644 -t %buildroot%_rpmmacrodir $file | ||
done | ||
|
||
%files | ||
%{_rpmmacrodir}/macros.cargo_extra | ||
%{_rpmmacrodir}/macros.caching | ||
%{_rpmmacrodir}/macros.anda | ||
%{_rpmmacrodir}/macros.caching | ||
%{_rpmmacrodir}/macros.cargo_extra | ||
%{_rpmmacrodir}/macros.go_extra | ||
%{_rpmmacrodir}/macros.nim_extra | ||
|
||
|
||
%changelog | ||
* Wed Aug 14 2024 madonuko <[email protected]> - 0.1.7-2 | ||
- Move sources outside of packages repo | ||
|
||
* Wed Mar 13 2024 madonuko <[email protected]> - 0.1.6-1 | ||
- Add nim_c, nim_tflags and nim_lflags | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
rpm.version(gh("terrapkg/srpm-macros")); |