Run autoreconf for new automake, cleanup spec
This commit is contained in:
parent
d36ccb43f4
commit
ecef38a2ac
19
libnl3.spec
19
libnl3.spec
@ -1,10 +1,11 @@
|
||||
Name: libnl3
|
||||
Version: 3.2.24
|
||||
Release: 5%{?dist}
|
||||
Summary: Convenience library for kernel netlink sockets
|
||||
Group: Development/Libraries
|
||||
License: LGPLv2
|
||||
Name: libnl3
|
||||
Version: 3.2.24
|
||||
Release: 4%{?dist}
|
||||
URL: http://www.infradead.org/~tgr/libnl/
|
||||
|
||||
Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{version}.tar.gz
|
||||
Source1: http://www.infradead.org/~tgr/libnl/files/libnl-doc-%{version}.tar.gz
|
||||
Patch1: 0001.ifa_flags-workaround.patch
|
||||
@ -12,10 +13,10 @@ Patch2: 0002-rh1097176-nl-has-capability.patch
|
||||
Patch3: 0003-rh1097176-retry-local-port.patch
|
||||
Patch4: 0004-backport-diverse-fixes.patch
|
||||
Patch5: 0005-route-scope-in-route-build-msg.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
|
||||
BuildRequires: flex bison
|
||||
BuildRequires: python
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool autoconf automake
|
||||
|
||||
%description
|
||||
This package contains a convenience library to simplify
|
||||
@ -60,6 +61,7 @@ This package contains libnl3 API documentation
|
||||
tar -xzf %SOURCE1
|
||||
|
||||
%build
|
||||
autoreconf -vif
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -74,14 +76,12 @@ find $RPM_BUILD_ROOT -name \*.la -delete
|
||||
%postun cli -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%exclude %{_libdir}/libnl-cli*.so.*
|
||||
%{_libdir}/libnl-*.so.*
|
||||
%config(noreplace) %{_sysconfdir}/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_includedir}/libnl3/netlink/
|
||||
%dir %{_includedir}/libnl3/
|
||||
@ -89,7 +89,6 @@ find $RPM_BUILD_ROOT -name \*.la -delete
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%files cli
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_libdir}/libnl-cli*.so.*
|
||||
%{_libdir}/libnl/
|
||||
@ -97,7 +96,6 @@ find $RPM_BUILD_ROOT -name \*.la -delete
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%doc libnl-doc-%{version}/*.html
|
||||
%doc libnl-doc-%{version}/*.css
|
||||
@ -108,6 +106,9 @@ find $RPM_BUILD_ROOT -name \*.la -delete
|
||||
%doc libnl-doc-%{version}/api/*
|
||||
|
||||
%changelog
|
||||
* Sun Jun 8 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.24-5
|
||||
- Run autoreconf for new automake, cleanup spec
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.24-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user