!12 [sync] PR-7: cleanup spec

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-09-06 01:26:37 +00:00 committed by Gitee
commit 015593f93d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <fundawang@yeah.net> - 0.14-22
- cleanup spec
* Tue May 31 2022 Bin Hu<hubin73@huawei.com> - 0.14-21
- Type:bugfix
- ID:NA