Accepting request 899907 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/899907 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libbsd?expand=0&rev=8
This commit is contained in:
commit
c5d86c1097
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 7 12:12:37 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Drop --with-pic (no effect with --disable-static).
|
||||||
|
- Make description neutral; adhere to noun phrasing.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 16 09:18:45 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
Mon Dec 16 09:18:45 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
26
libbsd.spec
26
libbsd.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libbsd
|
# spec file for package libbsd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2021 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
|
||||||
@ -20,9 +20,9 @@
|
|||||||
Name: libbsd
|
Name: libbsd
|
||||||
Version: 0.10.0
|
Version: 0.10.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Provides useful functions commonly found on BSD systems
|
Summary: Library with functions commonly found on BSD systems
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: https://libbsd.freedesktop.org/
|
URL: https://libbsd.freedesktop.org/
|
||||||
#Git-Clone: git://anongit.freedesktop.org/git/libbsd
|
#Git-Clone: git://anongit.freedesktop.org/git/libbsd
|
||||||
#Git-Web: http://cgit.freedesktop.org/libbsd/
|
#Git-Web: http://cgit.freedesktop.org/libbsd/
|
||||||
@ -34,36 +34,36 @@ BuildRequires: openssl-devel
|
|||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library provides useful functions commonly found on BSD systems, and
|
This library provides functions commonly found on BSD systems, and
|
||||||
lacking on others like GNU systems, thus making it easier to port projects
|
lacking on others like GNU systems, thus making it easier to port projects
|
||||||
with strong BSD origins, without needing to embed the same code over and
|
with strong BSD origins, without needing to embed the same code over and
|
||||||
over again on each project.
|
over again on each project.
|
||||||
|
|
||||||
%package -n %{lname}
|
%package -n %{lname}
|
||||||
Summary: Provides useful functions commonly found on BSD systems
|
Summary: Library with functions commonly found on BSD systems
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{lname}
|
%description -n %{lname}
|
||||||
This library provides useful functions commonly found on BSD systems, and
|
This library provides functions commonly found on BSD systems, and
|
||||||
lacking on others like GNU systems, thus making it easier to port projects
|
lacking on others like GNU systems, thus making it easier to port projects
|
||||||
with strong BSD origins, without needing to embed the same code over and
|
with strong BSD origins, without needing to embed the same code over and
|
||||||
over again on each project.
|
over again on each project.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development headers and files for libbsd
|
Summary: Development headers and files for libbsd
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{lname} = %{version}
|
Requires: %{lname} = %{version}
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This library provides useful functions commonly found on BSD systems, and
|
This library provides functions commonly found on BSD systems, and
|
||||||
lacking on others like GNU systems, thus making it easier to port projects
|
lacking on others like GNU systems, thus making it easier to port projects
|
||||||
with strong BSD origins, without needing to embed the same code over and
|
with strong BSD origins, without needing to embed the same code over and
|
||||||
over again on each project.
|
over again on each project.
|
||||||
|
|
||||||
%package ctor-static
|
%package ctor-static
|
||||||
Summary: Development headers and files for libbsd
|
Summary: Development headers and files for libbsd
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{lname} = %{version}-%{release}
|
Requires: %{lname} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
@ -73,13 +73,11 @@ when libbsd is loaded via dlopen() from a threaded program. This can be
|
|||||||
configured using "pkg-config --libs libbsd-ctor".
|
configured using "pkg-config --libs libbsd-ctor".
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define _lto_cflags %{nil}
|
%define _lto_cflags %{nil}
|
||||||
%configure \
|
%configure --disable-static
|
||||||
--disable-static \
|
|
||||||
--with-pic
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -88,7 +86,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
%make_build check
|
||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -n %{lname} -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user