This commit is contained in:
Peter Robinson 2014-04-16 14:46:12 +01:00
parent a356e4c94b
commit 1693f71790
3 changed files with 8 additions and 5 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ usb-modeswitch-data-20100817.tar.bz2
/usb-modeswitch-data-20130610.tar.bz2 /usb-modeswitch-data-20130610.tar.bz2
/usb-modeswitch-data-20130807.tar.bz2 /usb-modeswitch-data-20130807.tar.bz2
/usb-modeswitch-data-20131113.tar.bz2 /usb-modeswitch-data-20131113.tar.bz2
/usb-modeswitch-data-20140327.tar.bz2

View File

@ -1 +1 @@
7b5ac1226b360ddc366c286e62b3c3a4 usb-modeswitch-data-20131113.tar.bz2 bbbc0a8e6a98bde2c6e119b3826658fb usb-modeswitch-data-20140327.tar.bz2

View File

@ -1,7 +1,7 @@
%define source_name usb-modeswitch-data %define source_name usb-modeswitch-data
Name: usb_modeswitch-data Name: usb_modeswitch-data
Version: 20131113 Version: 20140327
Release: 1%{?dist} Release: 1%{?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
@ -10,7 +10,8 @@ License: GPLv2+
URL: http://www.draisberghof.de/usb_modeswitch/ URL: http://www.draisberghof.de/usb_modeswitch/
Source0: http://www.draisberghof.de/usb_modeswitch/%{source_name}-%{version}.tar.bz2 Source0: http://www.draisberghof.de/usb_modeswitch/%{source_name}-%{version}.tar.bz2
BuildArch: noarch BuildArch: noarch
Requires: udev BuildRequires: systemd
Requires: systemd
# 1.2.3-1 removes the requirement on TCL which was mistakenly # 1.2.3-1 removes the requirement on TCL which was mistakenly
# in the -data package, so require 1.2.3-1 to ensure that both # in the -data package, so require 1.2.3-1 to ensure that both
@ -43,7 +44,6 @@ um zu funktionieren.
%build %build
%install %install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/usb_modeswitch.d/ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/usb_modeswitch.d/
mkdir -p $RPM_BUILD_ROOT%{_udevrulesdir} mkdir -p $RPM_BUILD_ROOT%{_udevrulesdir}
@ -57,12 +57,14 @@ udevadm control --reload-rules || :
udevadm control --reload-rules || : udevadm control --reload-rules || :
%files %files
%defattr(-,root,root,-)
%{_udevrulesdir}/40-usb_modeswitch.rules %{_udevrulesdir}/40-usb_modeswitch.rules
%config(noreplace) %{_sysconfdir}/usb_modeswitch.d/ %config(noreplace) %{_sysconfdir}/usb_modeswitch.d/
%doc ChangeLog COPYING README %doc ChangeLog COPYING README
%changelog %changelog
* Wed Apr 16 2014 Peter Robinson <pbrobinson@fedoraproject.org> 20140327-1
- New upstream release
* Fri Nov 22 2013 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 20131113-1 * Fri Nov 22 2013 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 20131113-1
- New upstream release - New upstream release