packages: usbutils/usbutils.spec - updated to 0.82 - removed "paranoid chec...

amateja amateja at pld-linux.org
Tue May 12 11:55:07 CEST 2009


Author: amateja                      Date: Tue May 12 09:55:07 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.82
- removed "paranoid check"; usb.ids from package is more recent than the one from website
- uncompresing is unnecesary when uncompresed file is already present

---- Files affected:
packages/usbutils:
   usbutils.spec (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: packages/usbutils/usbutils.spec
diff -u packages/usbutils/usbutils.spec:1.35 packages/usbutils/usbutils.spec:1.36
--- packages/usbutils/usbutils.spec:1.35	Wed Feb  4 13:26:17 2009
+++ packages/usbutils/usbutils.spec	Tue May 12 11:55:02 2009
@@ -3,14 +3,12 @@
 Summary(pl.UTF-8):	Linuksowe narzędzia do USB
 Summary(pt_BR.UTF-8):	Utilitários Linux USB
 Name:		usbutils
-Version:	0.73
-Release:	3
+Version:	0.82
+Release:	1
 License:	GPL v2+
 Group:		Applications/System
 Source0:	http://dl.sourceforge.net/linux-usb/%{name}-%{version}.tar.gz
 # Source0-md5:	88978b4ad891f610620b1b8e5e0f43eb
-Source1:	http://www.linux-usb.org/usb.ids
-# NoSource1-md5:	af2f7c85cdb2757b62bdcc21efe8c9d5
 Patch0:		%{name}-ids.patch
 URL:		http://www.linux-usb.org/
 BuildRequires:	autoconf
@@ -41,12 +39,6 @@
 %prep
 %setup -q
 
-# paranoid check whether usb.ids in _sourcedir isn't too old
-if [ "`wc -l < %{SOURCE1}`" -lt "`wc -l < usb.ids`" ] ; then
-	echo "usb.ids needs to be updated"
-	exit 1
-fi
-cp -f %{SOURCE1} .
 %patch0 -p1
 
 %build
@@ -64,9 +56,6 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# keep uncompressed database for compatibility with other tools
-gzip -d $RPM_BUILD_ROOT%{_datadir}/usb.ids.gz
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -83,6 +72,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2009/05/12 09:55:02  amateja
+- updated to 0.82
+- removed "paranoid check"; usb.ids from package is more recent than the one from website
+- uncompresing is unnecesary when uncompresed file is already present
+
 Revision 1.35  2009/02/04 12:26:17  hawk
 - BR, R libusb-compat to make it work with libusb 1.0.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/usbutils/usbutils.spec?r1=1.35&r2=1.36&f=u



More information about the pld-cvs-commit mailing list