Accepting request 843163 from security:netfilter
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/843163 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnl3?expand=0&rev=35
This commit is contained in:
commit
38c1404fa6
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 14 09:12:27 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Modernize specfile constructs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 19 23:02:43 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Thu Dec 19 23:02:43 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
25
libnl3.spec
25
libnl3.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libnl3
|
# spec file for package libnl3
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -28,21 +28,12 @@ Group: Development/Libraries/C and C++
|
|||||||
URL: http://www.carisma.slowglass.com/~tgr/libnl/#(outdated)
|
URL: http://www.carisma.slowglass.com/~tgr/libnl/#(outdated)
|
||||||
|
|
||||||
#Git-Clone: https://github.com/thom311/libnl/
|
#Git-Clone: https://github.com/thom311/libnl/
|
||||||
#Mailing-List: http://lists.infradead.org/mailman/listinfo/libnl
|
|
||||||
Source: https://github.com/thom311/libnl/releases/download/libnl%uver/libnl-%version.tar.gz
|
Source: https://github.com/thom311/libnl/releases/download/libnl%uver/libnl-%version.tar.gz
|
||||||
Source2: https://github.com/thom311/libnl/releases/download/libnl%uver/libnl-%version.tar.gz.sig
|
Source2: https://github.com/thom311/libnl/releases/download/libnl%uver/libnl-%version.tar.gz.sig
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: bison >= 2.4
|
BuildRequires: bison >= 2.4
|
||||||
BuildRequires: flex >= 2.5.19
|
|
||||||
BuildRequires: pkgconfig >= 0.21
|
|
||||||
# Only used if python/ subdir would be built, which is not and
|
|
||||||
# is marked as
|
|
||||||
# "NOTE: The python wrapper is experimental and may or may not work."
|
|
||||||
# BuildRequires: python-devel >= 2.6
|
|
||||||
%if 0%{?suse_version}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
%endif
|
BuildRequires: flex >= 2.5.19
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The libnl suite is a collection of libraries providing APIs to
|
The libnl suite is a collection of libraries providing APIs to
|
||||||
@ -101,15 +92,15 @@ demonstrated.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn libnl-%version
|
%autosetup -p1 -n libnl-%version
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags} pkglibdir="%_libdir/%lname"
|
%make_build pkglibdir="%_libdir/%lname"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot";
|
b="%buildroot"
|
||||||
make install DESTDIR="%buildroot" pkglibdir="%_libdir/%lname"
|
%make_install pkglibdir="%_libdir/%lname"
|
||||||
find "$b" -iname "*.la" -delete
|
find "$b" -iname "*.la" -delete
|
||||||
%if !%with_tools
|
%if !%with_tools
|
||||||
rm -Rf "$b/%_sysconfdir/libnl"
|
rm -Rf "$b/%_sysconfdir/libnl"
|
||||||
@ -123,12 +114,10 @@ rm -Rf "$b/%_sbindir" "$b/%_mandir/man8"
|
|||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
|
||||||
%_libdir/libnl*.so.200*
|
%_libdir/libnl*.so.200*
|
||||||
%_libdir/%lname
|
%_libdir/%lname
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%_includedir/%name
|
%_includedir/%name
|
||||||
%_libdir/libnl*.so
|
%_libdir/libnl*.so
|
||||||
%_libdir/pkgconfig/*
|
%_libdir/pkgconfig/*
|
||||||
@ -136,12 +125,10 @@ rm -Rf "$b/%_sbindir" "$b/%_mandir/man8"
|
|||||||
%if %with_tools
|
%if %with_tools
|
||||||
|
|
||||||
%files -n libnl-config
|
%files -n libnl-config
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %_sysconfdir/libnl
|
%dir %_sysconfdir/libnl
|
||||||
%config %_sysconfdir/libnl/*
|
%config %_sysconfdir/libnl/*
|
||||||
|
|
||||||
%files -n libnl-tools
|
%files -n libnl-tools
|
||||||
%defattr(-,root,root)
|
|
||||||
%_mandir/man*/*
|
%_mandir/man*/*
|
||||||
%_bindir/*
|
%_bindir/*
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user