Notification time stamped 2021-05-31 21:40:36 UTC
From 380b1f9a5783342c959bf647db1ef5ad9f0e13fe Mon Sep 17 00:00:00 2001
From: Damian Wrobel <dwrobel(a)ertelnet.rybnik.pl>
Date: May 31 2021 20:49:07 +0000
Subject: Update to the latest version
Prepare for supporting tagged version
---
diff --git a/.gitignore b/.gitignore
index c32c98a..87bea42 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/rtl-wmbus-6a04c4548245c4f6adaad6348ee4d2deef825d63.tar.gz
/rtl-wmbus-cce47b67b7d84ca7ef685c7e0fbd853114f3f605.tar.gz
+/rtl-wmbus-d2be82cfa2180efb19937ad806dce62b5fe846a0.tar.gz
diff --git a/rtl-wmbus.spec b/rtl-wmbus.spec
index 9af10c6..ac12169 100644
--- a/rtl-wmbus.spec
+++ b/rtl-wmbus.spec
@@ -1,14 +1,21 @@
-Name: rtl-wmbus
-Version: 0
+%global with_tag 0
+Name: rtl-wmbus
%global forgeurl
https://github.com/xaelsouth/%{name}
-%global date 20210315
-%global commit cce47b67b7d84ca7ef685c7e0fbd853114f3f605
%global the_binary rtl_wmbus
+%if %{with_tag}
+%global tag 0.0.0
+Version: %{tag}
+%else
+%global date 20210506
+%global commit d2be82cfa2180efb19937ad806dce62b5fe846a0
+Version: 0
+%endif
+
%forgemeta
-Release: 8%{?dist}
+Release: 10%{?dist}
Summary: Software defined receiver for wireless M-Bus with RTL-SDR
License: BSD
Url: %{forgeurl}
@@ -47,8 +54,8 @@ rtl-wmbus provides:
%prep
%forgeautosetup -S git
-# Remove bundled fixedptc library
-rm -rf include
+# Remove bundled fixedptc library and build directory
+rm -rf include build
# Split the LICENSE from the README.md
awk '/^ License/ {dump=1; next} \
@@ -60,7 +67,12 @@ awk '/^ License/ {dump=1; next} \
%build
%set_build_flags
export LIB="%{__global_ldflags} -lm"
-%{make_build}
+%{make_build} \
+ COMMIT_HASH="" \
+ TAG=%{version}%{?distprefix} \
+ BRANCH="" \
+ CHANGES="" \
+ TAG_COMMIT_HASH=""
%install
@@ -75,6 +87,14 @@ install -p -m 0755 -D build/%{the_binary}
%{buildroot}%{_bindir}/%{the_binary}
%changelog
+* Fri May 14 2021 Damian Wrobel <dwrobel(a)ertelnet.rybnik.pl> - 0-10
+- Update to the latest version
+- Prepare for supporting tagged version
+
+* Mon Apr 19 2021 Damian Wrobel <dwrobel(a)ertelnet.rybnik.pl> - 0-9
+- Remove build directory
+- Pass version string to make
+
* Mon Apr 12 2021 Damian Wrobel <dwrobel(a)ertelnet.rybnik.pl> -
0-8.20210315gitcce47b6
- Update to the latest version
- Drop patch merged upstream
diff --git a/sources b/sources
index 75b6c6a..1081322 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rtl-wmbus-cce47b67b7d84ca7ef685c7e0fbd853114f3f605.tar.gz) =
e46070cc4b877aff35dd8af52c598351b95c9a44bcfd010ceb86549a62904e08d9068436008975f18344b7987633c22a0bb7ad562ea916884bb402254f40d930
+SHA512 (rtl-wmbus-d2be82cfa2180efb19937ad806dce62b5fe846a0.tar.gz) =
e32b70faf8061c6624804fe6fb720d6d1b2c59d6f91c14d27a1cdb0d2fd1a00cfa6015f484ad361fb1e8a4988829315d56dcc7d395556042c02fe96f4a7cd87c
https://src.fedoraproject.org/rpms/rtl-wmbus/c/380b1f9a5783342c959bf647db...