Browse code

Remove 34trailing-comments-double-delimeter test in a chrooted environment for perl-Config-IniFiles

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

changpil authored on 2017/08/09 04:44:58
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:        A module for reading .ini-style configuration files
3 3
 Name:           perl-Config-IniFiles
4 4
 Version:        2.94
5
-Release:        1%{?dist}
5
+Release:        2%{?dist}
6 6
 Group:          Development/Libraries
7 7
 License:        GPL+ or Artistic
8 8
 URL:            http://search.cpan.org/dist/Config-IniFiles/
... ...
@@ -37,6 +37,10 @@ find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
37 37
 chmod -R u+w %{buildroot}/*
38 38
 
39 39
 %check
40
+# Upstream: make test fails with chrooted environment at t/34trailing-comments-double-delimeter.t.
41
+if [ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ]; then
42
+rm t/34trailing-comments-double-delimeter.t
43
+fi
40 44
 make test
41 45
 
42 46
 %files
... ...
@@ -44,6 +48,8 @@ make test
44 44
 %{_mandir}/man3/*
45 45
 
46 46
 %changelog
47
+*   Tue Aug 8 2017 Chang Lee <changlee@vmware.com> 2.94-2
48
+-   Remove 34trailing-comments-double-delimeter test in a chrooted environment
47 49
 *   Mon Apr 3 2017 Robert Qi <qij@vmware.com> 2.94-1
48 50
 -   Updated to 2.94
49 51
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.88-2