diff --git a/libconfig.spec b/libconfig.spec index 70c36ee7f3113dc433e1fb270c00c29243010001..9e7e87d69838e3cbeace465de4df24c9aab77bbc 100644 --- a/libconfig.spec +++ b/libconfig.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %bcond_without check Name: libconfig @@ -12,7 +12,7 @@ Source0: https://hyperrealm.github.io/%name/dist/%name-%version.t BuildRequires: gcc, gcc-c++ BuildRequires: texinfo BuildRequires: bison, flex -BuildRequires: make +BuildRequires: make %description Libconfig is a simple library for manipulating structured configuration @@ -38,7 +38,7 @@ libconfig. %prep -%setup -q +%autosetup -n %{name}-%{version} -p1 iconv -f iso-8859-1 -t utf-8 -o AUTHORS{.utf8,} mv AUTHORS{.utf8,} @@ -63,9 +63,6 @@ rm -rf $RPM_BUILD_ROOT%{_infodir}/dir make check %endif - -%ldconfig_scriptlets - %files %dir %{abidir} %license COPYING.LIB @@ -85,6 +82,9 @@ make check %changelog +* Mon Jan 30 2023 chen_yu_ao - 1.7.3-3 +- use autosetup instead of setup, optimise format + * Tue Oct 25 2022 mgb01105731 - 1.7.3-2 - optimise spec file & add doc package