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.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.vusb-analyzer.new/vusb-analyzer.changes 2015-06-09 08:50:22.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Jun 7 18:03:52 UTC 2015 - [email protected] + +- 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.000000000 +0200 +++ /var/tmp/diff_new_pack.uYt9ru/_new 2015-06-09 08:50:23.000000000 +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 <[email protected]> - %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)
