diff --git a/gnuhealth-client.changes b/gnuhealth-client.changes index f35b201..c2d0f3e 100644 --- a/gnuhealth-client.changes +++ b/gnuhealth-client.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 29 09:22:30 UTC 2018 - tchvatal@suse.com + +- Add emptly build phase to silence rpmlint +- Drop python-rsvg require, the code does not include it + ------------------------------------------------------------------- Fri Jan 5 18:41:40 UTC 2018 - axel.braun@gmx.de diff --git a/gnuhealth-client.spec b/gnuhealth-client.spec index 45519cd..9ae22ff 100644 --- a/gnuhealth-client.spec +++ b/gnuhealth-client.spec @@ -1,7 +1,7 @@ # # spec file for package gnuhealth-client # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015-2017 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -16,9 +16,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define majorver 3.2 Name: gnuhealth-client - Version: %{majorver}.5 Release: 0 Summary: The client of the GNU Health Hospital system @@ -36,7 +36,6 @@ BuildRequires: python-Sphinx BuildRequires: python-devel BuildRequires: python-gtk BuildRequires: python-python-dateutil -BuildRequires: python-rsvg BuildRequires: python-setuptools BuildRequires: python-simplejson BuildRequires: update-desktop-files @@ -51,27 +50,28 @@ Requires: python-gnupg Requires: python-gtk Requires: python-opencv Requires: python-pytz -Requires: python-rsvg Requires: python-setuptools Requires: python-simplejson Requires: python-xml -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch #install Tryton or GNU Health Client Conflicts: tryton +BuildArch: noarch %description The client of the GNU Health Hospital application %prep -%setup -q -n %{name}-%{version} +%setup -q %patch0 -p1 -cp %{S:2} . +cp %{SOURCE2} . pwd cd %{name}/plugins/ tar --strip-components 1 -xzvf %{SOURCE1} +%build +: + %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -94,7 +94,6 @@ cp %{buildroot}%{python_sitelib}/tryton/data/pixmaps/tryton/gnuhealth-icon.png % %icon_theme_cache_postun %files -%defattr(-,root,root) %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %doc COPYRIGHT COPYING COPYRIGHT Changelog