commit vusb-analyzer for openSUSE:Factory
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.0 +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 - mplus...@suse.com + +- 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
commit vusb-analyzer for openSUSE:Factory
Hello community, here is the log from the commit of package vusb-analyzer for openSUSE:Factory checked in at 2015-06-09 08:49:10 Comparing /work/SRC/openSUSE:Factory/vusb-analyzer (Old) and /work/SRC/openSUSE:Factory/.vusb-analyzer.new (New) Package is vusb-analyzer Changes: --- /work/SRC/openSUSE:Factory/vusb-analyzer/vusb-analyzer.changes 2011-09-23 12:50:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.vusb-analyzer.new/vusb-analyzer.changes 2015-06-09 08:50:22.0 +0200 @@ -1,0 +2,6 @@ +Sun Jun 7 18:03:52 UTC 2015 - mplus...@suse.com + +- Use url for source +- Cleanup spec file with spec-cleaner + +--- Other differences: -- ++ vusb-analyzer.spec ++ --- /var/tmp/diff_new_pack.uYt9ru/_old 2015-06-09 08:50:23.0 +0200 +++ /var/tmp/diff_new_pack.uYt9ru/_new 2015-06-09 08:50:23.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package vusb-analyzer (Version 1.1) +# spec file for package vusb-analyzer # -# Copyright (c) 2010 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 @@ -15,34 +15,28 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - +%{!?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:2 +Release:0 +Summary:A tool for viewing USB trace files from usbmon and other usb dump formats License:MIT -BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Development/Tools/Other -Source: %{name}-%{version}.tar.gz -Summary:A tool for viewing USB trace files from usbmon and other usb dump formats - -%if 0%{suse_version} = 1120 -BuildArch: noarch -%endif - Url:http://vusb-analyzer.sourceforge.net +Source: http://downloads.sourceforge.net/vusb-analyzer/%{name}-%{version}.tar.gz BuildRequires: python-gtk Requires: python-gtk -%{py_requires} - -%{!?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 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%py_requires +%if 0%{?suse_version} = 1120 +BuildArch: noarch %endif %description @@ -51,10 +45,6 @@ Virtual USB Analyzer is not itself a USB sniffer tool. It is just a user interface for visualizing logs. -Authors: - -Micah Dowty mi...@vmware.com - %prep %setup -q -c %{name}-%{version} @@ -62,13 +52,10 @@ %install cd vusb-analyzer-1.1 -install -d $RPM_BUILD_ROOT/%{_bindir} -install -m 0755 vusb-analyzer $RPM_BUILD_ROOT/%{_bindir} -install -d $RPM_BUILD_ROOT/%{py_inst_dir} -cp -a VUsbTools $RPM_BUILD_ROOT/%{py_inst_dir} - -%clean -rm -rf $RPM_BUILD_ROOT +install -d %{buildroot}/%{_bindir} +install -m 0755 vusb-analyzer %{buildroot}/%{_bindir} +install -d %{buildroot}/%{py_inst_dir} +cp -a VUsbTools %{buildroot}/%{py_inst_dir} %files %defattr(-,root,root)