RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/libvarlink#9a291522b6ad84680ddc9af146ad2808a1fe7ce9
This commit is contained in:
parent
ef32474ec2
commit
360bb7d67e
4
.gitignore
vendored
4
.gitignore
vendored
@ -0,0 +1,4 @@
|
|||||||
|
/libvarlink-15.tar.gz
|
||||||
|
/libvarlink-17.tar.gz
|
||||||
|
/libvarlink-18.tar.gz
|
||||||
|
/libvarlink-19.tar.gz
|
130
libvarlink.spec
Normal file
130
libvarlink.spec
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
%global _hardened_build 1
|
||||||
|
|
||||||
|
Name: libvarlink
|
||||||
|
Version: 19
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Summary: Varlink C Library
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: https://github.com/varlink/%{name}
|
||||||
|
Source0: https://github.com/varlink/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: meson
|
||||||
|
BuildRequires: gcc
|
||||||
|
|
||||||
|
%description
|
||||||
|
Varlink C Library
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
%package util
|
||||||
|
Summary: Varlink command line tools
|
||||||
|
|
||||||
|
%description util
|
||||||
|
The %{name}-util package contains varlink command line tools.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
# The testsuite in this packages uses readelf which does not understand LTO
|
||||||
|
# .o files
|
||||||
|
# Disable LTO
|
||||||
|
%define _lto_cflags %{nil}
|
||||||
|
|
||||||
|
%meson
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
export LC_CTYPE=C.utf8
|
||||||
|
%meson_test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%{_libdir}/libvarlink.so.*
|
||||||
|
|
||||||
|
%files util
|
||||||
|
%{_bindir}/varlink
|
||||||
|
%{_datadir}/bash-completion/completions/varlink
|
||||||
|
%{_datadir}/vim/vimfiles/after/*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/varlink.h
|
||||||
|
%{_libdir}/libvarlink.so
|
||||||
|
%{_libdir}/pkgconfig/libvarlink.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* 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
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (libvarlink-19.tar.gz) = 395aaf08e5166daf31c1d3cd05ed7ad2982e817a022f2e6bf6512664f45107ed98c56d851ac098778f9018807ca98fd2903c1ee5aac387691d64610e46ea435b
|
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 "git clone https://github.com/varlink/libvarlink; cd libvarlink; meson build;make"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartTest
|
||||||
|
rlLog "Starting tests ..."
|
||||||
|
rlRun "cd build; ninja test"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartCleanup
|
||||||
|
rlLog "libvarlink tests done"
|
||||||
|
rlRun "rm -rf libvarlink"
|
||||||
|
rlPhaseEnd
|
||||||
|
rlJournalPrintText
|
||||||
|
rlJournalEnd
|
||||||
|
|
||||||
|
rlGetTestState
|
12
tests/tests.yml
Normal file
12
tests/tests.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-beakerlib
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
tests:
|
||||||
|
- sanity
|
||||||
|
required_packages:
|
||||||
|
- libvarlink
|
||||||
|
- meson
|
||||||
|
- ninja-build
|
||||||
|
- gcc
|
Loading…
Reference in New Issue
Block a user