Hello community,
here is the log from the commit of package suseprime-appindicator for
openSUSE:Factory checked in at 2020-01-07 23:54:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suseprime-appindicator (Old)
and /work/SRC/openSUSE:Factory/.suseprime-appindicator.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suseprime-appindicator"
Tue Jan 7 23:54:51 2020 rev:2 rq:761509 version:0.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/suseprime-appindicator/suseprime-appindicator.changes
2019-05-24 11:29:46.201431425 +0200
+++
/work/SRC/openSUSE:Factory/.suseprime-appindicator.new.6675/suseprime-appindicator.changes
2020-01-07 23:55:18.420092154 +0100
@@ -1,0 +2,6 @@
+Tue Jan 7 10:12:40 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Format with spec-cleaner
+- Do not pull in any python2 based code
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ suseprime-appindicator.spec ++++++
--- /var/tmp/diff_new_pack.W5MVEm/_old 2020-01-07 23:55:19.244092582 +0100
+++ /var/tmp/diff_new_pack.W5MVEm/_new 2020-01-07 23:55:19.244092582 +0100
@@ -1,6 +1,7 @@
#
# spec file for package suseprime-appindicator
#
+# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2019 Stasiek Michalski <[email protected]>.
#
# All modifications and additions to the file contributed by third parties
@@ -12,25 +13,24 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
Name: suseprime-appindicator
Version: 0.1.0
Release: 0
Summary: SUSE Prime appindicator for switching between GPUs
+License: GPL-2.0-only
Group: System/GUI/Other
-License: GPL-2.0
-Url: https://github.com/openSUSE/%{name}
+URL: https://github.com/openSUSE/%{name}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
-
+BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
-BuildRequires: python-setuptools
-BuildRequires: python3
-
-Requires: suse-prime
+BuildRequires: python-rpm-macros
+BuildRequires: python3-base
Requires: python3-gobject
-
+Requires: suse-prime
Supplements: (xfce4-indicator-plugin and suse-prime)
BuildArch: noarch
@@ -41,10 +41,11 @@
%setup -q
%build
-# Skip build
+%python3_build
%install
-python3 setup.py install --root=%{buildroot}
+%python3_install
+%fdupes %{buildroot}%{python3_sitelib}
%files
%{_datadir}/icons/hicolor/symbolic/apps/*