Browse code

docbook-xsl: Remove Python Windows installers

Below python windows installers are not need in photon.
Also these installers feature a vulnerable zlib version.
Bug 2243653

Change-Id: I1b4418f962e012e54693f94cb8ee6f42f606a2e1
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6281
Reviewed-by: ashwin h <ashwinh@vmware.com>
Tested-by: michellew <michellew@vmware.com>
Reviewed-by: Sharath George

ashwin-h authored on 2018/12/05 02:13:10
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Docbook-xsl-1.79.1
2 2
 Name:		docbook-xsl
3 3
 Version:	1.79.1
4
-Release:	5%{?dist}
4
+Release:	6%{?dist}
5 5
 License:	Apache License
6 6
 URL:		http://www.docbook.org
7 7
 Source0:	http://downloads.sourceforge.net/docbook/%{name}-%{version}.tar.bz2
... ...
@@ -11,16 +11,21 @@ Vendor:		VMware, Inc.
11 11
 Distribution:	Photon
12 12
 Requires:	libxml2
13 13
 BuildRequires:	libxml2
14
+BuildRequires:  zip
14 15
 BuildArch:      noarch
15 16
 
16 17
 %description
17
-The DocBook XML DTD-4.5 package contains document type definitions for 
18
-verification of XML data files against the DocBook rule set. These are 
19
-useful for structuring books and software documentation to a standard 
18
+The DocBook XML DTD-4.5 package contains document type definitions for
19
+verification of XML data files against the DocBook rule set. These are
20
+useful for structuring books and software documentation to a standard
20 21
 allowing you to utilize transformations already written for that standard.
21 22
 %prep
22 23
 %setup -q
24
+
23 25
 %build
26
+zip -d tools/lib/jython.jar Lib/distutils/command/wininst-6.exe
27
+zip -d tools/lib/jython.jar Lib/distutils/command/wininst-7.1.exe
28
+
24 29
 %install
25 30
 install -v -m755 -d %{buildroot}/usr/share/xml/docbook/xsl-stylesheets-1.79.1 &&
26 31
 
... ...
@@ -41,8 +46,8 @@ install -v -m644    RELEASE-NOTES* NEWS* \
41 41
 
42 42
 #There is no source code for make check
43 43
 #%check
44
-#chmod 777 tests -R  
45
-#make %{?_smp_mflags} check 
44
+#chmod 777 tests -R
45
+#make %{?_smp_mflags} check
46 46
 
47 47
 %post
48 48
 if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &&
... ...
@@ -82,7 +87,9 @@ fi
82 82
 %{_docdir}/*
83 83
 
84 84
 %changelog
85
-*	Thu Aug 18 2017 Rongrong Qiu <rqiu@vmware.com> 1.79.1-5
85
+*	Tue Dec 04 2018 Ashwin H<ashwinh@vmware.com> 1.79.1-6
86
+-       Remove windows installers
87
+*	Fri Aug 18 2017 Rongrong Qiu <rqiu@vmware.com> 1.79.1-5
86 88
 -	Update make check for bug 1635477
87 89
 *	Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.79.1-4
88 90
 -	Fix arch