Hello community, here is the log from the commit of package blueberry for openSUSE:Factory checked in at 2018-09-03 10:36:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/blueberry (Old) and /work/SRC/openSUSE:Factory/.blueberry.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "blueberry" Mon Sep 3 10:36:08 2018 rev:31 rq:632659 version:1.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/blueberry/blueberry.changes 2018-08-20 16:19:13.868806429 +0200 +++ /work/SRC/openSUSE:Factory/.blueberry.new/blueberry.changes 2018-09-03 10:36:13.140842443 +0200 @@ -1,0 +2,6 @@ +Sat Sep 1 21:23:09 UTC 2018 - [email protected] + +- Do not use /usr/bin/env for Python scripts. +- Add blueberry-rfkill.rules to fix boo#957071. + +------------------------------------------------------------------- New: ---- blueberry-rfkill.rules ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blueberry.spec ++++++ --- /var/tmp/diff_new_pack.H4apJF/_old 2018-09-03 10:36:13.576843571 +0200 +++ /var/tmp/diff_new_pack.H4apJF/_new 2018-09-03 10:36:13.576843571 +0200 @@ -25,6 +25,7 @@ Group: System/GUI/Other URL: https://github.com/linuxmint/blueberry Source: https://github.com/linuxmint/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: blueberry-rfkill.rules # PATCH-FIX-OPENSUSE blueberry-fix-rfkill-path.patch boo#1076134 [email protected] -- Fix rfkill's path. Patch0: blueberry-fix-rfkill-path.patch BuildRequires: bluez-tools @@ -61,6 +62,9 @@ %prep %setup -q %patch0 -p1 +cp -a %{SOURCE1} %{name}-rfkill.rules +# Do not use env for Python scripts. +sed -i '/^#!/s/env python2$/python2/' .%{_libexecdir}/%{name}/* # Replace the icon with an existing one. sed -i 's/^\(Icon=\).*$/\1%{name}/' .%{_datadir}/applications/%{name}.desktop @@ -70,6 +74,8 @@ %install cp -a .%{_prefix} %{buildroot}%{_prefix} cp -a .%{_sysconfdir} %{buildroot}%{_sysconfdir} +install -Dpm 0644 %{name}-rfkill.rules \ + %{buildroot}%{_libexecdir}/udev/rules.d/61-%{name}-rfkill.rules %find_lang %{name} %fdupes %{buildroot}%{_datadir}/ @@ -98,6 +104,7 @@ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/*/%{name}* %{_datadir}/glib-2.0/schemas/org.%{name}.gschema.xml +%{_libexecdir}/udev/rules.d/61-%{name}-rfkill.rules %files lang -f %{name}.lang ++++++ blueberry-rfkill.rules ++++++ # Get access to /dev/rfkill for users # This is taken from 61-gnome-settings-daemon-rfkill.rules # # See https://bugzilla.redhat.com/show_bug.cgi?id=514798 # # Simplified by Kay Sievers # https://bugzilla.redhat.com/show_bug.cgi?id=733326 # See also https://bugzilla.gnome.org/show_bug.cgi?id=711373 KERNEL=="rfkill", SUBSYSTEM=="misc", TAG+="uaccess"
