From 464a23f67325160a8f72bd4b9b773a43385d81e6 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Tue, 3 Sep 2024 09:30:19 +0800 Subject: [PATCH] cleanup spec (cherry picked from commit 9af44548086d668e04fd9d3230ece057ac92f64f) --- libdaemon.spec | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/libdaemon.spec b/libdaemon.spec index 3b31fe2..a98429a 100644 --- a/libdaemon.spec +++ b/libdaemon.spec @@ -1,10 +1,10 @@ Name: libdaemon Version: 0.14 -Release: 21 +Release: 22 Summary: A lightweight daemon framework in C -License: LGPLv2+ -URL: http://0pointer.de/lennart/projects/libdaemon/ -Source0: http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz +License: LGPL-2.1-or-later +URL: https://0pointer.de/lennart/projects/libdaemon/ +Source0: https://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz Patch0001:0001-examples-testd.c-fix-some-typos.patch @@ -25,36 +25,34 @@ Development files for %{name}. %autosetup -n %{name}-%{version} -p1 %build -%configure +%configure --disable-static %make_build %install %make_install +%delete_la %check -make check - -%ldconfig_scriptlets +%make_build check %files -%defattr(-,root,root) %doc README %license LICENSE %{_libdir}/*.so.* %files devel -%defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc -%{_libdir}/*.a -%{_libdir}/*.la %files help %doc doc/README.html doc/style.css %{_datadir}/doc/%{name}/* %changelog +* Tue Sep 03 2024 Funda Wang - 0.14-22 +- cleanup spec + * Tue May 31 2022 Bin Hu - 0.14-21 - Type:bugfix - ID:NA -- Gitee