diff --git a/libmicrodns.spec b/libmicrodns.spec index 0615edc..747b5fc 100644 --- a/libmicrodns.spec +++ b/libmicrodns.spec @@ -1,13 +1,17 @@ Name: libmicrodns -Version: 0.0.10 -Release: 4%{?dist} +Version: 0.1.2 +Release: 1%{?dist} Summary: Minimal mDNS resolver library License: LGPLv2+ URL: https://github.com/videolabs/libmicrodns Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz -BuildRequires: libtool +BuildRequires: meson +BuildRequires: gcc +%if 0%{?el7} +BuildRequires: devtoolset-8-toolchain, devtoolset-8-libatomic-devel +%endif %description @@ -25,20 +29,27 @@ developing applications that use %{name}. %prep %autosetup -./bootstrap +%if 0%{?rhel} +# lower the meson requirement there +sed -i -e 's/0.50.0/0.47.2/' meson.build +%endif %build -%configure \ - --disable-static \ - --disable-assert - -%make_build V=1 +%if 0%{?el7} +. /opt/rh/devtoolset-8/enable +%endif +%meson +%meson_build %install -%make_install -find %{buildroot} -name '*.la' -exec rm -f {} ';' +%meson_install +#find %{buildroot} -name '*.la' -exec rm -f {} ';' + + +%check +%meson_test %ldconfig_scriptlets @@ -46,8 +57,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %files %license COPYING -%doc AUTHORS NEWS -%{_docdir}/microdns/README.md +%doc AUTHORS NEWS README.md %{_libdir}/libmicrodns.so.0* %files devel @@ -57,6 +67,13 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %changelog +* Mon Mar 23 2020 Nicolas Chauvet - 0.1.2-1 +- Update to 0.1.2 +- Switch to meson + +* Wed Jan 29 2020 Fedora Release Engineering - 0.0.10-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Fedora Release Engineering - 0.0.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 8866cb6..1f87bd9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libmicrodns-0.0.10.tar.gz) = 003cacb71d3aa8015a233e1ac4b9383ca90ddd5a08983097d082d83dc75f0a7a175646f713bcf4d3ff3f682ac8c4b444ed81ee316549f041a96829a6be6395a4 +SHA512 (libmicrodns-0.1.2.tar.gz) = a2a40f785cfcab280c1d5e187eef5f63e642dccdf1ada2e9f7ed2b85aef26e5c1b1cefc7df6fa4f83b46e5da5eaf05e0f0b02b677ca4e5e73b7fd70d74878552