[packages/usb-modeswitch] Update to 1.2.6

megabajt megabajt at pld-linux.org
Mon Jun 3 23:21:20 CEST 2013


commit 2a2f92b4fe54d215fa707eee3a11588182473621
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date:   Mon Jun 3 23:21:01 2013 +0200

    Update to 1.2.6

 usb-modeswitch-makefile.patch | 13 ++-----------
 usb-modeswitch.spec           |  4 ++--
 2 files changed, 4 insertions(+), 13 deletions(-)
---
diff --git a/usb-modeswitch.spec b/usb-modeswitch.spec
index 5c926c2..9bfe3bc 100644
--- a/usb-modeswitch.spec
+++ b/usb-modeswitch.spec
@@ -1,12 +1,12 @@
 Summary:	Switching tool for controlling "flip flop" USB devices
 Summary(pl.UTF-8):	Narzędzie do sterowania przełączającymi się urządzeniami USB
 Name:		usb-modeswitch
-Version:	1.2.5
+Version:	1.2.6
 Release:	1
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://www.draisberghof.de/usb_modeswitch/%{name}-%{version}.tar.bz2
-# Source0-md5:	c393603908eceab95444c5bde790f6f0
+# Source0-md5:	3cd804ad2dd4cb61fbd77a5cc033496c
 Patch0:		%{name}-makefile.patch
 URL:		http://www.draisberghof.de/usb_modeswitch/
 BuildRequires:	libusb-compat-devel >= 0.1
diff --git a/usb-modeswitch-makefile.patch b/usb-modeswitch-makefile.patch
index ff57b62..ed93e2b 100644
--- a/usb-modeswitch-makefile.patch
+++ b/usb-modeswitch-makefile.patch
@@ -2,13 +2,13 @@
 +++ usb-modeswitch-1.2.4/Makefile	2012-09-01 22:02:56.823006830 +0200
 @@ -2,6 +2,8 @@
  VERS        = 1.2.4
- CC          = gcc
+ CC          ?= gcc
  CFLAGS      += -Wall
 +CPPFLAGS    =
 +LDFLAGS     =
+ #LIBS        = libusb.a
  LIBS        = -l usb
  RM          = /bin/rm -f
- OBJS        = usb_modeswitch.c
 @@ -21,7 +23,7 @@
  static: $(PROG) dispatcher-static
  
@@ -18,12 +18,3 @@
  
  dispatcher-static: dispatcher.c usb_modeswitch.tcl
  	./make_static_dispatcher.sh
-@@ -46,7 +48,7 @@
- 	cd jim && $(MAKE) distclean
- 
- install-common: all
--	install -D -s --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch
-+	install -D --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch
- 	install -D --mode=755 usb_modeswitch.sh $(UDEVDIR)/usb_modeswitch
- 	install -D --mode=644 usb_modeswitch.conf $(ETCDIR)/usb_modeswitch.conf
- 	install -D --mode=644 usb_modeswitch.1 $(MANDIR)/usb_modeswitch.1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/usb-modeswitch.git/commitdiff/2a2f92b4fe54d215fa707eee3a11588182473621



More information about the pld-cvs-commit mailing list