Hello community,

here is the log from the commit of package vusb-analyzer for openSUSE:Factory 
checked in at 2017-11-29 10:53:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vusb-analyzer (Old)
 and      /work/SRC/openSUSE:Factory/.vusb-analyzer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vusb-analyzer"

Wed Nov 29 10:53:17 2017 rev:11 rq:546046 version:1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/vusb-analyzer/vusb-analyzer.changes      
2015-06-09 08:50:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.vusb-analyzer.new/vusb-analyzer.changes 
2017-11-29 10:53:33.106708892 +0100
@@ -1,0 +2,7 @@
+Mon Nov 27 15:19:46 UTC 2017 - [email protected]
+
+- Fix dependency issues (boo#730327)
+- Do not use env for interpreter
+- Small spec file cleanup
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ vusb-analyzer.spec ++++++
--- /var/tmp/diff_new_pack.ihGX6k/_old  2017-11-29 10:53:33.834682482 +0100
+++ /var/tmp/diff_new_pack.ihGX6k/_new  2017-11-29 10:53:33.834682482 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vusb-analyzer
 #
-# Copyright (c) 2015 SUSE LINUX 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
@@ -16,13 +16,6 @@
 #
 
 
-%{!?python_sitelib:  %global python_sitelib  %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-%if 0%{?suse_version} >= 1120
-%define py_inst_dir %{python_sitelib}
-%else
-%define py_inst_dir %{python_sitearch}
-%endif
 Name:           vusb-analyzer
 Version:        1.1
 Release:        0
@@ -32,12 +25,9 @@
 Url:            http://vusb-analyzer.sourceforge.net
 Source:         
http://downloads.sourceforge.net/vusb-analyzer/%{name}-%{version}.tar.gz
 BuildRequires:  python-gtk
+Requires:       python-gnomecanvas
 Requires:       python-gtk
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%py_requires
-%if 0%{?suse_version} >= 1120
 BuildArch:      noarch
-%endif
 
 %description
 The Virtual USB Analyzer is a free and open source tool for visualizing
@@ -46,20 +36,19 @@
 interface for visualizing logs.
 
 %prep
-%setup -q -c %{name}-%{version}
+%setup -q
 
 %build
+sed -i "s|/usr/bin/env python|/usr/bin/python2|g" %{name}
 
 %install
-cd vusb-analyzer-1.1
-install -d %{buildroot}/%{_bindir}
-install -m 0755 "vusb-analyzer" %{buildroot}/%{_bindir}
-install -d %{buildroot}/%{py_inst_dir}
-cp -a VUsbTools %{buildroot}/%{py_inst_dir}
+install -Dpm 0755 %{name} \
+   %{buildroot}/%{_bindir}/%{name}
+install -d %{buildroot}/%{python_sitelib}
+cp -a VUsbTools %{buildroot}/%{python_sitelib}
 
 %files
-%defattr(-,root,root)
 %{_bindir}/vusb-analyzer
-%{py_inst_dir}/VUsbTools
+%{python_sitelib}/VUsbTools
 
 %changelog


Reply via email to