mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-13 15:10:37 +00:00
163f1f13e0
* feat: remove %go_prep_online from all specs
* packager
* fix: GO111MODULE=on
* a
* aa
* aaa
* hah?
* feat: walker got rusted real?
* fedora moment
* /etc/xdg/walker/
---------
(cherry picked from commit aacc02e713)
Signed-off-by: madomado <madonuko@outlook.com>
Co-authored-by: madomado <madonuko@outlook.com>
52 lines
1.1 KiB
RPMSpec
52 lines
1.1 KiB
RPMSpec
# Generated by go2rpm 1.15.0
|
|
|
|
# https://github.com/dhth/prs
|
|
%global goipath github.com/dhth/prs
|
|
Version: 1.0.0
|
|
|
|
%gometa -f
|
|
|
|
%global common_description %{expand:
|
|
Stay updated on PRs from your terminal.}
|
|
|
|
%global golicenses LICENSE
|
|
%global godocs README.md ui/assets/help.md
|
|
|
|
Name: golang-github-dhth-prs
|
|
Release: 2%?dist
|
|
Summary: Stay updated on PRs from your terminal
|
|
|
|
License: MIT
|
|
URL: %{gourl}
|
|
Source: %{gosource}
|
|
|
|
BuildRequires: anda-srpm-macros
|
|
BuildRequires: git-core
|
|
|
|
Packager: sadlerm <lerm@chromebooks.lol>
|
|
|
|
%description %{common_description}
|
|
|
|
%gopkg
|
|
|
|
%prep
|
|
%git_clone https://%{goipath} v%{version}
|
|
%goprep -A
|
|
|
|
%build
|
|
%define gomodulesmode GO111MODULE=on
|
|
%gobuild -o %{_builddir}/bin/prs .
|
|
|
|
%install
|
|
install -m 0755 -vd %{buildroot}%{_bindir}
|
|
install -m 0755 -vp %{_builddir}/bin/* %{buildroot}%{_bindir}/
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md ui/assets/help.md
|
|
%{_bindir}/prs
|
|
|
|
%changelog
|
|
* Sun Feb 9 2025 sadlerm <lerm@chromebooks.lol>
|
|
- Initial package
|