SPECS: ltmodem.spec - monotonic versioning (by Agere's core versio...

saq saq at pld-linux.org
Wed Jul 20 18:19:26 CEST 2005


Author: saq                          Date: Wed Jul 20 16:19:26 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- monotonic versioning (by Agere's core version)
- more useful URL

---- Files affected:
SPECS:
   ltmodem.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/ltmodem.spec
diff -u SPECS/ltmodem.spec:1.38 SPECS/ltmodem.spec:1.39
--- SPECS/ltmodem.spec:1.38	Wed Jul 20 14:38:49 2005
+++ SPECS/ltmodem.spec	Wed Jul 20 18:19:21 2005
@@ -4,9 +4,9 @@
 %bcond_without	dist_kernel	# without kernel from distribution
 %bcond_without	smp		# build the SMP driver
 
-%define		maintaner	alk
+%define		_corever	8.31
+%define		maintainer	alk
 %define		origrel	7a
-%define		ver	2.6
 
 %define		_rel	1
 
@@ -14,14 +14,14 @@
 Summary(de):	Kernmodul für Lucent-Modems
 Summary(pl):	Moduł jądra dla modemów Lucent
 Name:		ltmodem
-Version:	%{origrel}
+Version:	%{_corever}.%{maintainer}.%{origrel}
 Release:	%{_rel}
 License:	unknown
 Group:		Base/Kernel
-Source0:	http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/%{name}-%{ver}-%{maintaner}-%{origrel}.tar.gz
+Source0:	http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/%{name}-2.6-%{maintainer}-%{origrel}.tar.gz
 # NoSource0-md5:	d787ab30c73e4e0f7c9485bfb8a1c26d
 NoSource:	0
-URL:		http://linmodems.technion.ac.il/Ltmodem.html
+URL:		http://linmodems.technion.ac.il/resources.html#lucent
 %{?with_dist_kernel:BuildRequires:	kernel-module-build >= 2.6.0}
 BuildRequires:	%{kgcc_package}
 BuildRequires:	rpmbuild(macros) >= 1.118
@@ -92,7 +92,10 @@
 Lucent. Modemy te udostępniane są jako urządzenie /dev/ttyLT0.
 
 %prep
-%setup -q -n %{name}-%{ver}-%{maintaner}-%{origrel}
+%setup -q -n %{name}-2.6-%{maintainer}-%{origrel}
+
+# to make sure that the right version is used
+if [ \! -f ltmdmobj.o-%{_corever} ]; then exit 1; fi
 
 %build
 for cfg in up %{?with_smp:smp}; do
@@ -168,6 +171,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2005/07/20 16:19:21  saq
+- monotonic versioning (by Agere's core version)
+- more useful URL
+
 Revision 1.38  2005/07/20 12:38:49  saq
 - up to 7a by abram
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ltmodem.spec?r1=1.38&r2=1.39&f=u




More information about the pld-cvs-commit mailing list