|
@@ -1,15 +1,21 @@
|
|
|
|
+# run "make check" by default
|
|
|
|
+%bcond_without check
|
|
|
|
+
|
|
%define prereq_ge() %(LC_ALL="C" rpm -q --queryformat 'Requires(post):%%{NAME} >= %%{VERSION}' %1| grep -v "is not")
|
|
%define prereq_ge() %(LC_ALL="C" rpm -q --queryformat 'Requires(post):%%{NAME} >= %%{VERSION}' %1| grep -v "is not")
|
|
|
|
|
|
Summary: A GNU tool for automatically configuring source code.
|
|
Summary: A GNU tool for automatically configuring source code.
|
|
Summary(ja): ソースコードを自動的に設定するための GNU ツール
|
|
Summary(ja): ソースコードを自動的に設定するための GNU ツール
|
|
Name: autoconf
|
|
Name: autoconf
|
|
Version: 2.69
|
|
Version: 2.69
|
|
-Release: 1%{?_dist_release}
|
|
|
|
|
|
+Release: 2%{?_dist_release}
|
|
License: GPL
|
|
License: GPL
|
|
Group: Development/Tools
|
|
Group: Development/Tools
|
|
URL: http://www.gnu.org/software/autoconf/
|
|
URL: http://www.gnu.org/software/autoconf/
|
|
|
|
|
|
-Source: ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-%{version}.tar.xz
|
|
|
|
|
|
+Source: http://ftp.gnu.org/pub/gnu/autoconf/autoconf-%{version}.tar.xz
|
|
|
|
+Patch1: autoconf-2.69-perl-5.22-autoscan.patch
|
|
|
|
+Patch2: autoconf-test38.patch
|
|
|
|
+Patch3: autoconf-test501.patch
|
|
|
|
|
|
# Vine Source(s)
|
|
# Vine Source(s)
|
|
Source10: autoconf-mode-install.sh
|
|
Source10: autoconf-mode-install.sh
|
|
@@ -56,7 +62,7 @@ Autoconf が必要になるのはスクリプトを生成するときのみで
|
|
%package mode
|
|
%package mode
|
|
Summary: Emacs-lisp autoconf-mode for autoconf/autotest
|
|
Summary: Emacs-lisp autoconf-mode for autoconf/autotest
|
|
Group: Applications/Editors/Emacs
|
|
Group: Applications/Editors/Emacs
|
|
-BuildRequires: emacsen
|
|
|
|
|
|
+BuildRequires: emacs
|
|
%prereq_ge emacsen-common
|
|
%prereq_ge emacsen-common
|
|
Requires: emacsen
|
|
Requires: emacsen
|
|
|
|
|
|
@@ -66,12 +72,14 @@ Emacs-lisp autoconf-mode for autoconf/autotest
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n autoconf-%{version}
|
|
%setup -q -n autoconf-%{version}
|
|
-#patch0 -p1
|
|
|
|
|
|
+%patch1 -p1
|
|
|
|
+%patch2 -p1
|
|
|
|
+%patch3 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure
|
|
%configure
|
|
-make
|
|
|
|
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
#make check
|
|
#make check
|
|
|
|
|
|
@@ -106,6 +114,12 @@ mkdir -p $RPM_BUILD_ROOT/%{emacsen_pkgdir}/remove
|
|
|
|
|
|
%_removeemacsenscript autoconf-mode %{SOURCE11}
|
|
%_removeemacsenscript autoconf-mode %{SOURCE11}
|
|
|
|
|
|
|
|
+rm -f %{buildroot}%{_datadir}/emacs/site-lisp/auto*-mode.elc
|
|
|
|
+
|
|
|
|
+%check
|
|
|
|
+%if %{with check}
|
|
|
|
+make check %{?_smp_mflags}
|
|
|
|
+%endif
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
@@ -164,6 +178,9 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Aug 29 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.69-2
|
|
|
|
+- added Patch1-3.
|
|
|
|
+
|
|
* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.69-1
|
|
* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.69-1
|
|
- upate to 2.69
|
|
- upate to 2.69
|
|
|
|
|