Accepting request 175822 from home:mvyskocil:branches:hardware
- drop /bin/eject from dependencies, it is no longer called - install device_reference.txt as %doc - use URL in all relevant Source tags - drop obsoleted sections from spec OBS-URL: https://build.opensuse.org/request/show/175822 OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=38
This commit is contained in:
parent
667b43e94a
commit
c2515e87f9
3575
device_reference.txt
Normal file
3575
device_reference.txt
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 07:18:38 UTC 2013 - mvyskocil@suse.com
|
||||||
|
|
||||||
|
- drop /bin/eject from dependencies, it is no longer called
|
||||||
|
- install device_reference.txt as %doc
|
||||||
|
- use URL in all relevant Source tags
|
||||||
|
- drop obsoleted sections from spec
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 3 12:34:50 UTC 2012 - p.drouand@gmail.com
|
Mon Dec 3 12:34:50 UTC 2012 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@ -32,15 +32,15 @@ Url: http://www.draisberghof.de/usb_modeswitch
|
|||||||
%define source_name usb-modeswitch
|
%define source_name usb-modeswitch
|
||||||
%define date 20121109
|
%define date 20121109
|
||||||
Source0: http://www.draisberghof.de/usb_modeswitch/%{source_name}-%{version}.tar.bz2
|
Source0: http://www.draisberghof.de/usb_modeswitch/%{source_name}-%{version}.tar.bz2
|
||||||
Source1: %{source_name}-data-%{date}.tar.bz2
|
Source1: http://www.draisberghof.de/usb_modeswitch/%{source_name}-data-%{date}.tar.bz2
|
||||||
Source2: %{name}-data.rpmlintrc
|
Source2: http://www.draisberghof.de/usb_modeswitch/device_reference.txt
|
||||||
|
Source1000: %{name}-data.rpmlintrc
|
||||||
Patch1: huawei-timing.patch
|
Patch1: huawei-timing.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libusb-devel
|
BuildRequires: libusb-devel
|
||||||
BuildRequires: tcl
|
BuildRequires: tcl
|
||||||
BuildRequires: udev
|
BuildRequires: udev
|
||||||
Requires: /bin/eject
|
|
||||||
Requires: tcl >= 8.4
|
Requires: tcl >= 8.4
|
||||||
Requires: usb_modeswitch-data = %version
|
Requires: usb_modeswitch-data = %version
|
||||||
|
|
||||||
@ -51,11 +51,6 @@ show up as USB storage initially to be switched into their more useful
|
|||||||
"application mode". This is most common for UMTS/3G wireless WAN
|
"application mode". This is most common for UMTS/3G wireless WAN
|
||||||
devices.
|
devices.
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Josua Dietze and others
|
|
||||||
|
|
||||||
%package data
|
%package data
|
||||||
Summary: Data Files for USB Modeswitch
|
Summary: Data Files for USB Modeswitch
|
||||||
Group: Hardware/Mobile
|
Group: Hardware/Mobile
|
||||||
@ -69,6 +64,8 @@ Data files for usb_modeswitch package.
|
|||||||
%setup -q -a1 -n %{source_name}-%{version}
|
%setup -q -a1 -n %{source_name}-%{version}
|
||||||
%patch1 -p1 -d %{source_name}-data-%{date}
|
%patch1 -p1 -d %{source_name}-data-%{date}
|
||||||
|
|
||||||
|
cp %{SOURCE2} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" make
|
CFLAGS="%{optflags}" make
|
||||||
|
|
||||||
@ -80,7 +77,7 @@ cd %{source_name}-data-%{date}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README COPYING ChangeLog
|
%doc README COPYING ChangeLog device_reference.txt
|
||||||
%{_sbindir}/usb_modeswitch
|
%{_sbindir}/usb_modeswitch
|
||||||
%{_sbindir}/usb_modeswitch_dispatcher
|
%{_sbindir}/usb_modeswitch_dispatcher
|
||||||
%{_udevdir}/usb_modeswitch
|
%{_udevdir}/usb_modeswitch
|
||||||
|
Loading…
Reference in New Issue
Block a user