cleanup spec

(cherry picked from commit 9af44548086d668e04fd9d3230ece057ac92f64f)
This commit is contained in:
Funda Wang 2024-09-03 09:30:19 +08:00 committed by openeuler-sync-bot
parent fa0224d8cd
commit 8ba0f999e3

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