Accepting request 292488 from network
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/292488 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/canutils?expand=0&rev=6
This commit is contained in:
commit
83369ea811
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 16 15:48:41 UTC 2015 - jengelh@inai.de
|
||||
|
||||
- Use source URLs, some more macros and some unneeded BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 8 00:31:43 UTC 2013 - jengelh@inai.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package canutils
|
||||
#
|
||||
# Copyright (c) 2013 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
|
||||
@ -25,34 +25,30 @@ Release: 0
|
||||
Url: http://pengutronix.de/software/socket-can/download/
|
||||
|
||||
#Git-Clone: git://git.pengutronix.de/git/tools/canutils
|
||||
Source: %name-%version.tar.bz2
|
||||
Source: http://pengutronix.de/software/socket-can/download/canutils/v4.0/%name-%version.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf >= 2.59
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool >= 2
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: xz
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
BuildRequires: pkgconfig(libsocketcan) >= 0.0.8
|
||||
%else
|
||||
%else
|
||||
BuildRequires: libsocketcan-devel >= 0.0.8
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
Utilities for Controller Area Networks.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
./autogen.sh;
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags};
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
make install DESTDIR="$b";
|
||||
%make_install
|
||||
# There are no development files here..
|
||||
rm -Rf "$b/%_libdir/pkgconfig";
|
||||
rm -Rf "%buildroot/%_libdir/pkgconfig";
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user