Accepting request 913779 from home:jengelh:pic
- Drop --with-pic (no effect with --disable-static). - Modernize rpm macro constructs. OBS-URL: https://build.opensuse.org/request/show/913779 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdaemon?expand=0&rev=14
This commit is contained in:
parent
b2cd1293c0
commit
d4a4d61352
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 7 23:18:11 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Drop --with-pic (no effect with --disable-static).
|
||||
- Modernize rpm macro constructs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 23 15:15:30 UTC 2017 - kstreitova@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libdaemon
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -20,13 +20,12 @@ Name: libdaemon
|
||||
Version: 0.14
|
||||
Release: 0
|
||||
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
||||
License: LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Url: http://0pointer.de/lennart/projects/libdaemon
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: http://0pointer.de/lennart/projects/libdaemon
|
||||
Source: http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: pkgconfig
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
libdaemon is a lightweight C library that eases the writing of UNIX
|
||||
@ -34,7 +33,7 @@ daemons.
|
||||
|
||||
%package -n libdaemon0
|
||||
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
Provides: %{name} = %{version}
|
||||
#opensuse 10.3
|
||||
@ -46,7 +45,7 @@ daemons.
|
||||
|
||||
%package devel
|
||||
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: glibc-devel
|
||||
Requires: libdaemon0 = %{version}
|
||||
@ -56,14 +55,13 @@ libdaemon is a lightweight C library that eases the writing of UNIX
|
||||
daemons.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-static \
|
||||
--with-pic \
|
||||
--disable-lynx
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
@ -75,12 +73,10 @@ rm %{buildroot}%{_datadir}/doc/libdaemon/{README.html,style.css}
|
||||
%postun -n libdaemon0 -p /sbin/ldconfig
|
||||
|
||||
%files -n libdaemon0
|
||||
%defattr (-,root,root)
|
||||
%doc LICENSE README
|
||||
%{_libdir}/libdaemon.so.0*
|
||||
|
||||
%files devel
|
||||
%defattr (-,root,root)
|
||||
%{_libdir}/libdaemon.so
|
||||
%{_libdir}/pkgconfig/libdaemon.pc
|
||||
%dir %{_includedir}/libdaemon
|
||||
|
Loading…
Reference in New Issue
Block a user