diff --git a/libasyncns.spec b/libasyncns.spec index f88bdd5c5a883195f134763639fceb973587ec0e..03a70f97e4162b786a13af877dde2225db1818a5 100644 --- a/libasyncns.spec +++ b/libasyncns.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 15 Name: libasyncns Version: 0.8 Release: %{anolis_release}%{?dist} @@ -7,7 +7,7 @@ Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.ta License: LGPLv2+ Url: http://0pointer.de/lennart/projects/libasyncns/ -BuildRequires: gcc +BuildRequires: gcc BuildRequires: make %description A small and lightweight library that implements easy to use asynchronous @@ -21,23 +21,21 @@ Requires: pkgconfig %description devel Development Files for libasyncns Client Development -%ldconfig_scriptlets - %prep %setup -q %build %configure --disable-static -make %{?_smp_mflags} +%make_build %install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install -find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \; +%make_install + rm -rf $RPM_BUILD_ROOT/usr/share/doc/libasyncns/ %files -%doc README LICENSE +%license LICENSE +%doc README %{_libdir}/libasyncns.so.* %files devel @@ -46,6 +44,9 @@ rm -rf $RPM_BUILD_ROOT/usr/share/doc/libasyncns/ %{_libdir}/pkgconfig/libasyncns.pc %changelog +* Sun Jan 1 2023 Funda Wang - 0.8-15 +- Bump release for upgrading from anolis 8 + * Sat Apr 02 2022 mgb01105731 - 0.8-1 - Init form upstream version 0.8