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