Hello community,

here is the log from the commit of package nml for openSUSE:Factory checked in 
at 2015-05-18 22:29:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nml (Old)
 and      /work/SRC/openSUSE:Factory/.nml.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nml"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nml/nml.changes  2014-06-16 21:29:09.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.nml.new/nml.changes     2015-05-18 
22:29:51.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Apr 26 13:22:43 UTC 2015 - [email protected]
+
+- update to 0.4.1 (drops support for Python 2)
+  - improved performance and NewGRF support
+
+-------------------------------------------------------------------

Old:
----
  nml-0.3.1.r5242-f6a3ae1163ab.tar.gz

New:
----
  nml-0.4.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nml.spec ++++++
--- /var/tmp/diff_new_pack.rtFPVl/_old  2015-05-18 22:29:52.000000000 +0200
+++ /var/tmp/diff_new_pack.rtFPVl/_new  2015-05-18 22:29:52.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nml
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,52 +17,46 @@
 
 
 Name:           nml
-Version:        0.3.1
+Version:        0.4.1
 Release:        0
 Summary:        NewGRF Meta Language
 License:        GPL-2.0+
 Group:          Development/Tools/Building
 Url:            http://dev.openttdcoop.org/projects/nml
-Source:         
http://bundles.openttdcoop.org/nml/releases/%{version}/%{name}-%{version}.r5242-f6a3ae1163ab.tar.gz
-BuildRequires:  python-devel >= 2.7
-BuildRequires:  python-setuptools
+Source:         
http://bundles.openttdcoop.org/nml/releases/%{version}/%{name}-%{version}.tar.gz
+Source99:       nml-rpmlintrc
+BuildRequires:  gcc
+# https://dev.openttdcoop.org/issues/7637
+BuildRequires:  python3-devel > 3.4.1
 # We need the required packages also on building for regression tests:
-BuildRequires:  python-imaging
-BuildRequires:  python-ply
-Requires:       python-imaging
-Requires:       python-ply
+BuildRequires:  python3-Pillow
+BuildRequires:  python3-ply
+BuildRequires:  python3-setuptools
+Requires:       python3-Pillow
+Requires:       python3-ply
 Provides:       nmlc = %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
-BuildArch:      noarch
-%endif
 
 %description
 A tool to compile nml files to grf or nfo files, making newgrf coding easier.
 
 %prep
-%setup -q -n %{name}-%{version}.r5242-f6a3ae1163ab
+%setup -q -n %{name}-%{version}
 
 %build
-python setup.py build
+make
 
 %install
-python setup.py install --skip-build --root=%{buildroot} --prefix=%{_prefix}
-install -D -m0644 docs/nmlc.1 %{buildroot}%{_mandir}/man1/nmlc.1
-#setuptools should not be a requirement on running, so we install the nmlc 
wrapper from source
-install -m0755 nmlc %{buildroot}%{_bindir}/nmlc
+python3 setup.py install --skip-build --root=%{buildroot} --prefix=%{_prefix}
 
 %check
-cd regression
-PYTHONPATH=%{buildroot}%{python_sitelib} make _V= 
NMLC=%{buildroot}%{_bindir}/nmlc
+make test
 
 %files
 %defattr(-,root,root,-)
 %doc docs/*.txt
 %{_bindir}/nmlc
-%{_mandir}/man1/nmlc.1*
-%{python_sitelib}/*
+%{python3_sitearch}/*
+%{python3_sitearch}/%{name}-%{version}-py%{py3_ver}.egg-info
 
 %changelog

++++++ nml-0.3.1.r5242-f6a3ae1163ab.tar.gz -> nml-0.4.1.tar.gz ++++++
++++ 7340 lines of diff (skipped)


Reply via email to