From 26e6c3e7098bccb09ec9ca566b96ffa483ec3a4ed4cd514b003300472a039a61 Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Fri, 13 Mar 2015 11:22:41 +0000 Subject: [PATCH] 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 --- libdaemon-0.14.tar.bz2 | 3 --- libdaemon-0.14.tar.gz | 3 +++ libdaemon.changes | 6 ++++++ libdaemon.spec | 13 +++++++------ 4 files changed, 16 insertions(+), 9 deletions(-) delete mode 100644 libdaemon-0.14.tar.bz2 create mode 100644 libdaemon-0.14.tar.gz diff --git a/libdaemon-0.14.tar.bz2 b/libdaemon-0.14.tar.bz2 deleted file mode 100644 index 4765cfc..0000000 --- a/libdaemon-0.14.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6ca0c90323192503f5289e074f84d72d66091b87ea1ecad04f3f97b938d30cbf -size 278637 diff --git a/libdaemon-0.14.tar.gz b/libdaemon-0.14.tar.gz new file mode 100644 index 0000000..5af4fc3 --- /dev/null +++ b/libdaemon-0.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834 +size 340474 diff --git a/libdaemon.changes b/libdaemon.changes index a117c4d..b98083f 100644 --- a/libdaemon.changes +++ b/libdaemon.changes @@ -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 diff --git a/libdaemon.spec b/libdaemon.spec index f3e517c..6bea971 100644 --- a/libdaemon.spec +++ b/libdaemon.spec @@ -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}