!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 Name: libdaemon
Version: 0.14 Version: 0.14
Release: 21 Release: 22
Summary: A lightweight daemon framework in C Summary: A lightweight daemon framework in C
License: LGPLv2+ License: LGPL-2.1-or-later
URL: http://0pointer.de/lennart/projects/libdaemon/ URL: https://0pointer.de/lennart/projects/libdaemon/
Source0: http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz Source0: https://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz
Patch0001:0001-examples-testd.c-fix-some-typos.patch Patch0001:0001-examples-testd.c-fix-some-typos.patch
@ -25,36 +25,34 @@ Development files for %{name}.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%configure %configure --disable-static
%make_build %make_build
%install %install
%make_install %make_install
%delete_la
%check %check
make check %make_build check
%ldconfig_scriptlets
%files %files
%defattr(-,root,root)
%doc README %doc README
%license LICENSE %license LICENSE
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files devel %files devel
%defattr(-,root,root)
%{_includedir}/* %{_includedir}/*
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_libdir}/*.a
%{_libdir}/*.la
%files help %files help
%doc doc/README.html doc/style.css %doc doc/README.html doc/style.css
%{_datadir}/doc/%{name}/* %{_datadir}/doc/%{name}/*
%changelog %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 * Tue May 31 2022 Bin Hu<hubin73@huawei.com> - 0.14-21
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA