Hello community,

here is the log from the commit of package meson for openSUSE:Factory checked 
in at 2016-02-17 10:24:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/meson (Old)
 and      /work/SRC/openSUSE:Factory/.meson.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "meson"

Changes:
--------
--- /work/SRC/openSUSE:Factory/meson/meson.changes      2016-01-05 
21:55:58.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.meson.new/meson.changes 2016-02-17 
12:15:36.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Feb 11 16:26:54 UTC 2016 - [email protected]
+
+- Update to 0.29.0.
+
+-------------------------------------------------------------------

Old:
----
  meson_0.28.0.tar.gz
  meson_0.28.0.tar.gz.asc

New:
----
  meson-0.29.0.tar.gz
  meson-0.29.0.tar.gz.asc

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

Other differences:
------------------
++++++ meson.spec ++++++
--- /var/tmp/diff_new_pack.Nv7cGL/_old  2016-02-17 12:15:37.000000000 +0100
+++ /var/tmp/diff_new_pack.Nv7cGL/_new  2016-02-17 12:15:37.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package meson
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -16,20 +16,20 @@
 #
 
 
+%define _name   mesonbuild
 Name:           meson
-Version:        0.28.0
+Version:        0.29.0
 Release:        0
 Summary:        High productivity build system
 License:        Apache-2.0
 Group:          Development/Tools/Building
 Url:            http://mesonbuild.com/
-Source:         
https://github.com/mesonbuild/%{name}/releases/download/%{version}/%{name}_%{version}.tar.gz
-Source1:        
https://github.com/mesonbuild/%{name}/releases/download/%{version}/%{name}_%{version}.tar.gz.asc
+Source:         
https://github.com/%{_name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
+Source1:        
https://github.com/%{_name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz.asc
 Source2:        %{name}.keyring
 BuildRequires:  bison
 BuildRequires:  boost-devel
 BuildRequires:  flex
-BuildRequires:  rpm
 # Tests dependencies.
 BuildRequires:  gcc-c++
 BuildRequires:  gcc-fortran
@@ -46,6 +46,7 @@
 BuildRequires:  python3 >= 3.4
 BuildRequires:  python3-devel
 BuildRequires:  python3-gobject
+BuildRequires:  python3-setuptools
 BuildRequires:  vala
 BuildRequires:  wxWidgets-devel >= 3.0.0
 BuildRequires:  pkgconfig(glib-2.0)
@@ -73,7 +74,6 @@
 
 %prep
 %setup -q
-sed -i "s|%{_bindir}/rpm|$(which rpm)|" install_meson.py
 
 # Lack of gtest, gmock, gnustep.
 rm -rf "test cases/frameworks/2 gtest" \
@@ -81,11 +81,12 @@
   "test cases/objc/2 nsstring"
 
 %build
-# Nothing to build.
+python3 setup.py build
 
 %install
-python3 install_meson.py --prefix=%{_prefix} --destdir=%{buildroot}
-%py3_compile %{buildroot}%{_datadir}/%{name}/
+python3 setup.py install \
+  --root=%{buildroot} --prefix=%{_prefix}
+install -Dm 0644 data/macros.%{name} 
%{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name}
 
 %check
 export MESON_PRINT_TEST_OUTPUT=1
@@ -98,10 +99,11 @@
 %{_bindir}/%{name}conf
 %{_bindir}/%{name}introspect
 %{_bindir}/wraptool
-%{_datadir}/%{name}/
-%exclude %{_datadir}/%{name}/*.ui
-%exclude %{_datadir}/%{name}/mesongui.py
-%exclude %{_datadir}/%{name}/__pycache__/mesongui.*
+%{python3_sitelib}/%{_name}/
+%exclude %{python3_sitelib}/%{_name}/*.ui
+%exclude %{python3_sitelib}/%{_name}/mgui.py
+%exclude %{python3_sitelib}/%{_name}/__pycache__/mgui.*
+%{python3_sitelib}/%{name}-*
 %{_rpmconfigdir}/macros.d/macros.%{name}
 %{_mandir}/man1/%{name}.1%{?ext_man}
 %{_mandir}/man1/%{name}conf.1%{?ext_man}
@@ -112,9 +114,9 @@
 %defattr(-,root,root)
 %doc authors.txt contributing.txt COPYING readme.txt
 %{_bindir}/%{name}gui
-%{_datadir}/%{name}/*.ui
-%{_datadir}/%{name}/mesongui.py
-%{_datadir}/%{name}/__pycache__/mesongui.*
+%{python3_sitelib}/%{_name}/*.ui
+%{python3_sitelib}/%{_name}/mgui.py
+%{python3_sitelib}/%{_name}/__pycache__/mgui.*
 %{_mandir}/man1/%{name}gui.1%{?ext_man}
 
 %changelog


Reply via email to