Accepting request 888318 from home:munix9

- Update to version 20210425
  added:
  * Microsoft Surface Duo
  * Umidigi F1
  * Iconia Tab 210
  * Fairphone 1 & 2

  fixed:
  * Exclude BIND actions from udev triggering (close #204)

- Call %udev_rules_update in %post/%postun
- Remove fix-consider-bind-action.patch (fixed upstream)

OBS-URL: https://build.opensuse.org/request/show/888318
OBS-URL: https://build.opensuse.org/package/show/hardware/android-udev-rules?expand=0&rev=13
This commit is contained in:
Markus S 2021-04-26 17:12:44 +00:00 committed by Git OBS Bridge
parent 4182c682d3
commit a1b9fdf779
5 changed files with 28 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57c8f8d05492e407485f70a4c571a75d6a28d47b97debc8b279819ff82f19b5b
size 20565

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bf0456fff58d0246b505c18b215ef198820c44fdff9e671d586951ee1049f880
size 20763

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sun Apr 25 10:48:42 UTC 2021 - munix9@googlemail.com
- Update to version 20210425
added:
* Microsoft Surface Duo
* Umidigi F1
* Iconia Tab 210
* Fairphone 1 & 2
fixed:
* Exclude BIND actions from udev triggering (close #204)
- Call %udev_rules_update in %post/%postun
- Remove fix-consider-bind-action.patch (fixed upstream)
-------------------------------------------------------------------
Tue Mar 9 13:49:10 UTC 2021 - munix9@googlemail.com

View File

@ -17,22 +17,20 @@
Name: android-udev-rules
Version: 20210302
Version: 20210425
Release: 0
Summary: Android udev rules list aimed to be the most comprehensive on the net
License: GPL-3.0-or-later
Group: Hardware/Mobile
URL: https://github.com/M0Rf30/android-udev-rules
Source0: https://github.com/M0Rf30/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM fix-consider-bind-action.patch boo#1183058 munix9@googlemail.com -- Systemd catches up with bind events
Patch0: fix-consider-bind-action.patch
Source0: https://github.com/M0Rf30/android-udev-rules/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: sysuser-shadow
BuildRequires: sysuser-tools
Recommends: android-tools
Provides: android-tools-udev = %{version}
Obsoletes: android-tools-udev < %{version}
BuildArch: noarch
%{sysusers_requires}
%sysusers_requires
%description
These rules refer to 'Run Apps on a Hardware Device - Android Studio'
@ -50,6 +48,12 @@ install -D -m 0644 -t %{buildroot}%{_udevrulesdir} 51-android.rules
%pre -f adbusers.pre
%post
%udev_rules_update
%postun
%udev_rules_update
%files
%license LICENSE
%doc README.md

View File

@ -1,11 +0,0 @@
--- a/51-android.rules
+++ b/51-android.rules
@@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Skip testing for android devices if device is not add, or usb
-ACTION!="add", GOTO="android_usb_rules_end"
+ACTION!="add", ACTION!="bind", GOTO="android_usb_rules_end"
SUBSYSTEM!="usb", GOTO="android_usb_rules_end"
# For Android devices that enable this universal rule suggested here: