diff --git a/tidy.spec b/tidy.spec index cd9343c4a4cc974ba51ccfaf69126b688f5ce722..882998822ccb80c45b2018f85385a7783fd471b3 100644 --- a/tidy.spec +++ b/tidy.spec @@ -3,7 +3,7 @@ Name: tidy Version: 5.8.0 -Release: 2 +Release: 3 Summary: Utility to clean up and pretty print HTML/XHTML/XML License: W3C URL: http://www.html-tidy.org/ @@ -45,41 +45,36 @@ Requires: %{libname}%{?_isa} = %{version}-%{release} ln -s tidy build/cmake/tidy5 %build -pushd build/cmake -%cmake ../../ \ +%cmake \ -DCMAKE_BUILD_TYPE:STRING=Release -popd -%make_build -C build/cmake +%cmake_build %install -%make_install -C build/cmake +%cmake_install +rm -f %{buildroot}%{_libdir}/*.a ln -s tidybuffio.h $RPM_BUILD_ROOT%{_includedir}/buffio.h ln -s tidyplatform.h $RPM_BUILD_ROOT%{_includedir}/platform.h -%delete_la_and_a - -%ldconfig_scriptlets -n %{libname} %files -%defattr(-,root,root,-) %license README/LICENSE.md %{_bindir}/tidy %files -n %{libname} -%defattr(-,root,root,-) %license README/LICENSE.md %{_libdir}/libtidy.so.5* %files -n %{libname}-devel -%defattr(-,root,root) %{_includedir}/*.h %{_libdir}/libtidy.so %{_libdir}/pkgconfig/tidy.pc %files help -%defattr(-,root,root) -%{_mandir}/* +%{_mandir}/man?/* %changelog +* Tue Nov 19 2024 Funda Wang - 5.8.0-3 +- adopt to new cmake macro + * Thu Dec 28 2023 wangkai <13474090681@163.com> - 5.8.0-2 - Fix CVE-2021-33391 diff --git a/tidy.yaml b/tidy.yaml index 0480dbae9b1bb5e56f7b55be1c9ab47727bdd1a1..896ab82791c219e62c9a9fc86e3be00c868d074a 100644 --- a/tidy.yaml +++ b/tidy.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: htacg/tidy-html5 tag_prefix: ^ -seperator: . +separator: .