Browse code

Rebuild gettext with libxml2-2.9.8

Change-Id: I02a8d4f0d925ca0ad27e8bbb2b17617c03f1325b
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5191
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sharath George

Xiaolin Li authored on 2018/05/24 14:42:07
Showing 1 changed files
... ...
@@ -1,14 +1,16 @@
1
-Summary:	Utilities for internationalization and localization
2
-Name:		gettext
3
-Version:	0.19.8
4
-Release:	1%{?dist}
5
-License:	GPLv3
6
-URL:		http://www.gnu.org/software/gettext
7
-Group:		Applications/System
8
-Vendor:		VMware, Inc.
9
-Distribution:	Photon
10
-Source0:	http://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.xz
11
-%define sha1 gettext=dc551d4783edf691c1f0095ca927d3128b5093e8
1
+Summary:        Utilities for internationalization and localization
2
+Name:           gettext
3
+Version:        0.19.8
4
+Release:        2%{?dist}
5
+License:        GPLv3
6
+URL:            http://www.gnu.org/software/gettext
7
+Group:          Applications/System
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:        http://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.xz
11
+%define         sha1 gettext=dc551d4783edf691c1f0095ca927d3128b5093e8
12
+Source1:        libxml2-2.9.8.tar.gz
13
+%define         sha1 libxml2=66bcefd98a6b7573427cf66f9d3841b59eb5b8c3
12 14
 
13 15
 %description
14 16
 These allow programs to be compiled with NLS
... ...
@@ -17,12 +19,15 @@ messages in the user's native language.
17 17
 
18 18
 %prep
19 19
 %setup -q
20
+%setup -D -a 1
21
+rm -rf gnulib-local/lib/libxml
22
+mv libxml2-2.9.8 gnulib-local/lib/libxml
20 23
 
21 24
 %build
22 25
 ./configure \
23
-	--prefix=%{_prefix} \
24
-	--docdir=%{_defaultdocdir}/%{name}-%{version} \
25
-	--disable-silent-rules
26
+        --prefix=%{_prefix} \
27
+        --docdir=%{_defaultdocdir}/%{name}-%{version} \
28
+        --disable-silent-rules
26 29
 make %{?_smp_mflags}
27 30
 
28 31
 %install
... ...
@@ -35,9 +40,9 @@ rm -rf %{buildroot}%{_infodir}
35 35
 %check
36 36
 make %{?_smp_mflags} check
37 37
 
38
-%post	-p /sbin/ldconfig
38
+%post   -p /sbin/ldconfig
39 39
 
40
-%postun	-p /sbin/ldconfig
40
+%postun -p /sbin/ldconfig
41 41
 
42 42
 %files -f %{name}.lang
43 43
 %defattr(-,root,root)
... ...
@@ -54,13 +59,15 @@ make %{?_smp_mflags} check
54 54
 %{_mandir}/*
55 55
 
56 56
 %changelog
57
-*	Wed Apr 05 2017 Danut Moraru <dmoraru@vmware.com> 0.19.8-1
58
--	Upgrade to 0.19.8
59
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.19.5.1-2
60
--	GA - Bump release of all rpms
61
-* 	Tue Jan 12 2016 Xiaolin Li <xiaolinl@vmware.com> 0.19.5.1-1
62
-- 	Updated to version 0.19.5.1
63
-*	Tue Nov 10 2015 Xiaolin Li <xiaolinl@vmware.com> 0.18.3.2-2
64
--	Handled locale files with macro find_lang
65
-*	Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 0.18.3.2-1
66
--	Initial build. First version
57
+*   Wed May 23 2018 Xiaolin Li <xiaolinl@vmware.com> 0.19.8-2
58
+-   Rebuild gettext with libxml2-2.9.8
59
+*   Wed Apr 05 2017 Danut Moraru <dmoraru@vmware.com> 0.19.8-1
60
+-   Upgrade to 0.19.8
61
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.19.5.1-2
62
+-   GA - Bump release of all rpms
63
+*   Tue Jan 12 2016 Xiaolin Li <xiaolinl@vmware.com> 0.19.5.1-1
64
+-   Updated to version 0.19.5.1
65
+*   Tue Nov 10 2015 Xiaolin Li <xiaolinl@vmware.com> 0.18.3.2-2
66
+-   Handled locale files with macro find_lang
67
+*   Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 0.18.3.2-1
68
+-   Initial build. First version