Hello community, here is the log from the commit of package udiskie for openSUSE:Factory checked in at 2019-02-24 17:10:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/udiskie (Old) and /work/SRC/openSUSE:Factory/.udiskie.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "udiskie" Sun Feb 24 17:10:45 2019 rev:2 rq:670392 version:1.7.5 Changes: -------- --- /work/SRC/openSUSE:Factory/udiskie/udiskie.changes 2018-05-29 16:51:38.713208411 +0200 +++ /work/SRC/openSUSE:Factory/.udiskie.new.28833/udiskie.changes 2019-02-24 17:10:51.368499120 +0100 @@ -1,0 +2,6 @@ +Thu Jan 31 11:54:58 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Use python macros for build and install to keep working under + python 3.7 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ udiskie.spec ++++++ --- /var/tmp/diff_new_pack.hSG6ia/_old 2019-02-24 17:10:52.744498875 +0100 +++ /var/tmp/diff_new_pack.hSG6ia/_new 2019-02-24 17:10:52.744498875 +0100 @@ -1,7 +1,7 @@ # # spec file for package udiskie # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # 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/ # @@ -30,6 +30,7 @@ BuildRequires: gobject-introspection BuildRequires: hicolor-icon-theme BuildRequires: libxslt-tools +BuildRequires: python-rpm-macros # Runtime dependencies: BuildRequires: python3-gobject BuildRequires: python3-setuptools @@ -41,8 +42,8 @@ Requires: python3-gobject Requires: python3-setuptools Requires: python3-xml -Requires: typelib(Gtk) = 3.0 Requires: udisks2 +Requires: typelib(Gtk) = 3.0 Recommends: %{name}-lang Recommends: python3-keyutils BuildArch: noarch @@ -67,13 +68,10 @@ %setup -q %build -python3 ./setup.py build +%python3_build %install -python3 ./setup.py install -O1 \ - --prefix=%{_prefix} \ - --root %{buildroot} \ - --record-rpm=files.lst +%python3_install make %{?_smp_mflags} -C doc install -Dm 0644 doc/%{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8 @@ -87,7 +85,6 @@ %find_lang %{name} - %files %doc CHANGES.rst CONTRIBUTORS README.rst %license COPYING