[patch] buildrequire perl-IPC-RUN when enabletaptests

From: "Wang, Shenhao" <wangsh(dot)fnst(at)cn(dot)fujitsu(dot)com>
To: "pgsql-pkg-yum(at)lists(dot)postgresql(dot)org" <pgsql-pkg-yum(at)lists(dot)postgresql(dot)org>
Subject: [patch] buildrequire perl-IPC-RUN when enabletaptests
Date: 2019-03-07 02:16:40
Message-ID: 63580B24E208E3429D94153A03C68E0901A68A87E5@G08CNEXMBPEKD02.g08.fujitsu.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hi, everyone.

In fedroa28, I make rpm to test my pervious patch<https://www.postgresql.org/message-id/63580B24E208E3429D94153A03C68E0901A68A6C28%40G08CNEXMBPEKD02.g08.fujitsu.local>

I used this command:
$ make nosignbuild11
But something was wrong in configure:
configure: error: Additional Perl modules are required to run TAP tests

I found, in fedora an optional parameter '--enable-tap-tests ' was specified when exec configure.
And in configure help info, '--enable-tap-tests enable TAP tests (requires Perl and IPC::Run)' was mentioned.

I modified the spec file which adds 'BuildRequires' when '--enable-tap-tests' is specified. The patch is attached.

I also have a doubt whether '--enable-tap-test' should be specified in fedora, can anyone give me some hints, thanks.

Regards
-----------------------
Shenhao, Wang
DX3
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
EMail:wangsh(dot)fnst(at)cn(dot)fujitsu(dot)com

Attachment Content-Type Size
pgrpm_buildrequire_perl_IPC.PATCH application/octet-stream 449 bytes

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Hulchanski, Laura 2019-03-11 20:50:24 outdated link in repo
Previous Message Justin Pryzby 2019-03-06 21:12:57 postGERS (sic)