summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshuai.fu <shuai01.fu@samsung.com>2015-11-02 19:07:32 +0800
committershuai.fu <shuai01.fu@samsung.com>2015-11-02 19:10:47 +0800
commit2e3bfcc9a5fef4cfab6479b1a1d8ddb0d2cbe07c (patch)
tree97a94b82490678a8ef371afe50b38cf2ac5d97f5
parentfbdc1ccd9b3e6f6dc9dd6d32951000659980a4c0 (diff)
downloadpristine-tar-2e3bfcc9a5fef4cfab6479b1a1d8ddb0d2cbe07c.tar.gz
pristine-tar-2e3bfcc9a5fef4cfab6479b1a1d8ddb0d2cbe07c.tar.bz2
pristine-tar-2e3bfcc9a5fef4cfab6479b1a1d8ddb0d2cbe07c.zip
modify spec give up perl(ExtUtils::MakeMaker) when the version of opensuse >= 13.2.release-20160411release-20160315
Signed-off-by: shuai.fu <shuai01.fu@samsung.com> Change-Id: I507d2e0b46a9a1ed46131e1e83d4741474097848
-rw-r--r--packaging/pristine-tar.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/pristine-tar.spec b/packaging/pristine-tar.spec
index cc15d7e..c7b80ae 100644
--- a/packaging/pristine-tar.spec
+++ b/packaging/pristine-tar.spec
@@ -36,7 +36,12 @@ Requires: xdelta1
Requires: xdelta < 3
%endif
BuildRequires: pkgconfig(zlib)
+
+%if 0%{?suse_version} >= 1320
+#BuildRequires: perl(ExtUtils::MakeMaker)
+%else
BuildRequires: perl(ExtUtils::MakeMaker)
+%endif
%if 0%{?suse_version}
BuildRequires: fdupes
%endif