update code
This commit is contained in:
commit
62a3eb852e
33
0001-disable-three-tests.patch
Normal file
33
0001-disable-three-tests.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From 5d41640c27738014ebc075a2fc763fc998c041be Mon Sep 17 00:00:00 2001
|
||||
From: shenyangyang4 <shenyangyang4@huawei.com>
|
||||
Date: Sat, 12 Oct 2019 08:16:42 -0400
|
||||
Subject: [PATCH] disable-three-tests
|
||||
|
||||
---
|
||||
t/list-of-tests.mk | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/t/list-of-tests.mk b/t/list-of-tests.mk
|
||||
index 84dd29a..37f2041 100644
|
||||
--- a/t/list-of-tests.mk
|
||||
+++ b/t/list-of-tests.mk
|
||||
@@ -138,7 +138,6 @@ t/aminit-trailing-dnl-comment-pr16841.sh \
|
||||
t/amassign.sh \
|
||||
t/am-config-header.sh \
|
||||
t/am-prog-cc-stdc.sh \
|
||||
-t/am-prog-cc-c-o.sh \
|
||||
t/am-macro-not-found.sh \
|
||||
t/amopt.sh \
|
||||
t/amopts-location.sh \
|
||||
@@ -215,8 +214,6 @@ t/canon6.sh \
|
||||
t/canon7.sh \
|
||||
t/canon8.sh \
|
||||
t/canon-name.sh \
|
||||
-t/ccnoco.sh \
|
||||
-t/ccnoco-lib.sh \
|
||||
t/ccnoco-lt.sh \
|
||||
t/ccnoco3.sh \
|
||||
t/ccnoco4.sh \
|
||||
--
|
||||
2.19.1
|
||||
|
||||
BIN
automake-1.16.1.tar.xz
Normal file
BIN
automake-1.16.1.tar.xz
Normal file
Binary file not shown.
77
automake.spec
Normal file
77
automake.spec
Normal file
@ -0,0 +1,77 @@
|
||||
%global _configure_gnuconfig_hack 0
|
||||
%global __requires_exclude ^perl\\(Automake::
|
||||
%global __provides_exclude ^perl\\(Automake::
|
||||
|
||||
Name: automake
|
||||
Version: 1.16.1
|
||||
Release: 6
|
||||
Summary: A tool for automatically generating Makefile.in files
|
||||
License: GPLv2+ and GFDL and Public Domain and MIT
|
||||
URL: http://www.gnu.org/software/automake/
|
||||
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
||||
Source1: http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
Source2: http://git.savannah.gnu.org/cgit/config.git/plain/config.guess
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
#disable am-prog-cc-c-o ccnoco ccnoco-lib test
|
||||
#that success through rpmbuild but fail on obs
|
||||
Patch0: 0001-disable-three-tests.patch
|
||||
|
||||
BuildRequires: perl autoconf make help2man automake perl-generators
|
||||
#for tests
|
||||
BuildRequires: libtool gettext-devel flex bison vala
|
||||
BuildRequires: cscope dejagnu sharutils gcc-gfortran
|
||||
|
||||
Requires: autoconf perl(threads) perl(Thread::Queue)
|
||||
Requires(post): info
|
||||
Requires(preun):info
|
||||
|
||||
%package_help
|
||||
|
||||
%description
|
||||
iAutomake is a tool for automatically generating Makefile.in files compliant
|
||||
with the GNU Coding Standards. Automake requires the use of Autoconf.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
autoreconf -iv
|
||||
cp %{SOURCE1} ./lib/config.sub
|
||||
cp %{SOURCE2} ./lib/config.guess
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%post help
|
||||
/sbin/install-info %{_infodir}/automake.info.gz %{_infodir}/dir || :
|
||||
|
||||
%preun help
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/automake.info.gz %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%files
|
||||
%doc README
|
||||
%doc %{_docdir}/%{name}/*.tar.gz
|
||||
%license COPYING* AUTHORS doc/automake.info
|
||||
%{_bindir}/*
|
||||
%{_datadir}/automake-*
|
||||
%{_datadir}/aclocal-*
|
||||
%exclude %{_infodir}/dir
|
||||
%exclude %{_datadir}/aclocal
|
||||
|
||||
%files help
|
||||
%doc THANKS NEWS
|
||||
%{_infodir}/*.info*
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Sat Oct 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.16.1-6
|
||||
- Package Init
|
||||
1476
config.guess
vendored
Executable file
1476
config.guess
vendored
Executable file
File diff suppressed because it is too large
Load Diff
1833
config.sub
vendored
Executable file
1833
config.sub
vendored
Executable file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user