From 12e52f47bcbb3245c13849fb52f2c94727858010 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Thu, 26 Dec 2024 09:59:37 +0800 Subject: [PATCH] cleanup spec --- libdatrie.spec | 24 ++++++++++-------------- libdatrie.yaml | 2 +- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/libdatrie.spec b/libdatrie.spec index 028e319..330a8f0 100644 --- a/libdatrie.spec +++ b/libdatrie.spec @@ -1,11 +1,11 @@ Name: libdatrie Version: 0.2.13 -Release: 2 +Release: 3 Summary: a library of double-array structure for representing trie. -License: LGPLv2+ +License: LGPL-2.1-or-later URL: https://linux.thai.net/~thep/datrie Source0: https://linux.thai.net/pub/ThaiLinux/software/libthai/%{name}-%{version}.tar.xz -BuildRequires: git gcc automake libtool doxygen autoconf-archive pkgconfig xz +BuildRequires: gcc doxygen %description Trie is an efficient indexing method. It is usually much faster @@ -24,41 +24,37 @@ Development files for %{name}. %autosetup -n %{name}-%{version} -p1 %build -autoreconf -ivf -%configure --with-html-docdir=%{_pkgdocdir}-help +%configure --with-html-docdir=%{_pkgdocdir}-help --disable-static %disable_rpath %make_build %install %make_install -%delete_la_and_a +%delete_la find %{buildroot} -name README.migration -delete -print %check export LD_LIBRARY_PATH=../datrie/.libs -make check - -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%make_build check %files -%defattr(-,root,root) %license COPYING AUTHORS %{_libdir}/%{name}.so.* %files devel -%defattr(-,root,root) %{_bindir}/trietool* %{_includedir}/datrie %{_libdir}/%{name}.so %{_libdir}/pkgconfig/*.pc %files help -%defattr(-,root,root) %doc ChangeLog NEWS README* doc/html/* -%{_mandir}/man1/trietool*.1.gz +%{_mandir}/man1/* %changelog +* Thu Dec 26 2024 Funda Wang - 0.2.13-3 +- cleanup spec + * Tue Oct 25 2022 lijianglin - 0.2.13-2 - rebuild package diff --git a/libdatrie.yaml b/libdatrie.yaml index 2431819..2e3d258 100644 --- a/libdatrie.yaml +++ b/libdatrie.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: tlwg/libdatrie tag_prefix: ^v -seperator: +separator: -- Gitee