projects
/
platform
/
upstream
/
libnl2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cd2f4ce
)
run %configure to install correctly
author
Anas Nashif
<anas.nashif@intel.com>
Fri, 17 May 2013 04:38:30 +0000
(
00:38
-0400)
committer
Anas Nashif
<anas.nashif@intel.com>
Fri, 17 May 2013 04:38:30 +0000
(
00:38
-0400)
packaging/libnl2.spec
patch
|
blob
|
history
diff --git
a/packaging/libnl2.spec
b/packaging/libnl2.spec
index
2ce83bc
..
ecb95da
100644
(file)
--- a/
packaging/libnl2.spec
+++ b/
packaging/libnl2.spec
@@
-3,7
+3,7
@@
Summary: Library for netlink sockets
Version: 2.0
Release: 2
Group: System/Network
Version: 2.0
Release: 2
Group: System/Network
-License: GPL-2.1
+License:
L
GPL-2.1
Source0: %{name}-%{version}.tar.gz
BuildRequires: bison
BuildRequires: flex
Source0: %{name}-%{version}.tar.gz
BuildRequires: bison
BuildRequires: flex
@@
-28,21
+28,16
@@
libnl2.
%prep
%setup -q
%prep
%setup -q
-./autogen.sh
%build
%build
-CFLAGS="$RPM_OPT_FLAGS" \
- ./configure \
- --prefix=/usr
+%autogen.sh
+%configure
make -j1
%install
make -j1
%install
-rm -rf %{buildroot}
%make_install
%make_install
-
-rm %{buildroot}/usr/etc/libnl/pktloc
-
+rm -f %{buildroot}/etc/libnl/pktloc
%post -p /sbin/ldconfig
%post -p /sbin/ldconfig
@@
-50,6
+45,7
@@
rm %{buildroot}/usr/etc/libnl/pktloc
%files
%defattr(-,root,root,-)
%files
%defattr(-,root,root,-)
+%license COPYING
%{_libdir}/libnl*.so.*
%files devel
%{_libdir}/libnl*.so.*
%files devel