From 7ab798b26667b8cad3cecb92c0e2167b606b1cbb Mon Sep 17 00:00:00 2001 From: Julio Merino Date: Feb 11 2014 03:49:19 +0000 Subject: Update to 0.20. --- diff --git a/.gitignore b/.gitignore index c4c3f1c..a84c887 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /atf-0.15.tar.gz /atf-0.16.tar.gz /atf-0.17.tar.gz +/atf-0.20.tar.gz diff --git a/atf.spec b/atf.spec index d8acbf1..8e4edb7 100644 --- a/atf.spec +++ b/atf.spec @@ -1,44 +1,30 @@ Summary: Automated Testing Framework Name: atf -Version: 0.17 -Release: 2%{?dist} +Version: 0.20 +Release: 1%{?dist} License: BSD Group: Development/Tools URL: http://code.google.com/p/kyua/wiki/ATF -Source0: http://kyua.googlecode.com/files/%{name}-%{version}.tar.gz +Source0: https://github.com/jmmv/atf/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz Source1: README.Fedora -Requires: libatf-c = %{version}-%{release} -Requires: libatf-c++ = %{version}-%{release} -Requires: libatf-sh = %{version}-%{release} -%define _egdir %{_datadir}/atf/examples %define _testsdir %{_libexecdir}/atf/tests -%define _xsldir %{_datadir}/atf/xsl -%define common_description The Automated Testing Framework (ATF) is a collection of libraries and \ -utilities designed to ease unattended application testing in the hands of \ -developers and end users of a specific piece of software. \ +%define common_description The Automated Testing Framework (ATF) is a collection of libraries to \ +implement test programs in a variety of languages. At the moment, ATF \ +offers C, C++ and POSIX shell bindings with which to implement tests. \ +These bindings all offer a similar set of functionality and any test \ +program written with them exposes a consistent user interface. \ \ -As regards developers, ATF provides the necessary means to easily create \ -test suites composed of multiple test programs, which in turn are a \ -collection of test cases. It also attempts to simplify the debugging of \ -problems when these test cases detect an error by providing as much \ -information as possible about the failure. \ -\ -As regards users, it simplifies the process of running the test suites and, \ -in special, encourages end users to run them often: they do not need to \ -have source trees around nor any other development tools installed to be \ -able to certify that a given piece of software works on their machine as \ -advertised. \ +ATF-based test programs rely on a separate runtime engine to execute them. \ +The runtime engine is in charge of isolating the test programs from the \ +rest of the system to ensure that their results are deterministic and that \ +they cannot affect the running system. The runtime engine is also \ +responsible for gathering the results of all tests and composing reports. \ +The current runtime of choice is Kyua. %description -%{common_description} - -This package provides the end-user tools (atf-run and atf-report being the -most relevant ones) that implement the run-time system for tests, and also -provides a "meta-package" to install all the components of ATF at once. -Please note that the end-user tools (not the libraries) are deprecated and -that Kyua should be used instead. +There is no main package being built here. This is unused. %prep %setup -q @@ -48,42 +34,27 @@ that Kyua should be used instead. cp -p %{SOURCE1} README.Fedora %build -%configure INSTALL="/usr/bin/install -p" \ - --disable-static \ - --enable-tools +%configure INSTALL="/usr/bin/install -p" --disable-static sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make %{?_smp_mflags} cssdir=%{_egdir} egdir=%{_egdir} \ - pkgtestsdir=%{_testsdir} testsdir=%{_testsdir} xsldir=%{_xsldir} +make %{?_smp_mflags} pkgtestsdir=%{_testsdir} testsdir=%{_testsdir} %check make check %install -make install DESTDIR=%{buildroot} doc_DATA= cssdir=%{_egdir} egdir=%{_egdir} \ - pkgtestsdir=%{_testsdir} testsdir=%{_pkgtestsdir} xsldir=%{_xsldir} +make install DESTDIR=%{buildroot} doc_DATA= \ + pkgtestsdir=%{_testsdir} testsdir=%{_pkgtestsdir} rm %{buildroot}%{_libdir}/libatf*.la -%files -%doc AUTHORS COPYING NEWS README -%{_bindir}/atf-config -%{_bindir}/atf-report -%{_bindir}/atf-run -%{_bindir}/atf-version -%{_datadir}/atf/atf-run.hooks -%{_datadir}/man/man1/atf-config.1.gz -%{_datadir}/man/man1/atf-report.1.gz -%{_datadir}/man/man1/atf-run.1.gz -%{_datadir}/man/man1/atf-test-program.1.gz -%{_datadir}/man/man1/atf-version.1.gz -%{_datadir}/man/man4/atf-test-case.4.gz -%{_datadir}/man/man5/atf-formats.5.gz -%{_datadir}/man/man7/atf.7.gz -%{_datadir}/xml/atf -%{_egdir} -%{_xsldir} - %changelog +* Mon Feb 10 2014 Julio Merino 0.20-1 +- Update to new upstream version 0.20. +- The atf binary package, which used to provide the deprecated binary + tools (atf-config, atf-report, atf-run and atf-version), is now gone. +- The libatf-c package now installs the atf-test-program(1) and + atf-test-case(4) manual pages and the package documentation files. + * Sat Aug 03 2013 Fedora Release Engineering - 0.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild @@ -110,14 +81,13 @@ rm %{buildroot}%{_libdir}/libatf*.la # Ideally, we would ship one tests package for every component, namely -# atf-tests, libatf-c-tests, libatf-c++-tests and libatf-sh-tests. However, the -# test suite of ATF has not been written with this in mind, and the tests of one -# component often have dependencies on the rest of the components. It is much -# easier to ship a single package with the whole test suite rather than -# attempting to fight this fact. +# libatf-c-tests, libatf-c++-tests and libatf-sh-tests. However, the test +# suite of ATF has not been written with this in mind, and the tests of one +# component often have dependencies on the rest of the components. It is +# much easier to ship a single package with the whole test suite rather +# than attempting to fight this fact. %package tests Summary: Automated Testing Framework - Test suite -Requires: atf = %{version}-%{release} Requires: libatf-c = %{version}-%{release} Requires: libatf-c++ = %{version}-%{release} Requires: libatf-sh = %{version}-%{release} @@ -148,9 +118,10 @@ This package provides the run-time libraries to run tests that use the ATF C bindings. %files -n libatf-c -%doc AUTHORS COPYING NEWS %{_libdir}/libatf-c.so.0 %{_libdir}/libatf-c.so.0.0.0 +%{_datadir}/man/man1/atf-test-program.1.gz +%{_datadir}/man/man4/atf-test-case.4.gz %post -n libatf-c -p /sbin/ldconfig %postun -n libatf-c -p /sbin/ldconfig @@ -186,9 +157,8 @@ This package provides the run-time libraries to run tests that use the ATF C++ bindings. %files -n libatf-c++ -%doc AUTHORS COPYING NEWS -%{_libdir}/libatf-c++.so.0 -%{_libdir}/libatf-c++.so.0.0.0 +%{_libdir}/libatf-c++.so.1 +%{_libdir}/libatf-c++.so.1.0.0 %post -n libatf-c++ -p /sbin/ldconfig %postun -n libatf-c++ -p /sbin/ldconfig @@ -226,7 +196,6 @@ This package provides the run-time libraries to run tests that use the ATF POSIX shell bindings. %files -n libatf-sh -%doc AUTHORS COPYING NEWS %{_bindir}/atf-sh # Cheat a bit: While this directory should be supposedly owned by the main # 'atf' package, 'atf' depends on libatf-sh. Therefore, it's easier to handle diff --git a/sources b/sources index c8408bd..1897bce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0c737ff0793a4b9afc5490d3292121ee atf-0.17.tar.gz +dd27cf5c6299013dd84053ee1df37759 atf-0.20.tar.gz