Compare commits
51 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a5143a199b | ||
|
|
be38c94841 | ||
|
|
512c292507 | ||
|
|
f12b91b8b2 | ||
|
|
127b002b42 | ||
|
|
6817ee38a6 | ||
|
|
f5ab8e2323 | ||
|
|
70510c77be | ||
|
|
7067233c1e | ||
|
|
3958a2e9a9 | ||
|
|
ab147048f7 | ||
|
|
feb9e688c0 | ||
|
|
7a88fdb480 | ||
|
|
010221dd5c | ||
|
|
65bf419fab | ||
|
|
c6acaea650 | ||
|
|
fc1892d9ca | ||
|
|
4755da64f4 | ||
|
|
6afb6b682f | ||
|
|
54d0728795 | ||
|
|
b0bf3f47e2 | ||
|
|
acb19936e6 | ||
|
|
90a88af18f | ||
|
|
86e1a26817 | ||
|
|
9070d81c5e | ||
|
|
4896f58a4b | ||
|
|
1f406a1d3b | ||
|
|
b134f3c612 | ||
|
|
646c2a8fd6 |
||
|
|
9a291522b6 | ||
|
|
6ea5624b63 | ||
|
|
b9b4508838 | ||
|
|
6906621483 | ||
|
|
b9f4c53aa4 | ||
|
|
d6ea006f62 | ||
|
|
f335d38f7d | ||
|
|
ec0ea40071 | ||
|
|
773bf8a6d9 | ||
|
|
82daef26ef | ||
|
|
3dabc38a42 | ||
|
|
9419ec2e98 | ||
|
|
976b8820fc | ||
|
|
f11f7a85a8 | ||
|
|
1c997a24ab | ||
|
|
a8aecf9607 | ||
|
|
7b5bf84585 | ||
|
|
f2337cf7ad | ||
|
|
12330aef4a | ||
|
|
001ecb5be0 | ||
|
|
3c318de182 | ||
|
|
12bfc6f0fe |
9 changed files with 230 additions and 26 deletions
11
.gitignore
vendored
11
.gitignore
vendored
|
|
@ -1,2 +1,9 @@
|
|||
/libvarlink-5.tar.gz
|
||||
/libvarlink-6.tar.gz
|
||||
/libvarlink-15.tar.gz
|
||||
/libvarlink-17.tar.gz
|
||||
/libvarlink-18.tar.gz
|
||||
/libvarlink-19.tar.gz
|
||||
/libvarlink-20.tar.gz
|
||||
/libvarlink-21.tar.gz
|
||||
/libvarlink-22.tar.gz
|
||||
/libvarlink-23.tar.gz
|
||||
/libvarlink-24.tar.gz
|
||||
|
|
|
|||
22
.packit.yaml
Normal file
22
.packit.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# See the documentation for more information:
|
||||
# https://packit.dev/docs/configuration/
|
||||
|
||||
specfile_path: libvarlink.spec
|
||||
|
||||
# add or remove files that should be synced
|
||||
files_to_sync:
|
||||
- libvarlink.spec
|
||||
- .packit.yaml
|
||||
|
||||
# name in upstream package repository/registry (e.g. in PyPI)
|
||||
upstream_package_name: libvarlink
|
||||
upstream_project_url: https://github.com/varlink/libvarlink
|
||||
|
||||
copy_upstream_release_description: true
|
||||
|
||||
# downstream (Fedora) RPM package name
|
||||
downstream_package_name: libvarlink
|
||||
|
||||
dist_git_branches:
|
||||
rawhide:
|
||||
fast_forward_merge_into: [fedora-branched]
|
||||
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.43.1.dev2+gbb34d4b.
|
||||
125
changelog
Normal file
125
changelog
Normal file
|
|
@ -0,0 +1,125 @@
|
|||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 23-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 23-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Fri May 17 2024 Davide Cavalca <dcavalca@fedoraproject.org> - 23-8
|
||||
- Convert license tag to SPDX
|
||||
- Update spec to the latest packaging guidelines
|
||||
- Disable broken test on ppc64le; Fixes: RHBZ#2261345
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 23-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 23-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 23-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 23-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 23-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 23-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 22-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Mar 02 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 22-1
|
||||
- version 22
|
||||
- libvarlink now includes and passes most of the JSONTestSuite tests.
|
||||
|
||||
* Tue Feb 23 2021 Harald Hoyer <harald@redhat.com> - 21-2
|
||||
- fixed changelog date inserted by packit with de_DE locale
|
||||
|
||||
* Tue 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
|
||||
|
||||
* Thu Dec 10 2020 Stephen Gallagher <sgallagh@redhat.com> - 19-4
|
||||
- Fix builds when git is present in the buildroot
|
||||
- Fixes https://github.com/varlink/libvarlink/issues/22
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jun 30 2020 Jeff Law <law@redhat.com> - 19-2
|
||||
Disable LTO
|
||||
|
||||
* Fri Mar 06 2020 Harald Hoyer <harald@redhat.com> - 19-1
|
||||
- libvarlink 19
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 18-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 18-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed May 22 2019 Harald Hoyer <harald@redhat.com> - 18-1
|
||||
- libvarlink 18
|
||||
|
||||
* Fri Feb 15 2019 Harald Hoyer <harald@redhat.com> - 17-1
|
||||
- libvarlink 17
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 15-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Tue Oct 9 2018 <info@varlink.org> 15-1
|
||||
- libvarlink 15
|
||||
|
||||
* Mon Oct 8 2018 <info@varlink.org> 14-1
|
||||
- libvarlink 14
|
||||
|
||||
* Mon Jul 16 2018 <kay@redhat.com> - 12-1
|
||||
- libvarlink 12
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 11-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sun Jun 17 2018 <kay@redhat.com>
|
||||
- libvarlink 11
|
||||
|
||||
* Sat May 12 2018 <kay@redhat.com>
|
||||
- libvarlink 10
|
||||
|
||||
* Fri Apr 13 2018 <kay@redhat.com>
|
||||
- libvarlink 9
|
||||
|
||||
* Thu Apr 12 2018 <kay@redhat.com>
|
||||
- libvarlink 8
|
||||
|
||||
* Mon Mar 26 2018 <kay@redhat.com>
|
||||
- libvarlink 7
|
||||
|
||||
* Mon Mar 26 2018 <kay@redhat.com>
|
||||
- libvarlink 6
|
||||
|
||||
* Fri Mar 23 2018 <kay@redhat.com>
|
||||
- libvarlink 5
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Fri Feb 02 2018 Harald Hoyer <harald@redhat.com> - 1-2
|
||||
- bump release
|
||||
|
||||
* Fri Feb 2 2018 <kay@redhat.com>
|
||||
- libvarlink 1
|
||||
16
gating.yaml
Normal file
16
gating.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_testing
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
|
||||
|
|
@ -1,14 +1,16 @@
|
|||
%global _hardened_build 1
|
||||
|
||||
Name: libvarlink
|
||||
Version: 6
|
||||
Release: 1%{?dist}
|
||||
Version: 24
|
||||
Release: %autorelease
|
||||
Summary: Varlink C Library
|
||||
License: ASL 2.0
|
||||
License: Apache-2.0 AND BSD-3-Clause
|
||||
URL: https://github.com/varlink/%{name}
|
||||
Source0: https://github.com/varlink/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: meson
|
||||
BuildRequires: gcc
|
||||
BuildRequires: glibc-langpack-de
|
||||
|
||||
%description
|
||||
Varlink C Library
|
||||
|
|
@ -28,7 +30,7 @@ Summary: Varlink command line tools
|
|||
The %{name}-util package contains varlink command line tools.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%meson
|
||||
|
|
@ -36,15 +38,18 @@ The %{name}-util package contains varlink command line tools.
|
|||
|
||||
%check
|
||||
export LC_CTYPE=C.utf8
|
||||
# https://github.com/varlink/libvarlink/issues/63
|
||||
%ifarch ppc64le
|
||||
test_list=$(%meson_test --list) 2> /dev/null
|
||||
test_list=${test_list//test-symbols}
|
||||
%meson_test $test_list
|
||||
%else
|
||||
%meson_test
|
||||
%endif
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_libdir}/libvarlink.so.*
|
||||
|
|
@ -60,17 +65,4 @@ export LC_CTYPE=C.utf8
|
|||
%{_libdir}/pkgconfig/libvarlink.pc
|
||||
|
||||
%changelog
|
||||
* Mon Mar 26 2018 <kay@redhat.com>
|
||||
- libvarlink 6
|
||||
|
||||
* Fri Mar 23 2018 <kay@redhat.com>
|
||||
- libvarlink 5
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Fri Feb 02 2018 Harald Hoyer <harald@redhat.com> - 1-2
|
||||
- bump release
|
||||
|
||||
* Fri Feb 2 2018 <kay@redhat.com>
|
||||
- libvarlink 1
|
||||
%autochangelog
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (libvarlink-6.tar.gz) = a48210609f9892654fb3a8594fdc2e9439dbc80a1a006035b007332adcf50b745bef62d0f2c92c6f25ca72da98269d94e840c8b386afc6842c087379a24de743
|
||||
SHA512 (libvarlink-24.tar.gz) = 737975a9f49616ed41eba6beeeafcbc9364623551b3b9f541a3e1142ac0fb4f4b3e49d5964f3e2d5bd3afd80d7394882a0b21ca5a838fa14de1936baad2715c3
|
||||
|
|
|
|||
25
tests/sanity/runtest.sh
Executable file
25
tests/sanity/runtest.sh
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
# Include Beaker environment
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="libvarlink"
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlAssertRpm $PACKAGE
|
||||
rlRun "mkdir -p $HOME/.cargo/bin; cargo install --git https://github.com/varlink/rust varlink-certification"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
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 $HOME/.cargo"
|
||||
rlPhaseEnd
|
||||
rlJournalPrintText
|
||||
rlJournalEnd
|
||||
|
||||
rlGetTestState
|
||||
14
tests/tests.yml
Normal file
14
tests/tests.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-beakerlib
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- sanity
|
||||
required_packages:
|
||||
- libvarlink
|
||||
- meson
|
||||
- ninja-build
|
||||
- gcc
|
||||
- git
|
||||
- cargo
|
||||
Loading…
Add table
Add a link
Reference in a new issue