fixed device_reference.txt
This commit is contained in:
parent
cadf3a62cd
commit
716b8d7889
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
Name: usb_modeswitch
|
Name: usb_modeswitch
|
||||||
Version: 1.1.9
|
Version: 1.1.9
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: USB Modeswitch gets mobile broadband cards in operational mode
|
Summary: USB Modeswitch gets mobile broadband cards in operational mode
|
||||||
Summary(de): USB Modeswitch aktiviert UMTS-Karten
|
Summary(de): USB Modeswitch aktiviert UMTS-Karten
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.draisberghof.de/usb_modeswitch/
|
URL: http://www.draisberghof.de/usb_modeswitch/
|
||||||
Source0: http://www.draisberghof.de/%{name}/%{source_name}-%{version}.tar.bz2
|
Source0: http://www.draisberghof.de/%{name}/%{source_name}-%{version}.tar.bz2
|
||||||
|
Source1: device_reference.txt
|
||||||
Requires: usb_modeswitch-data
|
Requires: usb_modeswitch-data
|
||||||
BuildRequires: libusb-devel
|
BuildRequires: libusb-devel
|
||||||
|
|
||||||
@ -29,6 +29,7 @@ Vodafone, Option, ZTE und Novatell werden unterstützt.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{source_name}-%{version}
|
%setup -q -n %{source_name}-%{version}
|
||||||
|
cp -f %{SOURCE1} device_reference.txt
|
||||||
|
|
||||||
# convert device_reference.txt encoding to UTF-8
|
# convert device_reference.txt encoding to UTF-8
|
||||||
iconv --from=ISO-8859-1 --to=UTF-8 device_reference.txt > device_reference.txt.new && \
|
iconv --from=ISO-8859-1 --to=UTF-8 device_reference.txt > device_reference.txt.new && \
|
||||||
@ -63,6 +64,9 @@ install -p -m 755 usb_modeswitch.tcl $RPM_BUILD_ROOT/lib/udev/usb_modeswitch
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Aug 07 2011 Robert M. Albrecht <fedora@romal.de> 1.1.9-2
|
||||||
|
- device_reference.txt is no longer included in upstream package, but an optional download
|
||||||
|
|
||||||
* Sun Aug 07 2011 Robert M. Albrecht <fedora@romal.de> 1.1.9-1
|
* Sun Aug 07 2011 Robert M. Albrecht <fedora@romal.de> 1.1.9-1
|
||||||
- New upstream version
|
- New upstream version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user