[packages/cwiid] - use snapshot date instead of gitref in rpm versioning

qboosh qboosh at pld-linux.org
Sat Aug 30 07:43:22 CEST 2025


commit fb61d19653ce5370bf94590fd79eee1d82466ccb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Aug 29 21:13:41 2025 +0200

    - use snapshot date instead of gitref in rpm versioning

 cwiid.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/cwiid.spec b/cwiid.spec
index 817f1db..ac9df1a 100644
--- a/cwiid.spec
+++ b/cwiid.spec
@@ -1,17 +1,18 @@
-%define subver	fadf11e
-%define rel		1
+%define gitref	fadf11e
+%define	snap	20100222
+%define rel	1
 Summary:	Wiimote interface library
 Name:		cwiid
 Version:	0.6.00
-Release:	0.%{rel}.%{subver}
+Release:	1.%{snap}.%{rel}
 License:	GPL v2+
 Group:		Libraries
 #Source0:	https://github.com/abstrakraft/cwiid/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
-Source0:	https://github.com/abstrakraft/cwiid/archive/%{subver}/%{name}-%{version}-%{subver}.tar.gz
+Source0:	https://github.com/abstrakraft/cwiid/archive/%{gitref}/%{name}-%{version}-%{gitref}.tar.gz
 # Source0-md5:	2d5430a465357242514942ae82139609
 Source1:	wmgui.desktop
 Patch0:		wmdemo-lib.patch
-URL:		http://abstrakraft.org/cwiid/
+URL:		https://github.com/abstrakraft/cwiid
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	bison
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cwiid.git/commitdiff/c8c61e45e2c6fe504b54a2e0d200927c850d7a3d



More information about the pld-cvs-commit mailing list