Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[f40] feat(srpm-macros): move sources outside of this repo (#1905) #1951

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions anda/terra/srpm-macros/anda-srpm-macros.spec
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
Expand All @@ -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

Expand Down
17 changes: 0 additions & 17 deletions anda/terra/srpm-macros/macros.anda

This file was deleted.

45 changes: 0 additions & 45 deletions anda/terra/srpm-macros/macros.caching

This file was deleted.

115 changes: 0 additions & 115 deletions anda/terra/srpm-macros/macros.cargo_extra

This file was deleted.

6 changes: 0 additions & 6 deletions anda/terra/srpm-macros/macros.go_extra

This file was deleted.

5 changes: 0 additions & 5 deletions anda/terra/srpm-macros/macros.nim_extra

This file was deleted.

1 change: 1 addition & 0 deletions anda/terra/srpm-macros/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(gh("terrapkg/srpm-macros"));
Loading