- Use %makeinstall instead of %make_install to build on SLE11.
OBS-URL: https://build.opensuse.org/package/show/hardware/libusb-1_0?expand=0&rev=31
This commit is contained in:
parent
1a174a10d0
commit
a192336f11
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 26 20:42:46 CEST 2012 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Use %makeinstall instead of %make_install to build on SLE11.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 20 07:40:43 UTC 2012 - dimstar@opensuse.org
|
Fri Apr 20 07:40:43 UTC 2012 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -16,17 +16,16 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: libusb-1_0
|
Name: libusb-1_0
|
||||||
Version: 1.0.9
|
Version: 1.0.9
|
||||||
Release: 0
|
Release: 0
|
||||||
License: LGPL-2.1+
|
|
||||||
Summary: USB Library
|
Summary: USB Library
|
||||||
|
License: LGPL-2.1+
|
||||||
|
Group: System/Libraries
|
||||||
%define _name libusb
|
%define _name libusb
|
||||||
Url: http://www.libusb.org/
|
Url: http://www.libusb.org/
|
||||||
Group: System/Libraries
|
|
||||||
Source: %{_name}-%{version}.tar.bz2
|
Source: %{_name}-%{version}.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source1: baselibs.conf
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%define debug_package_requires libusb-1_0-0 = %{version}-%{release}
|
%define debug_package_requires libusb-1_0-0 = %{version}-%{release}
|
||||||
@ -60,7 +59,7 @@ Libusb is a library that allows userspace access to USB devices.
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%makeinstall
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%post -n libusb-1_0-0 -p /sbin/ldconfig
|
%post -n libusb-1_0-0 -p /sbin/ldconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user