diff --git a/libconfig.spec b/libconfig.spec index fe9789dad9a93bf160ede4a9ae73da268a03a837..e1ab99d0c9a87a60d4a038b6744b619ce85af550 100644 --- a/libconfig.spec +++ b/libconfig.spec @@ -1,8 +1,8 @@ Name: libconfig Version: 1.7.3 -Release: 3 +Release: 4 Summary: C/C++ Configuration File Library -License: LGPLv2+ +License: LGPL-2.1-or-later AND GPL-3.0-or-later WITH Bison-exception-2.2 URL: http://www.hyperrealm.com/libconfig/libconfig.html # This tarball comes from libconfig-1.7.2/docs/dist/libconfig-1.7.2.tar.gz # in archive(https://github.com/hyperrealm/libconfig/archive/v1.7.2.tar.gz) @@ -17,6 +17,7 @@ Patch6002: backport-Added-unit-test-for-config_read.patch Patch9000: add-to-strbuf_append_string.patch BuildRequires: gcc gcc-c++ bison flex +BuildRequires: cmake-rpm-macros BuildRequires: texinfo-tex tex(ecbx1095.tfm) tex(ecrm1095.tfm) tex(cm-super-t1.enc) %description @@ -26,8 +27,8 @@ Libconfig is a simple library for processing structured configuration files. Summary: Files for %{name} development Requires: %{name} = %{version}-%{release} -Provides: libconfig-static -Obsoletes: libconfig-static +Provides: libconfig-static = %{version}-%{release} +Obsoletes: libconfig-static < %{version}-%{release} %description devel Files for %{name} development @@ -42,22 +43,18 @@ cp %{SOURCE1} . %install %make_install +%delete_la rm -rf %{buildroot}%{_infodir}/dir %check -make check - -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%make_build check %files -%defattr(-,root,root) %doc AUTHORS ChangeLog README %license COPYING.LIB %{_libdir}/%{name}*.so.* %files devel -%defattr(-,root,root) %doc libconfig.pdf %{_includedir}/%{name}* %{_libdir}/cmake/%{name}* @@ -65,9 +62,11 @@ make check %{_libdir}/pkgconfig/%{name}*.pc %{_infodir}/libconfig.info* %{_libdir}/*.a -%{_libdir}/*.la %changelog +* Tue Sep 03 2024 Funda Wang - 1.7.3-4 +- cleanup spec + * Wed Mar 27 2024 gengqihu - 1.7.3-3 - Type:bugfix - ID:NA