diff --git a/.gitignore b/.gitignore index 5ebb2c3..2cbe1a6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ /libvarlink-17.tar.gz /libvarlink-18.tar.gz /libvarlink-19.tar.gz +/libvarlink-20.tar.gz +/libvarlink-21.tar.gz diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..1f745f6 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,14 @@ +# See the documentation for more information: +# https://packit.dev/docs/configuration/ + +specfile_path: libvarlink.spec + +# add or remove files that should be synced +synced_files: + - libvarlink.spec + - .packit.yaml + +# name in upstream package repository/registry (e.g. in PyPI) +upstream_package_name: libvarlink +# downstream (Fedora) RPM package name +downstream_package_name: libvarlink diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..9dda7d1 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.25.1.dev32+gfbebe78. diff --git a/libvarlink.spec b/libvarlink.spec index ab5e1d6..40f8b19 100644 --- a/libvarlink.spec +++ b/libvarlink.spec @@ -1,17 +1,15 @@ %global _hardened_build 1 Name: libvarlink -Version: 19 -Release: 5%{?dist} +Version: 21 +Release: 1%{?dist} Summary: Varlink C Library -License: ASL 2.0 +License: ASL 2.0 and BSD-3-Clause URL: https://github.com/varlink/%{name} Source0: https://github.com/varlink/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: meson BuildRequires: gcc - -# Upstream patch for https://github.com/varlink/libvarlink/issues/22 -Patch0001: 0001-Drop-tags-and-ctags-targets.patch +BuildRequires: glibc-langpack-de %description Varlink C Library @@ -34,11 +32,6 @@ The %{name}-util package contains varlink command line tools. %autosetup %build -# The testsuite in this packages uses readelf which does not understand LTO -# .o files -# Disable LTO -%define _lto_cflags %{nil} - %meson %meson_build @@ -66,6 +59,20 @@ export LC_CTYPE=C.utf8 %{_libdir}/pkgconfig/libvarlink.pc %changelog +* Di Feb 23 2021 Harald Hoyer - 21-1 +- ci: add .packit.yaml (Harald Hoyer) +- version 21 (Harald Hoyer) +- fix: use strtod_l (Harald Hoyer) +- fix: return VARLINK_ERROR_PANIC on float Inf or NaN (Harald Hoyer) +- tests: add test with de_DE.UTF-8 locale (Harald Hoyer) +- ci: install de_DE.UTF-8 locale (Harald Hoyer) +- fix: correct the float number parsing for some locales (Harald Hoyer) +- tests: print error log on `make check` (Harald Hoyer) +- docs: update README.md (Harald Hoyer) + +* Thu Feb 18 2021 Harald Hoyer - 20-1 +- libvarlink 20 + * Tue Jan 26 2021 Fedora Release Engineering - 19-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 0b39117..fb15a23 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libvarlink-19.tar.gz) = 395aaf08e5166daf31c1d3cd05ed7ad2982e817a022f2e6bf6512664f45107ed98c56d851ac098778f9018807ca98fd2903c1ee5aac387691d64610e46ea435b +SHA512 (libvarlink-21.tar.gz) = 863f5ab0ae86fac4a4444fda8c084b55a2e51de382638ca1e859c82275892b1f726a429e28441df4271d3bb523b138f99ecebcc9adc513bc935333c6bb6096a7 diff --git a/tests/sanity/runtest.sh b/tests/sanity/runtest.sh index c2442d4..5e7e67d 100755 --- a/tests/sanity/runtest.sh +++ b/tests/sanity/runtest.sh @@ -7,17 +7,17 @@ PACKAGE="libvarlink" rlJournalStart rlPhaseStartSetup rlAssertRpm $PACKAGE - rlRun "git clone https://github.com/varlink/libvarlink; cd libvarlink; meson build;make" + rlRun "mkdir -p $HOME/.cargo/bin; cargo install --git https://github.com/varlink/rust varlink-certification" rlPhaseEnd rlPhaseStartTest - rlLog "Starting tests ..." - rlRun "cd build; ninja test" + rlLog "Starting test ..." + rlRun "varlink --bridge \"varlink --bridge \\\"varlink -A '~/.cargo/bin/varlink-certification --varlink=\\\\\\\$VARLINK_ADDRESS' bridge\\\" bridge\" info | fgrep -q org.varlink.certification" rlPhaseEnd rlPhaseStartCleanup rlLog "libvarlink tests done" - rlRun "rm -rf libvarlink" + rlRun "rm -rf $HOME/.cargo" rlPhaseEnd rlJournalPrintText rlJournalEnd diff --git a/tests/tests.yml b/tests/tests.yml index d8cdb3d..1147164 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -10,3 +10,5 @@ - meson - ninja-build - gcc + - git + - cargo