public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/co2mon] rawhide: Update to latest master commit (6d70750)
@ 2026-08-15 19:39 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-15 19:39 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/co2mon
Branch : rawhide
Commit : 2141c6acbcb455a36a1675364bd669032658beca
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-01T19:45:13-03:00
Stats : +18/-10 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/co2mon/c/2141c6acbcb455a36a1675364bd669032658beca?branch=rawhide
Log:
Update to latest master commit (6d70750)
Modernize spec file to use Fedora forge macros
Resolves: rhbz#2427932
Resolves: rhbz#2506009
---
diff --git a/.gitignore b/.gitignore
index d5dda28..1ba5722 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/fcb12779106354a4cb33f71749db8537804194f0
-/f47ec3d7e72ad4b8bc163a515b6e66bd94a6b02e
+/co2mon-*.tar.gz
diff --git a/co2mon.spec b/co2mon.spec
index f31ab16..77985b1 100644
--- a/co2mon.spec
+++ b/co2mon.spec
@@ -1,15 +1,18 @@
-%global gitcommit_full f47ec3d7e72ad4b8bc163a515b6e66bd94a6b02e
-%global gitcommit %(c=%{gitcommit_full}; echo ${c:0:7})
-%global date 20221013
+%global forgeurl https://github.com/dmage/co2mon
+%global commit 6d70750d2140760e23a5d1a4a2cf37f7248d103a
+%forgemeta
+# override the default forge autosetup directory name because upstream unpacks as dmage-co2mon-<commit_short>
+%global forgeautosetupdir dmage-%{name}-%(c=%{commit}; echo ${c:0:7})
+
Name: co2mon
Version: 2.1.1
-Release: 22.%{date}git%{gitcommit}%{?dist}
+Release: 23%{?dist}
Summary: CO2 monitor software
License: GPL-3.0-or-later
-URL: https://github.com/dmage/co2mon
-Source0: %{url}/tarball/%{gitcommit_full}
+URL: %{forgeurl}
+Source0: %{forgesource}
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -29,7 +32,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Development files for USB CO2 Monitor devices.
%prep
-%autosetup -n dmage-%{name}-%{gitcommit}
+%autosetup -n dmage-%{name}-%(c=%{commit}; echo ${c:0:7})
%build
@@ -62,6 +65,12 @@ cp -r graph %{buildroot}%{_datadir}/%{name}/
%{_includedir}/%{name}.h
%changelog
+* Sat Aug 01 2026 Filipe Rosset <rosset.filipe@gmail.com> - 2.1.1-23.20260801git6d70750
+- Update to latest master commit (6d70750)
+- Modernize spec file to use Fedora forge macros
+- Resolves: rhbz#2427932
+- Resolves: rhbz#2506009
+
* Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-22.20221013gitf47ec3d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 0381a04..19cb52e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (f47ec3d7e72ad4b8bc163a515b6e66bd94a6b02e) = 5921fe8ac9fea71f50e27ed86d2b54773c631ab3102628610bc76916d989b3eb8e09c50ece629017a3da2d6838bc37713e736bd1b86ce682ff0342ef09097058
+SHA512 (co2mon-6d70750d2140760e23a5d1a4a2cf37f7248d103a.tar.gz) = 945443aeb17c027616653059296c4c22dad410bba14ab2205da883ff5c83cc5e39866223b25847654b29c60b38d0cfacacddeedc795eb314427454e0f6465c6a
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-15 19:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-15 19:39 [rpms/co2mon] rawhide: Update to latest master commit (6d70750) Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox