public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tmux-top] epel10: [packit] 0.1.1 upstream release
@ 2026-09-29 12:28 Tomas Tomecek
0 siblings, 0 replies; only message in thread
From: Tomas Tomecek @ 2026-09-29 12:28 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/tmux-top
Branch : epel10
Commit : 0fa6b208266f8f0be7a13d8709f0c5e2eac58ea3
Author : Tomas Tomecek <ttomecek@redhat.com>
Date : 2022-06-08T15:44:26+02:00
Stats : +60/-19 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/tmux-top/c/0fa6b208266f8f0be7a13d8709f0c5e2eac58ea3?branch=epel10
Log:
[packit] 0.1.1 upstream release
Upstream tag: 0.1.1
Upstream commit: eac16e39
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
---
diff --git a/.gitignore b/.gitignore
index b062cc9..7ab0035 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/tmux-top-a9b9fb3.tar.gz
/tmux-top-0035f70.tar.gz
/tmux-top-910ef1f.tar.gz
+/tmux-top-0.1.1.tar.gz
diff --git a/.packit.yaml b/.packit.yaml
new file mode 100644
index 0000000..9d8e188
--- /dev/null
+++ b/.packit.yaml
@@ -0,0 +1,16 @@
+upstream_package_name: tmux-top
+downstream_package_name: tmux-top
+specfile_path: tmux-top.spec
+jobs:
+- job: copr_build
+ targets:
+ - fedora-all
+ trigger: pull_request
+- job: tests
+ targets:
+ - fedora-all
+ trigger: pull_request
+- job: propose_downstream
+ trigger: release
+ dist_git_branches:
+ - fedora-all
diff --git a/README.packit b/README.packit
new file mode 100644
index 0000000..4a9905b
--- /dev/null
+++ b/README.packit
@@ -0,0 +1,3 @@
+This repository is maintained by packit.
+https://packit.dev/
+The file was generated using packit 0.50.1.dev10+g63f9208.
diff --git a/sources b/sources
index af1cca3..6760226 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tmux-top-910ef1f.tar.gz) = 8ea804a55cb70e897783d00744fcac036d7ea5b82ceed3de26ee956dacd822154e6afacb33f8cbdb6401607532b95b2e7f73b41a9a8b65f53b4cea809a804878
+SHA512 (tmux-top-0.1.1.tar.gz) = fc464aa80a14422ae20cd3c7c299228d1e703cb132f577f0341a27e7cd7ca9e85aa319bc697b6193c41f0bccd04b591c9e88c473af905ce363006e38634b5b70
diff --git a/tmux-top.spec b/tmux-top.spec
index 8f1b2d6..5690d47 100644
--- a/tmux-top.spec
+++ b/tmux-top.spec
@@ -4,24 +4,29 @@
%global project TomasTomecek
%global repo tmux-top
# https://github.com/TomasTomecek/tmux-top
-%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
-%global commit 910ef1f72549a703c3c39abaefefe9a80d0b22fd
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global goipath %{provider}.%{provider_tld}/%{project}/%{repo}
+%global forgeurl https://%{goipath}
+# %%global commit 910ef1f72549a703c3c39abaefefe9a80d0b22fd
+%global golicenses LICENSE
+%global godocs README.md
+# since tmux-top release archives are structured as NAME-VERSION
+# 1. We need to set version
+# 2. And cannot set commit macro
+# 3. Place version before gometa
+Version: 0.1.1
+%gometa
Name: tmux-top
-Version: 0.0.4
-Release: 10%{?dist}
+Release: 1%{?dist}
Summary: Monitoring information for your tmux status line.
License: GPLv2+
-URL: https://%{import_path}
-Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+# gosource macro doesn't work as it expects vTAG tagging scheme
+Source0: https://%{goipath}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: make
-BuildRequires: compiler(golang)
BuildRequires: golang(github.com/urfave/cli)
-ExclusiveArch: %{go_arches}
-
%description
Monitoring information for your tmux status line.
@@ -33,20 +38,19 @@ tmux-top allows you to see your:
* network information
* I/O
+%gopkg
%prep
-%setup -q -n %{repo}-%{commit}
+%goprep
%build
-# Make link for tmux-top itself
-mkdir -p src/github.com/%{project}
-ln -s ../../../ src/github.com/%{project}/%{repo}
-export GOPATH=$(pwd):%{gopath}
-make
+%gobuild -o %{gobuilddir}/bin/%{name} %{goipath}/cmd/tmux-top
%install
-make install DESTDIR=%{buildroot}
+%gopkginstall
+install -m 0755 -vd %{buildroot}%{_bindir}
+install -m 0755 -vp %{gobuilddir}/bin/%{name} %{buildroot}%{_bindir}/
%check
@@ -55,11 +59,28 @@ make test
%files
-%doc README.md LICENSE
+%license %{golicenses}
+%doc %{godocs}
%{_bindir}/%{name}
+%gopkgfiles
+
%changelog
+* Wed Jun 08 2022 Tomas Tomecek <ttomecek@redhat.com> - 0.1.1-1
+- 0.1.1 release (Tomas Tomecek)
+- packit: use propose downstream (Tomas Tomecek)
+- packit.yaml (Tomas Tomecek)
+- modernize spec file (Tomas Tomecek)
+- update dependencies (Tomas Tomecek)
+- Use Go modules (Philipp Schmitt)
+- Enable copr builds for packit config (Dominika Hodovska)
+- Add upstream_package_name to packit conf (Dominika Hodovska)
+- [packit] master downstream sync (Tomas Tomecek)
+- better readme ordering (Tomas Tomecek)
+- don't set coloring to default after displaying a val (Tomas Tomecek)
+- readme: typos, grammar (Tomas Tomecek)
+
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-29 12:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 12:28 [rpms/tmux-top] epel10: [packit] 0.1.1 upstream release Tomas Tomecek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox