forked from pool/usb_modeswitch
- fix for bnc #899013
OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=52
This commit is contained in:
parent
233a0a0e30
commit
6c942502bd
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 11 10:04:38 UTC 2014 - andrea@opensuse.org
|
||||||
|
|
||||||
|
- fix for bnc #899013
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 2 10:35:44 UTC 2014 - andrea@opensuse.org
|
Thu Oct 2 10:35:44 UTC 2014 - andrea@opensuse.org
|
||||||
|
|
||||||
|
@ -74,6 +74,29 @@ CFLAGS="%{optflags}" make
|
|||||||
%makeinstall UDEVDIR=$RPM_BUILD_ROOT%{_udevdir}
|
%makeinstall UDEVDIR=$RPM_BUILD_ROOT%{_udevdir}
|
||||||
cd %{source_name}-data-%{date}
|
cd %{source_name}-data-%{date}
|
||||||
%makeinstall RULESDIR=$RPM_BUILD_ROOT%{_udevdir}/rules.d
|
%makeinstall RULESDIR=$RPM_BUILD_ROOT%{_udevdir}/rules.d
|
||||||
|
|
||||||
|
### TO REMOVE ONCE IN UPSTREAM DATA PACKAGE, FIX BNC 899013 ###
|
||||||
|
|
||||||
|
cat > %{buildroot}/%{_datadir}/usb_modeswitch/12d1:1583 <<EOF
|
||||||
|
# Vodafone W5101
|
||||||
|
|
||||||
|
TargetVendor=0x12d1
|
||||||
|
TargetProduct=0x1589
|
||||||
|
|
||||||
|
MessageContent="55534243123456780000000000000011062000000101000100000000000000"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat > %{buildroot}/%{_datadir}/usb_modeswitch/12d1:1582 <<EOF
|
||||||
|
# Vodafone R215
|
||||||
|
|
||||||
|
TargetVendor=0x12d1
|
||||||
|
TargetProduct=0x1588
|
||||||
|
|
||||||
|
MessageContent="55534243123456780000000000000011062000000101000100000000000000"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
### END SECTION TO REMOVE ###
|
||||||
|
|
||||||
%fdupes -s $RPM_BUILD_ROOT
|
%fdupes -s $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -89,7 +112,7 @@ cd %{source_name}-data-%{date}
|
|||||||
|
|
||||||
%files data
|
%files data
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%_datadir/usb_modeswitch/
|
%{_datadir}/usb_modeswitch/
|
||||||
%{_udevdir}/rules.d/40-usb_modeswitch.rules
|
%{_udevdir}/rules.d/40-usb_modeswitch.rules
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user