!4 update to 0.21 version

Merge pull request !4 from sigui/master
This commit is contained in:
openeuler-ci-bot 2020-06-04 17:18:34 +08:00 committed by Gitee
commit 7e34ea81fd
3 changed files with 14 additions and 13 deletions

Binary file not shown.

BIN
atf-0.21.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,13 @@
Name: atf
Version: 0.20
Release: 13
Version: 0.21
Release: 1
License: BSD
Summary: Testing Framework for Automated
URL: http://code.google.com/p/kyua/wiki/ATF
Source0: https://github.com/jmmv/atf/releases/download/atf-0.20/atf-0.20.tar.gz
Source0: https://github.com/jmmv/atf/archive/atf-0.21.tar.gz
Source1: README
BuildRequires: gcc-c++
BuildRequires: gcc-c++ autoconf libtool
%description
No main package is built here. Because it is not used.
@ -80,10 +80,11 @@ Summary: Help documents for atf
Man pages and other related help documents for atf.
%prep
%autosetup -n %{name}-%{version} -p1
%autosetup -n atf-%{name}-%{version} -p1
cp -p %{SOURCE1} README
%build
autoreconf -i -s
%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
@ -102,7 +103,7 @@ make check
/sbin/ldconfig
%files -n libatf-c
%{_libdir}/libatf-c.{so.0,so.0.0.0}
%{_libdir}/libatf-c.{so.1,so.1.0.0}
%{_datadir}/man/man1/atf-test-program.1.gz
%{_datadir}/man/man4/atf-test-case.4.gz
@ -112,7 +113,7 @@ make check
%{_libdir}/{libatf-c.so,pkgconfig/atf-c.pc}
%files -n libatf-c++
%{_libdir}/libatf-c++.{so.1,so.1.0.0}
%{_libdir}/libatf-c++.{so.2,so.2.0.0}
%files -n libatf-c++-devel
%{_datadir}/aclocal/atf-c++.m4
@ -133,13 +134,13 @@ make check
%{_libexecdir}/atf/tests
%files help
%{_mandir}/man1/atf-sh.1.gz
%{_mandir}/man1/atf-check.1.gz
%{_mandir}/man3/atf-sh-api.3.gz
%{_mandir}/man3/atf-c++-api.3.gz
%{_mandir}/man3/atf-c-api.3.gz
%{_mandir}/man1/*
%{_mandir}/man3/*
%{_mandir}/man7/*
%changelog
* Thu Jun 4 2020 sunguoshuai <sunguoshuai@huawei.com> 0.21-1
- Package update to 0.21-1
* Tue Dec 31 2019 duyeyu <duyeyu@huawei.com> - 0.20-13
- Package init