mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
* Package geteltorito
* add noarch
(cherry picked from commit e20bc49052)
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "geteltorito.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
%global commit 46474a4a86692b7c38ecdb4f135bee7badbfa8b0
|
||||
%global commit_date 20250116
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: geteltorito
|
||||
Version: %{commit_date}.%{shortcommit}
|
||||
Release: 1%?dist
|
||||
Summary: An El Torito boot image extractor
|
||||
License: GPLv3
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
Url: https://github.com/rainer042/geteltorito
|
||||
Source0: %{url}/archive/%{commit}.tar.gz
|
||||
BuildArch: noarch
|
||||
Requires: perl
|
||||
|
||||
%description
|
||||
%summary
|
||||
|
||||
%prep
|
||||
%autosetup -n geteltorito-%commit
|
||||
|
||||
%install
|
||||
install -Dm 755 geteltorito.pl %buildroot%{_bindir}/geteltorito
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README
|
||||
%{_bindir}/geteltorito
|
||||
|
||||
%changelog
|
||||
* Sat Feb 01 2025 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Package geteltorito
|
||||
@@ -0,0 +1,5 @@
|
||||
rpm.global("commit", gh_commit("rainer042/geteltorito"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
Reference in New Issue
Block a user