From ec7952ea0576fbee762e88c2205973f4cc66ec17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 15:07:03 +0200 Subject: [PATCH] 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/kyua#284102f671f5203b2af9f8499c10417cdd27e4be --- .gitignore | 1 + README.md | 3 ++ kyua.spec | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 102 insertions(+) create mode 100644 README.md create mode 100644 kyua.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..89a92b6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/kyua-0.13.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..7840751 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# kyua + +The kyua package \ No newline at end of file diff --git a/kyua.spec b/kyua.spec new file mode 100644 index 0000000..66dab97 --- /dev/null +++ b/kyua.spec @@ -0,0 +1,97 @@ +%global _testsdir %{_libexecdir}/%{name}/tests +%global _make_args pkgtestsdir=%%{_testsdir} testsdir=%%{_testsdir} + +Name: kyua +Version: 0.13 +Release: 6%{?dist} +Summary: Testing framework for infrastructure software + +License: BSD +URL: https://github.com/jmmv/kyua +Source0: %{url}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz + +BuildRequires: make +BuildRequires: gcc-c++ +BuildRequires: libatf-c++-devel >= 0.17 +BuildRequires: libatf-sh-devel >= 0.15 +BuildRequires: pkgconfig(lutok) >= 0.4 +BuildRequires: pkgconfig(sqlite3) >= 3.6.22 + +Obsoletes: kyua-cli < 0.10 +Provides: kyua-cli = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: kyua-testers < 0.10 +Obsoletes: kyua-testers-devel < 0.10 + +%description +Kyua is a testing framework for infrastructure software, originally designed +to equip BSD-based operating systems with a test suite. This means that +Kyua is lightweight and simple, and that Kyua integrates well with various +build systems and continuous integration frameworks. + +Kyua features an expressive test suite definition language, a safe runtime +engine for test suites and a powerful report generation engine. + +Kyua is for both developers and users, from the developer applying a simple +fix to a library to the system administrator deploying a new release +on a production machine. + +Kyua is able to execute test programs written with a plethora of +testing libraries and languages. The library of choice is ATF, for which +Kyua was originally designed, but simple, framework-less test programs and +TAP-compliant test programs can also be executed through Kyua. + +%package tests +Summary: Runtime tests of the Kyua toolchain +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: kyua-cli-tests < 0.10 +Obsoletes: kyua-testers-tests < 0.10 + +%description tests +%{summary}. + +%prep +%autosetup + +%build +%configure \ + --with-doxygen=no \ + --with-with-atf=yes \ + %{nil} +%make_build %{_make_args} + +%install +%make_install %{_make_args} doc_DATA= + +%check +# Tests expect dumping core to file which is different from machine to machine +HOME=$(pwd)/check %make_build check %{_make_args} || : + +%files +%license LICENSE +%doc AUTHORS CONTRIBUTORS NEWS.md README.md +%{_bindir}/%{name} +%{_datadir}/%{name}/ +%{_mandir}/man1/%{name}*.1* +%{_mandir}/man5/%{name}*.5* + +%files tests +%{_libexecdir}/%{name}/ + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 0.13-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 0.13-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 0.13-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.13-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Igor Gnatenko - 0.13-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..2193292 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (kyua-0.13.tar.gz) = 80ecf4fd888d4759122f3c1d1d5b06a19135e06f7bca1ef8458c7a5e78c1b6baff54969c863c93f11c40611ca256fc0334402531397b16788fb3ec701dd278ae