Accepting request 581239 from GNOME:Next

spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/581239
OBS-URL: https://build.opensuse.org/package/show/hardware/libgusb?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2018-03-05 17:52:49 +00:00 committed by Git OBS Bridge
parent 3f0638d68d
commit e5ddc6d34b
2 changed files with 12 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 28 16:35:13 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Wed Sep 6 20:08:26 UTC 2017 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package libgusb
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -20,10 +20,11 @@ Name: libgusb
Version: 0.2.11
Release: 0
Summary: GObject-based library for libusb1
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: System/Libraries
Url: https://github.com/hughsie/libgusb
URL: https://github.com/hughsie/libgusb
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig
BuildRequires: vala
BuildRequires: xz
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
@ -75,24 +76,21 @@ make %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libgusb2 -p /sbin/ldconfig
%postun -n libgusb2 -p /sbin/ldconfig
%files -n libgusb2
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README
%license COPYING
%doc AUTHORS NEWS README
%{_libdir}/libgusb.so.?
%{_libdir}/libgusb.so.?.0.*
%files -n typelib-1_0-GUsb-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/GUsb-1.0.typelib
%files devel
%defattr(-,root,root,-)
%{_bindir}/gusbcmd
%{_datadir}/gir-1.0/GUsb-1.0.gir
%dir %{_datadir}/vala/vapi