Hello community, here is the log from the commit of package qm for openSUSE:Factory checked in at 2017-11-27 22:17:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qm (Old) and /work/SRC/openSUSE:Factory/.qm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qm" Mon Nov 27 22:17:38 2017 rev:17 rq:545696 version:2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/qm/qm.changes 2011-12-25 17:40:36.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.qm.new/qm.changes 2017-11-27 22:17:39.280282074 +0100 @@ -1,0 +2,6 @@ +Sun Nov 26 10:39:09 UTC 2017 - [email protected] + +- Cleanup spec file with spec-cleaner +- Use current python packaging macros + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qm.spec ++++++ --- /var/tmp/diff_new_pack.mWjJgE/_old 2017-11-27 22:17:40.032254781 +0100 +++ /var/tmp/diff_new_pack.mWjJgE/_new 2017-11-27 22:17:40.036254635 +0100 @@ -1,7 +1,7 @@ # # spec file for package qm # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -15,8 +15,8 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: qm -BuildRequires: python-devel Version: 2.3 Release: 0 Summary: QMTest--General Purpose Testing Solution @@ -26,47 +26,35 @@ Source: qm-%{version}.tar.bz2 Patch1: qm-firefox.patch Patch2: qm-doc.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: python python-devel python-xml MozillaFirefox +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: python2-devel +Requires: python2-base +Requires: python2-xml %description QMTest is a cost-effective general purpose testing solution that can be -used to implement a robust, easy to use testing process. - - - -Authors: --------- - [email protected] +used to implement a robust, easy to use testing process/ %prep -%setup -q -n qm-%{version} +%setup -q %patch1 %patch2 %build -export CFLAGS="$RPM_OPT_FLAGS" -python setup.py build +%python2_build %install -python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT \ - --record-rpm=INSTALLED_FILES -find $RPM_BUILD_ROOT/usr/share/qm -type f \( -name "*.gif" -o -name "*.txt" -o -name "*.dtml" -o -name "*.css" \) -print0 | xargs -0 chmod 644 -chmod 644 $RPM_BUILD_ROOT/%{_docdir}/qm/test/html/qm.css - -%clean -rm -rf $RPM_BUILD_ROOT +%python2_install +find %{buildroot}%{_datadir}/qm -type f \( -name "*.gif" -o -name "*.txt" -o -name "*.dtml" -o -name "*.css" \) -print0 | xargs -0 chmod 644 +rm -rf %{buildroot}%{_docdir}/qm +%fdupes %{buildroot} %files -%defattr(-,root,root) -%doc %{_docdir}/qm/* -%dir %{_docdir}/qm -%dir %py_sitedir/qm -%py_sitedir/qm/ -%py_sitedir/qm* -%{_prefix}/bin/qm* -%dir %{_prefix}/share/qm -%{_prefix}/share/qm/ -#%exclude /usr/share/doc/packages +%doc COPYING ChangeLog README +%{_bindir}/qmtest +%{_bindir}/qmtest.py +%{python2_sitearch}/* +%{_datadir}/qm/ %changelog
