SPECS: dvd2avi.spec - better versioning

shadzik shadzik at pld-linux.org
Tue Jul 4 17:29:09 CEST 2006


Author: shadzik                      Date: Tue Jul  4 15:29:09 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- better versioning

---- Files affected:
SPECS:
   dvd2avi.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/dvd2avi.spec
diff -u SPECS/dvd2avi.spec:1.8 SPECS/dvd2avi.spec:1.9
--- SPECS/dvd2avi.spec:1.8	Tue Jul  4 12:36:14 2006
+++ SPECS/dvd2avi.spec	Tue Jul  4 17:29:03 2006
@@ -1,16 +1,18 @@
 # $Revision$, $Date$
 # TODO: don't put functions.pm in perl_vendorlib
 %include	/usr/lib/rpm/macros.perl
+%define		_mainver	0.7
+%define		_subver	.5
+%define		_ver	%(echo %{_subver} |sed s/./-/)
 Summary:	dvd2avi - conversion tool
 Summary(de):	dvd2avi - ein konversions Tool
 Summary(pl):	dvd2avi - narzędzie do konwersji
 Name:		dvd2avi
-Version:	0.7
-%define	_ver	-5
-Release:	4
+Version:	%{_mainver}%{_subver}
+Release:	1
 License:	GPL
 Group:		X11/Applications
-Source0:	http://dl.sourceforge.net/dvd2avi/%{name}-%{version}%{_ver}.tgz
+Source0:	http://dl.sourceforge.net/dvd2avi/%{name}-%{_mainver}%{_ver}.tgz
 # Source0-md5:	26ecb079c5ee49a4025c3a1323b2daa6
 Source1:	%{name}.desktop
 Patch0:		%{name}-location.patch
@@ -59,6 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2006/07/04 15:29:03  shadzik
+- better versioning
+
 Revision 1.8  2006/07/04 10:36:14  shadzik
 - up to 0.7-5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dvd2avi.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list