forked from pool/automake
Accepting request 821755 from home:gmbr3:Active
- Fix name tag for multibuild OBS-URL: https://build.opensuse.org/request/show/821755 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/automake?expand=0&rev=81
This commit is contained in:
parent
cd603ea12f
commit
3aa3c09434
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 17 09:03:35 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
|
||||
|
||||
- Fix name tag for multibuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 10 14:54:32 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
|
||||
|
||||
|
@ -19,7 +19,13 @@
|
||||
# remove bogus Automake perl dependencies and provides
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Automake::
|
||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Automake::
|
||||
Name: automake
|
||||
%define flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "testsuite"
|
||||
%define nsuffix -testsuite
|
||||
%else
|
||||
%define nsuffix %{nil}
|
||||
%endif
|
||||
Name: automake%{nsuffix}
|
||||
Version: 1.16.2
|
||||
Release: 0
|
||||
Summary: A Program for Automatically Generating GNU-Style Makefile.in Files
|
||||
@ -50,7 +56,7 @@ Requires: perl
|
||||
Requires(post): info
|
||||
Requires(preun): info
|
||||
BuildArch: noarch
|
||||
%if "@BUILD_FLAVOR@%{nil}" == "testsuite"
|
||||
%if "%{flavor}" == "testsuite"
|
||||
BuildRequires: cscope
|
||||
BuildRequires: dejagnu
|
||||
BuildRequires: expect
|
||||
@ -92,7 +98,7 @@ sh bootstrap
|
||||
%configure --docdir=%{_docdir}/%{name}
|
||||
%make_build #%%{?_smp_mflags}
|
||||
|
||||
%if "@BUILD_FLAVOR@%{nil}" == "testsuite"
|
||||
%if "%{flavor}" == "testsuite"
|
||||
%check
|
||||
# Some architectures can't keep up the pace.
|
||||
%ifnarch alpha %{arm}
|
||||
@ -118,7 +124,7 @@ rm -rf %{buildroot}%{_infodir}/dir
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/automake.info%{ext_info}
|
||||
|
||||
%if "@BUILD_FLAVOR@%{nil}" == ""
|
||||
%if "%{flavor}" == ""
|
||||
%files
|
||||
%doc %{_docdir}/%{name}
|
||||
%{_bindir}/*
|
||||
|
Loading…
Reference in New Issue
Block a user