Browse code

Fix %check by adding BuildRequires of perl-File-Which for perl-File-HomeDir

Change-Id: If97beb168918c98afff38c4b827ff7d029c558c8
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3458
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Rongrong Qiu <rqiu@vmware.com>

changpil authored on 2017/08/09 09:29:26
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        File-HomeDir
2 2
 Name:           perl-File-HomeDir
3 3
 Version:        1.00
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        The Perl 5 License (Artistic 1 & GPL 1)
6 6
 Group:          Development/Libraries
7 7
 URL:            http://search.cpan.org/dist/File-HomeDir/
... ...
@@ -11,6 +11,9 @@ Vendor:		VMware, Inc.
11 11
 Distribution:	Photon
12 12
 BuildArch:      noarch
13 13
 BuildRequires:	perl
14
+%if %{with_check}
15
+BuildRequires:  perl-File-Which
16
+%endif
14 17
 Requires:	perl
15 18
 Requires:   perl-File-Which
16 19
 
... ...
@@ -55,6 +58,8 @@ make test
55 55
 %{_mandir}/man3/File::HomeDir::Windows.3.gz
56 56
 
57 57
 %changelog
58
+*	Tue Aug 08 2017 Chang Lee <changlee@vmware.com> 1.00-3
59
+-	Add perl-File-Which for make check
58 60
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.00-2
59 61
 -	GA - Bump release of all rpms
60 62
 *	Thu Mar 3 2016 Xiaolin Li <xiaolinl@vmware.com> 1.00-1