fixed device_reference.txt

This commit is contained in:
romal 2011-08-08 15:48:56 +02:00
parent cadf3a62cd
commit 716b8d7889

View File

@ -2,14 +2,14 @@
Name: usb_modeswitch
Version: 1.1.9
Release: 1%{?dist}
Release: 2%{?dist}
Summary: USB Modeswitch gets mobile broadband cards in operational mode
Summary(de): USB Modeswitch aktiviert UMTS-Karten
Group: Applications/System
License: GPLv2+
URL: http://www.draisberghof.de/usb_modeswitch/
Source0: http://www.draisberghof.de/%{name}/%{source_name}-%{version}.tar.bz2
Source1: device_reference.txt
Requires: usb_modeswitch-data
BuildRequires: libusb-devel
@ -29,6 +29,7 @@ Vodafone, Option, ZTE und Novatell werden unterstützt.
%prep
%setup -q -n %{source_name}-%{version}
cp -f %{SOURCE1} device_reference.txt
# convert device_reference.txt encoding to UTF-8
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
* 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
- New upstream version