Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/libvarlink.git#90a88af18ff731ca179c145f92e83677b04be1e3
This commit is contained in:
parent
afbe43aa7b
commit
d9ef2c24db
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,3 +2,5 @@
|
||||
/libvarlink-17.tar.gz
|
||||
/libvarlink-18.tar.gz
|
||||
/libvarlink-19.tar.gz
|
||||
/libvarlink-20.tar.gz
|
||||
/libvarlink-21.tar.gz
|
||||
|
14
.packit.yaml
Normal file
14
.packit.yaml
Normal file
@ -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
|
3
README.packit
Normal file
3
README.packit
Normal file
@ -0,0 +1,3 @@
|
||||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 0.25.1.dev32+gfbebe78.
|
@ -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 <harald@redhat.com> - 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 <harald@redhat.com> - 20-1
|
||||
- libvarlink 20
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 19-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libvarlink-19.tar.gz) = 395aaf08e5166daf31c1d3cd05ed7ad2982e817a022f2e6bf6512664f45107ed98c56d851ac098778f9018807ca98fd2903c1ee5aac387691d64610e46ea435b
|
||||
SHA512 (libvarlink-21.tar.gz) = 863f5ab0ae86fac4a4444fda8c084b55a2e51de382638ca1e859c82275892b1f726a429e28441df4271d3bb523b138f99ecebcc9adc513bc935333c6bb6096a7
|
||||
|
@ -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
|
||||
|
@ -10,3 +10,5 @@
|
||||
- meson
|
||||
- ninja-build
|
||||
- gcc
|
||||
- git
|
||||
- cargo
|
||||
|
Loading…
Reference in New Issue
Block a user