Accepting request 290339 from home:pluskalm:branches:devel:libraries:c_c++

- Cleanup spec file with spec-cleaner
- Use url for source

OBS-URL: https://build.opensuse.org/request/show/290339
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdaemon?expand=0&rev=10
This commit is contained in:
Kristyna Streitova 2015-03-13 11:22:41 +00:00 committed by Git OBS Bridge
parent 45180f7d93
commit 26e6c3e709
4 changed files with 16 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ca0c90323192503f5289e074f84d72d66091b87ea1ecad04f3f97b938d30cbf
size 278637

BIN
libdaemon-0.14.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 11 19:07:47 UTC 2015 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Use url for source
-------------------------------------------------------------------
Sat Feb 11 19:25:52 UTC 2012 - crrodriguez@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package libdaemon
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,13 @@
Name: libdaemon
Url: http://0pointer.de/lennart/projects/libdaemon/
Version: 0.14
Release: 0
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
License: LGPL-2.1+
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Url: http://0pointer.de/lennart/projects/libdaemon
Source: http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz
BuildRequires: doxygen
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -48,8 +48,8 @@ daemons.
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
License: GPL-2.0+
Group: Development/Libraries/C and C++
Requires: libdaemon0 = %{version}
Requires: glibc-devel
Requires: libdaemon0 = %{version}
%description devel
libdaemon is a lightweight C library that eases the writing of UNIX
@ -60,12 +60,13 @@ daemons.
%build
%configure \
--disable-static --with-pic \
--disable-static \
--with-pic \
--disable-lynx
make %{?_smp_mflags}
%install
%makeinstall
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -f %{buildroot}%{_libdir}/libdaemon.la
# We don't care about the HTML README
rm %{buildroot}%{_datadir}/doc/libdaemon/{README.html,style.css}