Browse code

Move man3 to devel subpackage.

Change-Id: Iceb417006e833e91c06098b928f5961af810e4c6
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1828
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>

xiaolin-vmware authored on 2016/12/08 05:44:14
Showing 13 changed files
... ...
@@ -1,31 +1,31 @@
1
-Summary:	Kernel Audit Tool
2
-Name:		audit
3
-Version:	2.5
4
-Release:	6%{?dist}
5
-Source0:	http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
6
-%define sha1 audit=b684a8dca31776a4184044733cd5fd4b1b652298
7
-License:	GPLv2+
8
-Group:		System Environment/Security
9
-URL:		http://people.redhat.com/sgrubb/audit/
10
-Vendor:		VMware, Inc.
11
-Distribution:	Photon
12
-BuildRequires:	python2-devel
13
-BuildRequires:	python2-libs
14
-BuildRequires:	krb5-devel
15
-BuildRequires:	openldap
16
-BuildRequires:	go
17
-BuildRequires:	tcp_wrappers-devel
18
-BuildRequires:	libcap-ng-devel
19
-BuildRequires:	swig
1
+Summary:        Kernel Audit Tool
2
+Name:           audit
3
+Version:        2.5
4
+Release:        7%{?dist}
5
+Source0:        http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
6
+%define sha1    audit=b684a8dca31776a4184044733cd5fd4b1b652298
7
+License:        GPLv2+
8
+Group:          System Environment/Security
9
+URL:            http://people.redhat.com/sgrubb/audit/
10
+Vendor:         VMware, Inc.
11
+Distribution:   Photon
12
+BuildRequires:  python2-devel
13
+BuildRequires:  python2-libs
14
+BuildRequires:  krb5-devel
15
+BuildRequires:  openldap
16
+BuildRequires:  go
17
+BuildRequires:  tcp_wrappers-devel
18
+BuildRequires:  libcap-ng-devel
19
+BuildRequires:  swig
20 20
 BuildRequires:  e2fsprogs-devel
21 21
 BuildRequires:  systemd
22
-Requires:	systemd
23
-Requires:	krb5
24
-Requires:	openldap
25
-Requires:	python2
26
-Requires:	tcp_wrappers
27
-Requires:	libcap-ng
28
-Requires:   gawk
22
+Requires:       systemd
23
+Requires:       krb5
24
+Requires:       openldap
25
+Requires:       python2
26
+Requires:       tcp_wrappers
27
+Requires:       libcap-ng
28
+Requires:       gawk
29 29
 
30 30
 %description
31 31
 The audit package contains the user space utilities for
... ...
@@ -33,8 +33,8 @@ storing and searching the audit records generate by
33 33
 the audit subsystem in the Linux 2.6 kernel.
34 34
 
35 35
 %package devel
36
-Summary:	The libraries and header files needed for audit development.
37
-Requires: 	%{name} = %{version}-%{release}
36
+Summary:    The libraries and header files needed for audit development.
37
+Requires:   %{name} = %{version}-%{release}
38 38
 
39 39
 %description devel
40 40
 The libraries and header files needed for audit development.
... ...
@@ -44,20 +44,20 @@ The libraries and header files needed for audit development.
44 44
 
45 45
 %build
46 46
 ./configure \
47
-	--prefix=%{_prefix} \
48
-	--exec_prefix=/usr \
49
-	--sbindir=%{_sbindir} \
50
-	--libdir=%{_libdir} \
51
-	--sysconfdir=%{_sysconfdir} \
52
-	--with-python=yes \
53
-	--without-python3 \
47
+    --prefix=%{_prefix} \
48
+    --exec_prefix=/usr \
49
+    --sbindir=%{_sbindir} \
50
+    --libdir=%{_libdir} \
51
+    --sysconfdir=%{_sysconfdir} \
52
+    --with-python=yes \
53
+    --without-python3 \
54 54
         --with-libwrap \
55
-	--enable-gssapi-krb5=yes \
55
+    --enable-gssapi-krb5=yes \
56 56
         --with-libcap-ng=yes \
57
-	--with-aarch64 \
57
+    --with-aarch64 \
58 58
         --enable-zos-remote \
59
-	--with-golang \
60
-	--enable-systemd
59
+    --with-golang \
60
+    --enable-systemd
61 61
 
62 62
 make %{?_smp_mflags}
63 63
 
... ...
@@ -92,7 +92,6 @@ make %{?_smp_mflags} check
92 92
 %{_libdir}/golang/*
93 93
 %{_libdir}/systemd/system/auditd.service
94 94
 %{_libexecdir}/*
95
-%{_mandir}/man3/*
96 95
 %{_mandir}/man5/*
97 96
 %{_mandir}/man7/*
98 97
 %{_mandir}/man8/*
... ...
@@ -120,25 +119,28 @@ make %{?_smp_mflags} check
120 120
 %{_libdir}/*.so
121 121
 %{_libdir}/pkgconfig/*.pc
122 122
 %{_includedir}/*.h
123
+%{_mandir}/man3/*
123 124
 
124 125
 %changelog
125
-* Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 2.5-6
126
-- Required krb5-devel.
127
-* Fri Jul 22 2016 Xiaolin Li <xiaolinl@vmware.com> 2.5-5
128
-- Add gawk requirement.
129
-* Thu May 26 2016 Divya Thaluru <dthaluru@vmware.com>  2.5-4
130
-- Fixed logic to restart the active services after upgrade 
131
-* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.5-3
132
-- GA - Bump release of all rpms
133
-* Tue May 3 2016 Divya Thaluru <dthaluru@vmware.com>  2.5-2
134
-- Fixing spec file to handle rpm upgrade scenario correctly
135
-* Tue Feb 23 2016 Anish Swaminathan <anishs@vmware.com>  2.5-1
136
-- Upgrade to 2.5
137
-* Fri Jan 29 2016 Anish Swaminathan <anishs@vmware.com>  2.4.4-4
138
-- Add directories for auditd service.
139
-* Tue Jan 12 2016 Anish Swaminathan <anishs@vmware.com>  2.4.4-3
140
-- Change config file attributes.
141
-* Wed Dec 09 2015 Anish Swaminathan <anishs@vmware.com> 2.4.4-2
142
-- Add systemd requirement.
143
-* Fri Aug 28 2015 Divya Thaluru <dthaluru@vmware.com> 2.4.4-1
144
-- Initial version
126
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 2.5-7
127
+-   Moved man3 to devel subpackage.
128
+*   Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 2.5-6
129
+-   Required krb5-devel.
130
+*   Fri Jul 22 2016 Xiaolin Li <xiaolinl@vmware.com> 2.5-5
131
+-   Add gawk requirement.
132
+*   Thu May 26 2016 Divya Thaluru <dthaluru@vmware.com>  2.5-4
133
+-   Fixed logic to restart the active services after upgrade
134
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.5-3
135
+-   GA - Bump release of all rpms
136
+*   Tue May 3 2016 Divya Thaluru <dthaluru@vmware.com>  2.5-2
137
+-   Fixing spec file to handle rpm upgrade scenario correctly
138
+*   Tue Feb 23 2016 Anish Swaminathan <anishs@vmware.com>  2.5-1
139
+-   Upgrade to 2.5
140
+*   Fri Jan 29 2016 Anish Swaminathan <anishs@vmware.com>  2.4.4-4
141
+-   Add directories for auditd service.
142
+*   Tue Jan 12 2016 Anish Swaminathan <anishs@vmware.com>  2.4.4-3
143
+-   Change config file attributes.
144
+*   Wed Dec 09 2015 Anish Swaminathan <anishs@vmware.com> 2.4.4-2
145
+-   Add systemd requirement.
146
+*   Fri Aug 28 2015 Divya Thaluru <dthaluru@vmware.com> 2.4.4-1
147
+-   Initial version
... ...
@@ -1,28 +1,28 @@
1
-Summary:	Contains the utilities for the ext2 file system
2
-Name:		e2fsprogs
3
-Version:	1.42.13
4
-Release:	4%{?dist}
5
-License:	GPLv2+
6
-URL:		http://e2fsprogs.sourceforge.net
7
-Group:		System Environment/Base
8
-Vendor:		VMware, Inc.
9
-Distribution:	Photon
10
-Source0:	http://prdownloads.sourceforge.net/e2fsprogs/%{name}-%{version}.tar.gz
11
-%define sha1 e2fsprogs=77d1412472ac5a67f8954166ec16c37616074c37
12
-Requires:	%{name}-libs = %{version}-%{release}
1
+Summary:        Contains the utilities for the ext2 file system
2
+Name:           e2fsprogs
3
+Version:        1.42.13
4
+Release:        5%{?dist}
5
+License:        GPLv2+
6
+URL:            http://e2fsprogs.sourceforge.net
7
+Group:          System Environment/Base
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:        http://prdownloads.sourceforge.net/e2fsprogs/%{name}-%{version}.tar.gz
11
+%define sha1    e2fsprogs=77d1412472ac5a67f8954166ec16c37616074c37
12
+Requires:       %{name}-libs = %{version}-%{release}
13 13
 %description
14 14
 The E2fsprogs package contains the utilities for handling
15 15
 the ext2 file system.
16 16
 
17
-%package	libs
18
-Summary:	contains libraries used by other packages
19
-%description	libs
17
+%package    libs
18
+Summary:    contains libraries used by other packages
19
+%description    libs
20 20
 It contains the libraries: libss and libcom_err
21 21
 
22
-%package	devel
23
-Summary:	Header and development files for e2fsprogs
24
-Requires:	%{name} = %{version}
25
-%description	devel
22
+%package    devel
23
+Summary:    Header and development files for e2fsprogs
24
+Requires:   %{name} = %{version}
25
+%description    devel
26 26
 It contains the libraries and header files to create applications 
27 27
 %prep
28 28
 %setup -q
... ...
@@ -34,15 +34,15 @@ LIBS=-L/tools/lib \
34 34
 CFLAGS=-I/tools/include \
35 35
 PKG_CONFIG_PATH=/tools/lib/pkgconfig \
36 36
 ../configure \
37
-	--prefix=%{_prefix} \
38
-	--with-root-prefix='' \
39
-	--enable-elf-shlibs \
40
-	--disable-libblkid \
41
-	--disable-libuuid \
42
-	--disable-uuidd \
43
-	--disable-fsck \
44
-	--disable-silent-rules \
45
-	--enable-symlink-install
37
+    --prefix=%{_prefix} \
38
+    --with-root-prefix='' \
39
+    --enable-elf-shlibs \
40
+    --disable-libblkid \
41
+    --disable-libuuid \
42
+    --disable-uuidd \
43
+    --disable-fsck \
44
+    --disable-silent-rules \
45
+    --enable-symlink-install
46 46
 make %{?_smp_mflags}
47 47
 %install
48 48
 pushd build
... ...
@@ -76,7 +76,6 @@ make %{?_smp_mflags} check
76 76
 %{_mandir}/man8/*
77 77
 %{_mandir}/man1/*
78 78
 %{_mandir}/man5/*
79
-%{_mandir}/man3/*
80 79
 %{_sbindir}/e4defrag
81 80
 %{_sbindir}/filefrag
82 81
 %{_sbindir}/e2freefrag
... ...
@@ -139,7 +138,10 @@ make %{?_smp_mflags} check
139 139
 %{_libdir}/pkgconfig/e2p.pc
140 140
 %{_libdir}/libe2p.a
141 141
 %{_libdir}/libext2fs.a
142
+%{_mandir}/man3/*
142 143
 %changelog
144
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.42.13-5
145
+-   Moved man3 to devel subpackage.
143 146
 *   Wed Nov 16 2016 Alexey Makhalov <amakhalov@vmware.com> 1.42.13-4
144 147
 -   Create libs subpackage for krb5
145 148
 *   Tue Sep 20 2016 Alexey Makhalov <amakhalov@vmware.com> 1.42.13-3
... ...
@@ -1,34 +1,34 @@
1
-Summary:	The GnuTLS Transport Layer Security Library
2
-Name:		gnutls
3
-Version:	3.4.11
4
-Release:	2%{?dist}
1
+Summary:        The GnuTLS Transport Layer Security Library
2
+Name:           gnutls
3
+Version:        3.4.11
4
+Release:        3%{?dist}
5 5
 License:        GPLv3+ and LGPLv2+
6 6
 URL:            http://www.gnutls.org
7 7
 Source0:        http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/gnutls/v3.4/%{name}-%{version}.tar.xz
8
-%define sha1 gnutls=55f73d1ea2b3335fea514fad6faa1e72006ae9f9
9
-Patch0:     gnutls_3.4.11_default_priority.patch
10
-Group:		System Environment/Libraries
11
-Vendor:		VMware, Inc.
12
-Distribution:	Photon
13
-BuildRequires:	nettle-devel
14
-BuildRequires:	autogen-libopts-devel
15
-BuildRequires:	libtasn1-devel
16
-BuildRequires:	ca-certificates
17
-BuildRequires:	openssl-devel
18
-Requires:	nettle
19
-Requires:	autogen-libopts
20
-Requires:	libtasn1
21
-Requires:	openssl
22
-Requires:	ca-certificates
23
-Requires:	gmp
8
+%define sha1    gnutls=55f73d1ea2b3335fea514fad6faa1e72006ae9f9
9
+Patch0:         gnutls_3.4.11_default_priority.patch
10
+Group:          System Environment/Libraries
11
+Vendor:         VMware, Inc.
12
+Distribution:   Photon
13
+BuildRequires:  nettle-devel
14
+BuildRequires:  autogen-libopts-devel
15
+BuildRequires:  libtasn1-devel
16
+BuildRequires:  ca-certificates
17
+BuildRequires:  openssl-devel
18
+Requires:       nettle
19
+Requires:       autogen-libopts
20
+Requires:       libtasn1
21
+Requires:       openssl
22
+Requires:       ca-certificates
23
+Requires:       gmp
24 24
 %description
25 25
 GnuTLS is a secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them. It provides a simple C language application programming interface (API) to access the secure communications protocols as well as APIs to parse and write X.509, PKCS #12, OpenPGP and other required structures. It is aimed to be portable and efficient with focus on security and interoperability.
26 26
 
27 27
 %package devel
28
-Summary:	Development libraries and header files for gnutls
29
-Requires:	gnutls
30
-Requires:	libtasn1-devel
31
-Requires:	nettle-devel
28
+Summary:    Development libraries and header files for gnutls
29
+Requires:   gnutls
30
+Requires:   libtasn1-devel
31
+Requires:   nettle-devel
32 32
 
33 33
 %description devel
34 34
 The package contains libraries and header files for
... ...
@@ -39,10 +39,10 @@ developing applications that use gnutls.
39 39
 %patch0 -p1
40 40
 %build
41 41
 ./configure \
42
-	--prefix=%{_prefix} \
43
-	--without-p11-kit \
44
-	--disable-openssl-compatibility \
45
-	--with-system-priority-file=%{_sysconfdir}/gnutls/default-priorities
42
+    --prefix=%{_prefix} \
43
+    --without-p11-kit \
44
+    --disable-openssl-compatibility \
45
+    --with-system-priority-file=%{_sysconfdir}/gnutls/default-priorities
46 46
 make %{?_smp_mflags}
47 47
 %install
48 48
 make DESTDIR=%{buildroot} install
... ...
@@ -63,26 +63,29 @@ make %{?_smp_mflags} check
63 63
 %{_libdir}/*.so.*
64 64
 %{_bindir}/*
65 65
 %{_mandir}/man1/*
66
-%{_mandir}/man3/*
67 66
 %{_datadir}/locale/*
68 67
 %files devel
69 68
 %defattr(-,root,root)
70 69
 %{_includedir}/%{name}/*.h
71 70
 %{_libdir}/*.so
72 71
 %{_libdir}/pkgconfig/*.pc
72
+%{_mandir}/man3/*
73
+
73 74
 %changelog
74
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.4.11-2
75
--	GA - Bump release of all rpms
75
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 3.4.11-3
76
+-   Moved man3 to devel subpackage.
77
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.4.11-2
78
+-   GA - Bump release of all rpms
76 79
 *   Wed Apr 27 2016 Xiaolin Li <xiaolinl@vmware.com> 3.4.11-1
77 80
 -   Updated to version 3.4.11
78 81
 *   Thu Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 3.4.9-1
79 82
 -   Updated to version 3.4.9
80 83
 *   Thu Jan 14 2016 Xiaolin Li <xiaolinl@vmware.com> 3.4.8-1
81 84
 -   Updated to version 3.4.8
82
-*	Wed Dec 09 2015 Anish Swaminathan <anishs@vmware.com> 3.4.2-3
83
--	Edit post script.
84
-*   	Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 3.4.2-2
85
--   	Removing la files from packages.
86
-*	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 3.4.2-1
87
--	Initial build. First version
85
+*   Wed Dec 09 2015 Anish Swaminathan <anishs@vmware.com> 3.4.2-3
86
+-   Edit post script.
87
+*   Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 3.4.2-2
88
+-   Removing la files from packages.
89
+*   Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 3.4.2-1
90
+-   Initial build. First version
88 91
 
... ...
@@ -1,22 +1,22 @@
1
-Summary:	POSIX capability Library
2
-Name:		libcap-ng
3
-Version:	0.7.7
4
-Release:	2%{?dist}
5
-License: 	LGPLv2+
6
-Group: 		System Environment/Libraries
7
-URL: 		http://people.redhat.com/sgrubb/libcap-ng
8
-Source0: 	http://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
9
-%define sha1 libcap-ng=de8ea2c89cb1506a578de7cb032da34c970dd035
10
-BuildRequires:	python2-devel
11
-BuildRequires:	python2-libs
12
-Requires:	python2
1
+Summary:        POSIX capability Library
2
+Name:           libcap-ng
3
+Version:        0.7.7
4
+Release:        3%{?dist}
5
+License:        LGPLv2+
6
+Group:          System Environment/Libraries
7
+URL:            http://people.redhat.com/sgrubb/libcap-ng
8
+Source0:        http://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
9
+%define sha1    libcap-ng=de8ea2c89cb1506a578de7cb032da34c970dd035
10
+BuildRequires:  python2-devel
11
+BuildRequires:  python2-libs
12
+Requires:       python2
13 13
 
14 14
 %description
15 15
 The libcap-ng library is intended to make programming with posix capabilities much easier than the traditional libcap library. It includes utilities that can analyse all currently running applications and print out any capabilities and whether or not it has an open ended bounding set. An open bounding set without the securebits "NOROOT" flag will allow full capabilities escalation for apps retaining uid 0 simply by calling execve.
16 16
 
17 17
 %package devel
18
-Summary:	The libraries and header files needed for libcap-ng development.
19
-Requires: 	%{name} = %{version}-%{release}
18
+Summary:    The libraries and header files needed for libcap-ng development.
19
+Requires:   %{name} = %{version}-%{release}
20 20
 
21 21
 %description devel
22 22
 The libraries and header files needed for libcap_ng development.
... ...
@@ -26,10 +26,10 @@ The libraries and header files needed for libcap_ng development.
26 26
 
27 27
 %build
28 28
 ./configure \
29
-	--prefix=%{_prefix} \
30
-	--libdir=%{_libdir} \
31
-	--with-python \
32
-	--without-python3
29
+    --prefix=%{_prefix} \
30
+    --libdir=%{_libdir} \
31
+    --with-python \
32
+    --without-python3
33 33
 
34 34
 make %{?_smp_mflags}
35 35
 %install
... ...
@@ -39,8 +39,8 @@ make DESTDIR=%{buildroot} install
39 39
 chown -Rv nobody .
40 40
 sudo -u nobody -s /bin/bash -c "PATH=$PATH make -k check"
41 41
 
42
-%post	-p /sbin/ldconfig
43
-%postun	-p /sbin/ldconfig
42
+%post   -p /sbin/ldconfig
43
+%postun -p /sbin/ldconfig
44 44
 
45 45
 %files
46 46
 %defattr(-, root, root)
... ...
@@ -48,7 +48,6 @@ sudo -u nobody -s /bin/bash -c "PATH=$PATH make -k check"
48 48
 %{_libdir}/*.a
49 49
 %{_libdir}/*.la
50 50
 %{_bindir}/*
51
-%{_mandir}/man3/*
52 51
 %{_mandir}/man8/*
53 52
 %{_datadir}/aclocal/*.m4
54 53
 
... ...
@@ -57,10 +56,13 @@ sudo -u nobody -s /bin/bash -c "PATH=$PATH make -k check"
57 57
 %{_libdir}/*.so
58 58
 %{_libdir}/pkgconfig/*.pc
59 59
 %{_includedir}/*.h
60
+%{_mandir}/man3/*
60 61
 
61 62
 %changelog
62
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.7.7-2
63
--	GA - Bump release of all rpms
64
-* 	Fri Aug 28 2015 Divya Thaluru <dthaluru@vmware.com> 0.7.7-1
65
-- 	Initial version
63
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 0.7.7-3
64
+-   Moved man3 to devel subpackage.
65
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.7.7-2
66
+-   GA - Bump release of all rpms
67
+*   Fri Aug 28 2015 Divya Thaluru <dthaluru@vmware.com> 0.7.7-1
68
+-   Initial version
66 69
 
... ...
@@ -1,15 +1,15 @@
1
-Summary:	Libcap
2
-Name:		libcap
3
-Version:	2.25
4
-Release:	4%{?dist}
5
-License:	GPLv2+
6
-URL:		https://www.gnu.org/software/hurd/community/gsoc/project_ideas/libcap.html
7
-Source0:	https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/%{name}-%{version}.tar.xz
8
-%define sha1 libcap=f0b102e4a68e1bbdcb6b143b63c34a250e473088
9
-Group:		System Environment/Security
10
-Vendor:		VMware, Inc.
1
+Summary:		Libcap
2
+Name:			libcap
3
+Version:		2.25
4
+Release:		5%{?dist}
5
+License:		GPLv2+
6
+URL:			https://www.gnu.org/software/hurd/community/gsoc/project_ideas/libcap.html
7
+Source0:		https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/%{name}-%{version}.tar.xz
8
+%define sha1 	libcap=f0b102e4a68e1bbdcb6b143b63c34a250e473088
9
+Group:			System Environment/Security
10
+Vendor:			VMware, Inc.
11 11
 Distribution:	Photon
12
-Requires:	attr
12
+Requires:		attr
13 13
 BuildRequires:	attr-devel
14 14
 %description
15 15
 The libcap package implements the user-space interfaces to the POSIX 1003.1e capabilities available 
... ...
@@ -40,7 +40,6 @@ cd progs
40 40
 %defattr(-,root,root)
41 41
 %{_lib64dir}/libcap.so.*
42 42
 %{_mandir}/man1/*
43
-%{_mandir}/man3/*
44 43
 %{_mandir}/man8/*
45 44
 %{_sbindir}/*
46 45
 
... ...
@@ -50,8 +49,11 @@ cd progs
50 50
 %{_lib64dir}/libcap.a
51 51
 %{_lib64dir}/pkgconfig/*
52 52
 %{_lib64dir}/libcap.so
53
+%{_mandir}/man3/*
53 54
 
54 55
 %changelog
56
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 2.25-5
57
+-   Moved man3 to devel subpackage.
55 58
 *   Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 2.25-4
56 59
 -   BuildRequired attr-devel.
57 60
 *   Thu Oct 06 2016 ChangLee <changlee@vmware.com> 2.25-3
... ...
@@ -1,14 +1,14 @@
1
-Summary:	ASN.1 library
2
-Name:		libtasn1
3
-Version:	4.7
4
-Release:	3%{?dist}
5
-License:	GPLv3+ and LGPLv2+
6
-URL:		http://www.gnu.org/software/libtasn1/
7
-Source0:	http://ftp.gnu.org/gnu/libtasn1/%{name}-%{version}.tar.gz
8
-%define sha1 libtasn1=1c2cf0b8c7954249cfd7842500fabe1c7fdcd5d5
9
-Group:		System Environment/Libraries
10
-Vendor:		VMware, Inc.
11
-Distribution:	Photon
1
+Summary:        ASN.1 library
2
+Name:           libtasn1
3
+Version:        4.7
4
+Release:        4%{?dist}
5
+License:        GPLv3+ and LGPLv2+
6
+URL:            http://www.gnu.org/software/libtasn1/
7
+Source0:        http://ftp.gnu.org/gnu/libtasn1/%{name}-%{version}.tar.gz
8
+%define sha1    libtasn1=1c2cf0b8c7954249cfd7842500fabe1c7fdcd5d5
9
+Group:          System Environment/Libraries
10
+Vendor:         VMware, Inc.
11
+Distribution:   Photon
12 12
 
13 13
 Patch0:         CVE-2016-4008.patch
14 14
 
... ...
@@ -17,9 +17,9 @@ Libtasn1 library provides Abstract Syntax Notation One (ASN.1, as specified by t
17 17
 and Distinguished Encoding Rules (DER, as per X.690) encoding and decoding functions.
18 18
 
19 19
 %package devel
20
-Summary:	Development libraries and header files for libtasn1
21
-Requires:	libtasn1
22
-Provides:	pkgconfig(libtasn1)
20
+Summary:    Development libraries and header files for libtasn1
21
+Requires:   libtasn1
22
+Provides:   pkgconfig(libtasn1)
23 23
 
24 24
 %description devel
25 25
 The package contains libraries and header files for
... ...
@@ -31,7 +31,7 @@ developing applications that use libtasn1.
31 31
 
32 32
 %build
33 33
 ./configure \
34
-	--prefix=%{_prefix}
34
+    --prefix=%{_prefix}
35 35
 make %{?_smp_mflags}
36 36
 %install
37 37
 make DESTDIR=%{buildroot} install
... ...
@@ -41,31 +41,35 @@ find %{buildroot}%{_libdir} -name '*.la' -delete
41 41
 %check
42 42
 make %{?_smp_mflags} check
43 43
 
44
-%post	-p /sbin/ldconfig
45
-%postun	-p /sbin/ldconfig
44
+%post   -p /sbin/ldconfig
45
+%postun -p /sbin/ldconfig
46 46
 %files
47 47
 %defattr(-,root,root)
48 48
 %{_libdir}/*.so.*
49 49
 %{_bindir}/*
50 50
 %{_mandir}/man1/*
51
-%{_mandir}/man3/*
51
+
52 52
 %files devel
53 53
 %defattr(-,root,root)
54 54
 %{_includedir}/*.h
55 55
 %{_libdir}/*.so
56 56
 %{_libdir}/pkgconfig/*.pc
57 57
 %{_libdir}/*.a
58
+%{_mandir}/man3/*
59
+
58 60
 %changelog
59
-*       Wed Nov 30 2016 Dheeraj Shetty <dheerajs@vmware.com> 4.7-3
60
--       Added patch for CVE-2016-4008
61
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.7-2
62
--	GA - Bump release of all rpms
63
-* 	Fri Jan 15 2016 Xiaolin Li <xiaolinl@vmware.com> 4.7-1
64
-- 	Updated to version 4.7
61
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 4.7-4
62
+-   Moved man3 to devel subpackage.
63
+*   Wed Nov 30 2016 Dheeraj Shetty <dheerajs@vmware.com> 4.7-3
64
+-   Added patch for CVE-2016-4008
65
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.7-2
66
+-   GA - Bump release of all rpms
67
+*   Fri Jan 15 2016 Xiaolin Li <xiaolinl@vmware.com> 4.7-1
68
+-   Updated to version 4.7
65 69
 *   Mon Oct 12 2015 Xiaolin Li <xiaolinl@vmware.com> 4.5-3
66 70
 -   Moving static lib files to devel package.
67 71
 *   Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 4.5-2
68 72
 -   Removing la files from packages.
69
-*	Fri Jun 19 2015 Divya Thaluru <dthaluru@vmware.com> 4.5-1
70
--	Initial build. First version
73
+*   Fri Jun 19 2015 Divya Thaluru <dthaluru@vmware.com> 4.5-1
74
+-   Initial build. First version
71 75
 
... ...
@@ -1,19 +1,19 @@
1
-Summary:	Libraries for Transport Independent RPC
2
-Name:		libtirpc
3
-Version:	1.0.1
4
-Release:	4%{?dist}
5
-Source0:	http://downloads.sourceforge.net/project/libtirpc/libtirpc/0.3.2/%{name}-%{version}.tar.bz2
6
-%define sha1 libtirpc=8da1636f98b5909c0d587e7534bc1e91f5c1a970
1
+Summary:        Libraries for Transport Independent RPC
2
+Name:           libtirpc
3
+Version:        1.0.1
4
+Release:        5%{?dist}
5
+Source0:        http://downloads.sourceforge.net/project/libtirpc/libtirpc/0.3.2/%{name}-%{version}.tar.bz2
6
+%define sha1    libtirpc=8da1636f98b5909c0d587e7534bc1e91f5c1a970
7 7
 Patch0:         libtirpc-1.0.1-bindrsvport-blacklist.patch
8
-License:	BSD
9
-Group:		System Environment/Libraries
10
-URL:		http://nfsv4.bullopensource.org/
11
-Vendor:		VMware, Inc.
12
-Distribution:	Photon
13
-BuildRequires:	krb5-devel
14
-BuildRequires:	automake
8
+License:        BSD
9
+Group:          System Environment/Libraries
10
+URL:            http://nfsv4.bullopensource.org/
11
+Vendor:         VMware, Inc.
12
+Distribution:   Photon
13
+BuildRequires:  krb5-devel
14
+BuildRequires:  automake
15 15
 BuildRequires:  e2fsprogs-devel
16
-Requires:	krb5
16
+Requires:       krb5
17 17
 
18 18
 %description
19 19
 This package contains SunLib's implementation of transport-independent
... ...
@@ -26,13 +26,13 @@ Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
26 26
 by almost 70 vendors on all major operating systems.  TS-RPC source code
27 27
 (RPCSRC 4.0) remains available from several internet sites.
28 28
 
29
-%package	devel
30
-Summary:	Development files for the libtirpc library
31
-Group:		Development/Libraries
32
-Requires:	%{name} = %{version}-%{release}
33
-Requires:	krb5-devel
29
+%package    devel
30
+Summary:    Development files for the libtirpc library
31
+Group:      Development/Libraries
32
+Requires:   %{name} = %{version}-%{release}
33
+Requires:   krb5-devel
34 34
 
35
-%description 	devel
35
+%description    devel
36 36
 This package includes header files and libraries necessary for developing programs which use the tirpc library.
37 37
 
38 38
 %prep
... ...
@@ -55,18 +55,20 @@ make install DESTDIR=%{buildroot}
55 55
 
56 56
 %files
57 57
 %{_sysconfdir}/netconfig
58
-%{_mandir}/man3/*
59 58
 %{_mandir}/man5/*
60 59
 %{_libdir}/*.so.*
61
-%{_libdir}/*.a
62
-%{_libdir}/*.la
63 60
 
64 61
 %files devel
65 62
 %{_libdir}/*.so
66 63
 %{_libdir}/pkgconfig/*.pc
67 64
 %{_includedir}/tirpc/*
68
-   
65
+%{_mandir}/man3/*
66
+%{_libdir}/*.a
67
+%{_libdir}/*.la
68
+
69 69
 %changelog
70
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.0.1-5
71
+-   Moved man3 to devel subpackage.
70 72
 *   Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 1.0.1-4
71 73
 -   Required krb5-devel.
72 74
 *   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.1-3
... ...
@@ -1,20 +1,20 @@
1
-Summary:	Libxml2
2
-Name:		libxml2
3
-Version:	2.9.4
4
-Release:	3%{?dist}
5
-License:	MIT
6
-URL:		http://xmlsoft.org/
7
-Group:		System Environment/General Libraries
8
-Vendor:		VMware, Inc.
9
-Distribution: 	Photon
10
-Source0:	ftp://xmlsoft.org/libxml2/%{name}-%{version}.tar.gz
1
+Summary:        Libxml2
2
+Name:           libxml2
3
+Version:        2.9.4
4
+Release:        4%{?dist}
5
+License:        MIT
6
+URL:            http://xmlsoft.org/
7
+Group:          System Environment/General Libraries
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:        ftp://xmlsoft.org/libxml2/%{name}-%{version}.tar.gz
11 11
 Patch0:         libxml2-2.9.4-support-cve-2016-5131.patch
12 12
 Patch1:         libxml2-2.9.4-cve-2016-5131.patch
13
-%define sha1 libxml2=958ae70baf186263a4bd801a81dd5d682aedd1db
14
-Requires:	python2
15
-BuildRequires:	python2-devel
16
-BuildRequires:	python2-libs
17
-Provides:	pkgconfig(libxml-2.0)
13
+%define sha1    libxml2=958ae70baf186263a4bd801a81dd5d682aedd1db
14
+Requires:       python2
15
+BuildRequires:  python2-devel
16
+BuildRequires:  python2-libs
17
+Provides:       pkgconfig(libxml-2.0)
18 18
 
19 19
 %description
20 20
 The libxml2 package contains libraries and utilities used for parsing XML files. 
... ...
@@ -32,7 +32,7 @@ The libxml2 python module
32 32
 
33 33
 %package devel
34 34
 Summary:    Libraries and header files for libxml
35
-Requires:	%{name} = %{version}
35
+Requires:   %{name} = %{version}
36 36
 
37 37
 %description devel
38 38
 Static libraries and header files for the support library for libxml
... ...
@@ -48,11 +48,11 @@ sed \
48 48
   -i parser.c
49 49
 %build
50 50
 ./configure \
51
-	--prefix=%{_prefix} \
52
-	--bindir=%{_bindir} \
53
-	--libdir=%{_libdir} \
54
-	--disable-static \
55
-	--with-history
51
+    --prefix=%{_prefix} \
52
+    --bindir=%{_bindir} \
53
+    --libdir=%{_libdir} \
54
+    --disable-static \
55
+    --with-history
56 56
 make %{?_smp_mflags}
57 57
 %install
58 58
 [ %{buildroot} != "/"] && rm -rf %{buildroot}/*
... ...
@@ -63,8 +63,8 @@ find %{buildroot}/%{_libdir} -name '*.la' -delete
63 63
 %check
64 64
 make %{?_smp_mflags} check
65 65
 
66
-%post	-p /sbin/ldconfig
67
-%postun	-p /sbin/ldconfig
66
+%post   -p /sbin/ldconfig
67
+%postun -p /sbin/ldconfig
68 68
 %clean
69 69
 rm -rf %{buildroot}/*
70 70
 %files
... ...
@@ -76,7 +76,7 @@ rm -rf %{buildroot}/*
76 76
 %{_datadir}/aclocal/*
77 77
 %{_datadir}/gtk-doc/*
78 78
 %{_mandir}/man1/*
79
-%{_mandir}/man3/*
79
+
80 80
 
81 81
 %files python
82 82
 %defattr(-,root,root)
... ...
@@ -85,30 +85,33 @@ rm -rf %{buildroot}/*
85 85
 %files devel
86 86
 %defattr(-,root,root)
87 87
 %{_includedir}/*
88
+%{_mandir}/man3/*
88 89
 %{_libdir}/pkgconfig/libxml-2.0.pc
89 90
 %{_libdir}/cmake/libxml2/libxml2-config.cmake
90 91
 
91 92
 
92 93
 %changelog
93
-*	Thu Oct 20 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.9.4-3
94
--	Apply patch for CVE-2016-5131
95
-*       Mon Oct 03 2016 Chang Lee <changlee@vmware.com> 2.9.4-2
96
--       Modified check
97
-*       Wed Jun 01 2016 Anish Swaminathan <anishs@vmware.com> 2.9.4-1
98
--       Upgrade to 2.9.4
99
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.9.3-2
100
--	GA - Bump release of all rpms
101
-*       Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.9.3-1
102
--       Upgraded to version 2.9.3
103
-*       Thu Jan 28 2016 Xiaolin Li <xiaolinl@vmware.com> 2.9.2-1
104
--       Downgrade to version 2.9.2
105
--       libxml 2.9.3 has been found to have major functional issues. 
106
--       Until these are resolved, please roadmap updating to 2.9.2.
107
-*       Wed Dec 2 2015 Xiaolin Li <xiaolinl@vmware.com> 2.9.3-1
108
--       Update to version 2.9.3
109
-*       Thu Jul 2 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> 2.9.1-3
110
--       Seperate the python module from the main library
111
-*	Thu Jun 11 2015 Alexey Makhalov <amakhalov@vmware.com> 2.9.1-2
112
--	Moved 'Provides: pkgconfig(...)' into base package
113
-*	Mon Oct 13 2014 Divya Thaluru <dthaluru@vmware.com> 2.9.1-1
114
--	Initial build.	First version
94
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 2.9.4-4
95
+-   Moved man3 to devel subpackage.
96
+*   Thu Oct 20 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.9.4-3
97
+-   Apply patch for CVE-2016-5131
98
+*   Mon Oct 03 2016 Chang Lee <changlee@vmware.com> 2.9.4-2
99
+-   Modified check
100
+*   Wed Jun 01 2016 Anish Swaminathan <anishs@vmware.com> 2.9.4-1
101
+-   Upgrade to 2.9.4
102
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.9.3-2
103
+-   GA - Bump release of all rpms
104
+*   Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.9.3-1
105
+-   Upgraded to version 2.9.3
106
+*   Thu Jan 28 2016 Xiaolin Li <xiaolinl@vmware.com> 2.9.2-1
107
+-   Downgrade to version 2.9.2
108
+-   libxml 2.9.3 has been found to have major functional issues. 
109
+-   Until these are resolved, please roadmap updating to 2.9.2.
110
+*   Wed Dec 2 2015 Xiaolin Li <xiaolinl@vmware.com> 2.9.3-1
111
+-   Update to version 2.9.3
112
+*   Thu Jul 2 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> 2.9.1-3
113
+-   Seperate the python module from the main library
114
+*   Thu Jun 11 2015 Alexey Makhalov <amakhalov@vmware.com> 2.9.1-2
115
+-   Moved 'Provides: pkgconfig(...)' into base package
116
+*   Mon Oct 13 2014 Divya Thaluru <dthaluru@vmware.com> 2.9.1-1
117
+-   Initial build.  First version
... ...
@@ -1,17 +1,17 @@
1
-Summary:	Libxslt-1.1.29
2
-Name:		libxslt
3
-Version:	1.1.29
4
-Release:	1%{?dist}
5
-License:	MIT
6
-URL:		http:/http://xmlsoft.org/libxslt/
7
-Group:		System Environment/General Libraries
8
-Vendor:		VMware, Inc.
9
-Distribution: 	Photon
10
-Source0:	http://xmlsoft.org/sources/%{name}-%{version}.tar.gz
11
-%define sha1 libxslt=edcaeabb3555ae44853bdc406ee9521fb65c620d
12
-Requires:	libxml2-devel
13
-BuildRequires:	libxml2-devel
14
-BuildRequires:	python2
1
+Summary:        Libxslt-1.1.29
2
+Name:           libxslt
3
+Version:        1.1.29
4
+Release:        2%{?dist}
5
+License:        MIT
6
+URL:            http:/http://xmlsoft.org/libxslt/
7
+Group:          System Environment/General Libraries
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:        http://xmlsoft.org/sources/%{name}-%{version}.tar.gz
11
+%define sha1    libxslt=edcaeabb3555ae44853bdc406ee9521fb65c620d
12
+Requires:       libxml2-devel
13
+BuildRequires:  libxml2-devel
14
+BuildRequires:  python2
15 15
 %description
16 16
 The libxslt package contains XSLT libraries used for extending libxml2 libraries to support XSLT files. 
17 17
 
... ...
@@ -26,11 +26,11 @@ Header files for doing development with libxslt.
26 26
 %setup -q
27 27
 %build
28 28
 ./configure \
29
-	--prefix=%{_prefix} \
30
-	--bindir=%{_bindir} \
31
-	--libdir=%{_libdir} \
32
-	--disable-static \
33
-	--without-python
29
+    --prefix=%{_prefix} \
30
+    --bindir=%{_bindir} \
31
+    --libdir=%{_libdir} \
32
+    --disable-static \
33
+    --without-python
34 34
 make %{?_smp_mflags}
35 35
 %install
36 36
 [ %{buildroot} != "/"] && rm -rf %{buildroot}/*
... ...
@@ -41,8 +41,8 @@ find %{buildroot} -name '*.la' -delete
41 41
 %check
42 42
 make %{?_smp_mflags} check
43 43
 
44
-%post	-p /sbin/ldconfig
45
-%postun	-p /sbin/ldconfig
44
+%post   -p /sbin/ldconfig
45
+%postun -p /sbin/ldconfig
46 46
 %clean
47 47
 rm -rf %{buildroot}/*
48 48
 %files
... ...
@@ -52,7 +52,6 @@ rm -rf %{buildroot}/*
52 52
 %{_libdir}/libxslt-plugins
53 53
 %{_bindir}/*
54 54
 %{_mandir}/man1/*
55
-%{_mandir}/man3/*
56 55
 
57 56
 %files devel
58 57
 %defattr(-,root,root,-)
... ...
@@ -61,15 +60,18 @@ rm -rf %{buildroot}/*
61 61
 %{_includedir}/*
62 62
 %{_docdir}/*
63 63
 %{_datadir}/aclocal/*
64
+%{_mandir}/man3/*
64 65
 
65 66
 %changelog
66
-*       Fri Oct 21 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.29-1
67
--       Fix CVEs 2016-1683, 2016-1684, 2015-7995 with version 1.1.29
68
-*       Mon Oct 03 2016 Chang Lee <changlee@vmware.com> 1.1.28-4
69
--       Modified check
70
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.1.28-3
71
--	GA - Bump release of all rpms
72
-*	Tue Jan 19 2016 Xiaolin Li <xiaolinl@vmware.com> 1.1.28-2
73
--	Add a dev subpackage.
74
-*	Mon Oct 13 2014 Divya Thaluru <dthaluru@vmware.com> 1.1.28-1
75
--	Initial build.	First version
67
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.1.29-2
68
+-   Moved man3 to devel subpackage.
69
+*   Fri Oct 21 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.29-1
70
+-   Fix CVEs 2016-1683, 2016-1684, 2015-7995 with version 1.1.29
71
+*   Mon Oct 03 2016 Chang Lee <changlee@vmware.com> 1.1.28-4
72
+-   Modified check
73
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.1.28-3
74
+-   GA - Bump release of all rpms
75
+*   Tue Jan 19 2016 Xiaolin Li <xiaolinl@vmware.com> 1.1.28-2
76
+-   Add a dev subpackage.
77
+*   Mon Oct 13 2014 Divya Thaluru <dthaluru@vmware.com> 1.1.28-1
78
+-   Initial build.  First version
... ...
@@ -1,19 +1,19 @@
1
-Summary:	Management tools and libraries relating to cryptography
2
-Name:		openssl
3
-Version:	1.0.2j
4
-Release:	2%{?dist}
5
-License:	OpenSSL
6
-URL:		http://www.openssl.org
7
-Group:		System Environment/Security
8
-Vendor:		VMware, Inc.
9
-Distribution:	Photon
10
-Source0:	http://www.openssl.org/source/%{name}-%{version}.tar.gz
11
-%define sha1 openssl=bdfbdb416942f666865fa48fe13c2d0e588df54f
12
-Patch0:		c_rehash.patch
1
+Summary:        Management tools and libraries relating to cryptography
2
+Name:           openssl
3
+Version:        1.0.2j
4
+Release:        3%{?dist}
5
+License:        OpenSSL
6
+URL:            http://www.openssl.org
7
+Group:          System Environment/Security
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:        http://www.openssl.org/source/%{name}-%{version}.tar.gz
11
+%define sha1    openssl=bdfbdb416942f666865fa48fe13c2d0e588df54f
12
+Patch0:         c_rehash.patch
13 13
 Patch1:         openssl-1.0.2f-ipv6apps.patch
14 14
 Patch2:         openssl-init-conslidate.patch
15 15
 Patch3:         openssl-use-fips-drbg-by-default.patch
16
-Requires:	bash glibc libgcc 
16
+Requires:       bash glibc libgcc
17 17
 
18 18
 %description
19 19
 The OpenSSL package contains management tools and libraries relating
... ...
@@ -57,13 +57,13 @@ Perl scripts that convert certificates and keys to various formats.
57 57
 %build
58 58
 export CFLAGS="%{optflags}"
59 59
 ./config \
60
-	--prefix=%{_prefix} \
61
-	--libdir=lib \
62
-	--openssldir=/%{_sysconfdir}/ssl \
63
-	shared \
64
-	zlib-dynamic \
60
+    --prefix=%{_prefix} \
61
+    --libdir=lib \
62
+    --openssldir=/%{_sysconfdir}/ssl \
63
+    shared \
64
+    zlib-dynamic \
65 65
         %{?_with_fips} \
66
-	-Wa,--noexecstack "${CFLAGS}" "${LDFLAGS}"
66
+    -Wa,--noexecstack "${CFLAGS}" "${LDFLAGS}"
67 67
 # does not support -j yet
68 68
 make
69 69
 %install
... ...
@@ -75,8 +75,8 @@ ln -sf %{_libdir}/libcrypto.so.1.0.0 %{buildroot}%{_libdir}/libcrypto.so.1.0.2
75 75
 %check
76 76
 make %{?_smp_mflags} tests
77 77
 
78
-%post	-p /sbin/ldconfig
79
-%postun	-p /sbin/ldconfig
78
+%post   -p /sbin/ldconfig
79
+%postun -p /sbin/ldconfig
80 80
 %clean
81 81
 rm -rf %{buildroot}/*
82 82
 
... ...
@@ -94,13 +94,12 @@ rm -rf %{buildroot}/*
94 94
 %{_libdir}/*.so.*
95 95
 %{_libdir}/engines/*
96 96
 %{_mandir}/man1/*
97
-%{_mandir}/man3/*
98 97
 %{_mandir}/man5/*
99 98
 %{_mandir}/man7/*
100 99
 
101 100
 %files devel
102 101
 %{_includedir}/*
103
-%{_mandir}/man3*/*
102
+%{_mandir}/man3/*
104 103
 %{_libdir}/pkgconfig/*.pc
105 104
 %{_libdir}/*.a
106 105
 %{_libdir}/*.so
... ...
@@ -113,6 +112,8 @@ rm -rf %{buildroot}/*
113 113
 /%{_bindir}/c_rehash
114 114
 
115 115
 %changelog
116
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.0.2j-3
117
+-   Moved man3 to devel subpackage.
116 118
 *   Wed Oct 05 2016 ChangLee <changlee@vmware.com> 1.0.2j-2
117 119
 -   Modified %check
118 120
 *   Mon Sep 26 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.2j-1
... ...
@@ -143,5 +144,5 @@ rm -rf %{buildroot}/*
143 143
 -   Split perl scripts to a different package.
144 144
 *   Fri Jul 24 2015 Chang Lee <changlee@vmware.com> 1.0.2d-1
145 145
 -   Update new version.
146
-*	Wed Mar 25 2015 Divya Thaluru <dthaluru@vmware.com> 1.0.2a-1
147
--	Initial build.	First version
146
+*   Wed Mar 25 2015 Divya Thaluru <dthaluru@vmware.com> 1.0.2a-1
147
+-   Initial build.  First version
... ...
@@ -1,36 +1,36 @@
1
-Summary:	Programs for monitoring processes
2
-Name:		procps-ng
3
-Version:	3.3.11
4
-Release:	4%{?dist}
5
-License:	GPLv2
6
-URL:		http://procps.sourceforge.net/
7
-Group:		Applications/System
8
-Vendor:		VMware, Inc.
9
-Distribution: Photon
10
-Source0:		http://sourceforge.net/projects/procps-ng/files/Production/%{name}-%{version}.tar.xz
11
-%define sha1 procps-ng=1bdca65547df9ed019bd83649b0f8b8eaa017e25
12
-Patch0:		Fixto-interpret-ascii-sequence.patch
13
-BuildRequires:	ncurses-devel
14
-Requires:	ncurses
1
+Summary:        Programs for monitoring processes
2
+Name:           procps-ng
3
+Version:        3.3.11
4
+Release:        5%{?dist}
5
+License:        GPLv2
6
+URL:            http://procps.sourceforge.net/
7
+Group:          Applications/System
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:        http://sourceforge.net/projects/procps-ng/files/Production/%{name}-%{version}.tar.xz
11
+%define sha1    procps-ng=1bdca65547df9ed019bd83649b0f8b8eaa017e25
12
+Patch0:         Fixto-interpret-ascii-sequence.patch
13
+BuildRequires:  ncurses-devel
14
+Requires:       ncurses
15 15
 %description
16 16
 The Procps package contains programs for monitoring processes.
17
-%package	devel
18
-Summary:	Header and development files for procps-ng
19
-Requires:	%{name} = %{version}
20
-%description	devel
17
+%package    devel
18
+Summary:    Header and development files for procps-ng
19
+Requires:   %{name} = %{version}
20
+%description    devel
21 21
 It contains the libraries and header files to create applications 
22 22
 %prep
23 23
 %setup -q
24 24
 %patch0 -p1
25 25
 %build
26 26
 ./configure \
27
-	--prefix=%{_prefix} \
28
-	--exec-prefix= \
29
-	--libdir=%{_libdir} \
30
-	--docdir=%{_defaultdocdir}/%{name}-%{version} \
31
-	--disable-static \
32
-	--disable-kill \
33
-	--disable-silent-rules
27
+    --prefix=%{_prefix} \
28
+    --exec-prefix= \
29
+    --libdir=%{_libdir} \
30
+    --docdir=%{_defaultdocdir}/%{name}-%{version} \
31
+    --disable-static \
32
+    --disable-kill \
33
+    --disable-silent-rules
34 34
 make %{?_smp_mflags}
35 35
 %install
36 36
 make DESTDIR=%{buildroot} install
... ...
@@ -44,8 +44,8 @@ find %{buildroot} -name '*.la' -delete
44 44
 %check
45 45
 make %{?_smp_mflags} check
46 46
 
47
-%post	-p /sbin/ldconfig
48
-%postun	-p /sbin/ldconfig
47
+%post   -p /sbin/ldconfig
48
+%postun -p /sbin/ldconfig
49 49
 %files
50 50
 %defattr(-,root,root)
51 51
 /bin/ps
... ...
@@ -81,7 +81,6 @@ make %{?_smp_mflags} check
81 81
 %{_mandir}/man1/w.1.gz
82 82
 %{_mandir}/man1/watch.1.gz
83 83
 %{_mandir}/man1/ps.1.gz
84
-%{_mandir}/man3/*
85 84
 %{_mandir}/man5/sysctl.conf.5.gz
86 85
 %{_libdir}/libprocps.so.5
87 86
 %{_libdir}/libprocps.so.5.0.0
... ...
@@ -101,16 +100,19 @@ make %{?_smp_mflags} check
101 101
 %{_includedir}/proc/whattime.h
102 102
 %{_libdir}/pkgconfig/libprocps.pc
103 103
 %{_libdir}/libprocps.so
104
+%{_mandir}/man3/*
104 105
 %changelog
105
-*       Mon Oct 03 2016 ChangLee <changLee@vmware.com> 3.3.11-4
106
--       Modified %check
107
-*	Tue Jun 21 2016 Divya Thaluru <dthaluru@vmware.com> 3.3.11-3
108
--	Added patch to interpret ASCII sequence correctly
109
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.3.11-2
110
--	GA - Bump release of all rpms
111
-*	Thu Jan 21 2016 Anish Swaminathan <anishs@vmware.com> 3.3.11-1
112
--	Upgrade version
113
-*   	Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> 3.3.9-2
114
--   	Update according to UsrMove.
115
-*	Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 3.3.9-1
116
--	Initial build. First version
106
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 3.3.11-5
107
+-   Moved man3 to devel subpackage.
108
+*   Mon Oct 03 2016 ChangLee <changLee@vmware.com> 3.3.11-4
109
+-   Modified %check
110
+*   Tue Jun 21 2016 Divya Thaluru <dthaluru@vmware.com> 3.3.11-3
111
+-   Added patch to interpret ASCII sequence correctly
112
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.3.11-2
113
+-   GA - Bump release of all rpms
114
+*   Thu Jan 21 2016 Anish Swaminathan <anishs@vmware.com> 3.3.11-1
115
+-   Upgrade version
116
+*   Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> 3.3.9-2
117
+-   Update according to UsrMove.
118
+*   Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 3.3.9-1
119
+-   Initial build. First version
... ...
@@ -1,15 +1,15 @@
1
-Summary:	Utilities for file systems, consoles, partitions, and messages
2
-Name:		util-linux
3
-Version:	2.27.1
4
-Release:	4%{?dist}
5
-URL:		http://www.kernel.org/pub/linux/utils/util-linux
6
-License:	GPLv2+
7
-Group:		Applications/System
8
-Vendor:		VMware, Inc.
9
-Distribution: 	Photon
10
-Source0:	%{name}-%{version}.tar.xz
11
-%define sha1 util-linux=462bca6320535d39b62216d8609da5531bfef0bb
12
-BuildRequires:	ncurses-devel
1
+Summary:        Utilities for file systems, consoles, partitions, and messages
2
+Name:           util-linux
3
+Version:        2.27.1
4
+Release:        5%{?dist}
5
+URL:            http://www.kernel.org/pub/linux/utils/util-linux
6
+License:        GPLv2+
7
+Group:          Applications/System
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:    %{name}-%{version}.tar.xz
11
+%define sha1    util-linux=462bca6320535d39b62216d8609da5531bfef0bb
12
+BuildRequires:  ncurses-devel
13 13
 %description
14 14
 Utilities for handling file systems, consoles, partitions,
15 15
 and messages.
... ...
@@ -33,11 +33,11 @@ These are the header and library files of util-linux.
33 33
 sed -i -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' $(grep -rl '/etc/adjtime' .)
34 34
 %build
35 35
 ./configure \
36
-	--disable-nologin \
37
-	--disable-silent-rules \
38
-	--disable-static \
39
-	--disable-use-tty-group \
40
-	--without-python
36
+    --disable-nologin \
37
+    --disable-silent-rules \
38
+    --disable-static \
39
+    --disable-use-tty-group \
40
+    --without-python
41 41
 make %{?_smp_mflags}
42 42
 %install
43 43
 install -vdm 755 %{buildroot}%{_sharedstatedir}/hwclock
... ...
@@ -50,8 +50,8 @@ find %{buildroot} -name '*.la' -delete
50 50
 chown -Rv nobody .
51 51
 sudo -u nobody -s /bin/bash -c "PATH=$PATH make -k check"
52 52
 
53
-%post	-p /sbin/ldconfig
54
-%postun	-p /sbin/ldconfig
53
+%post   -p /sbin/ldconfig
54
+%postun -p /sbin/ldconfig
55 55
 %files
56 56
 %defattr(-,root,root)
57 57
 %dir %{_sharedstatedir}/hwclock
... ...
@@ -60,7 +60,9 @@ sudo -u nobody -s /bin/bash -c "PATH=$PATH make -k check"
60 60
 /sbin/*
61 61
 %{_bindir}/*
62 62
 %{_sbindir}/*
63
-%{_mandir}/*/*
63
+%{_mandir}/man1/*
64
+%{_mandir}/man5/*
65
+%{_mandir}/man8/*
64 66
 %{_datadir}/bash-completion/completions/*
65 67
 %{_datadir}/doc/util-linux/getopt/*
66 68
 
... ...
@@ -72,20 +74,23 @@ sudo -u nobody -s /bin/bash -c "PATH=$PATH make -k check"
72 72
 %{_libdir}/pkgconfig/*.pc
73 73
 %{_libdir}/*.so
74 74
 %{_includedir}/*
75
+%{_mandir}/man3/*
75 76
 
76 77
 %changelog
77
-*       Thu Nov 17 2016 Alexey Makhalov <amakhalov@vmware.com> 2.27.1-4
78
--       Disable use tty droup
79
-*       Wed Oct 05 2016 ChangLee <changlee@vmware.com> 2.27.1-3
80
--       Modified %check
81
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.27.1-2
82
--	GA - Bump release of all rpms
83
-*   	Fri Dec 11 2015 Anish Swaminathan <anishs@vmware.com> 2.27.1-1
84
--   	Upgrade version.
85
-*   	Tue Oct 6 2015 Xiaolin Li <xiaolinl@vmware.com> 2.24.1-3
86
--   	Disable static, move header files, .so and config files to devel package.
87
-*   	Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> 2.24.1-2
88
--   	Update according to UsrMove.
89
-*	Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 2.24.1-1
90
--	Initial build. First version
78
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 2.27.1-5
79
+-   Moved man3 to devel subpackage.
80
+*   Thu Nov 17 2016 Alexey Makhalov <amakhalov@vmware.com> 2.27.1-4
81
+-   Disable use tty droup
82
+*   Wed Oct 05 2016 ChangLee <changlee@vmware.com> 2.27.1-3
83
+-   Modified %check
84
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.27.1-2
85
+-   GA - Bump release of all rpms
86
+*   Fri Dec 11 2015 Anish Swaminathan <anishs@vmware.com> 2.27.1-1
87
+-   Upgrade version.
88
+*   Tue Oct 6 2015 Xiaolin Li <xiaolinl@vmware.com> 2.24.1-3
89
+-   Disable static, move header files, .so and config files to devel package.
90
+*   Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> 2.24.1-2
91
+-   Update according to UsrMove.
92
+*   Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 2.24.1-1
93
+-   Initial build. First version
91 94
 
... ...
@@ -1,27 +1,27 @@
1
-Summary:	Compression and decompression routines
2
-Name:		zlib
3
-Version:	1.2.8
4
-Release:	4%{?dist}
5
-URL:		http://www.zlib.net/
6
-License:	zlib
7
-Group:		Applications/System
8
-Vendor:		VMware, Inc.
9
-Distribution: 	Photon
10
-Source0:	http://www.zlib.net/%{name}-%{version}.tar.xz
11
-%define sha1 zlib=b598beb7acc96347cbd1020b71aef7871d374677
1
+Summary:        Compression and decompression routines
2
+Name:           zlib
3
+Version:        1.2.8
4
+Release:        5%{?dist}
5
+URL:            http://www.zlib.net/
6
+License:        zlib
7
+Group:          Applications/System
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:        http://www.zlib.net/%{name}-%{version}.tar.xz
11
+%define sha1    zlib=b598beb7acc96347cbd1020b71aef7871d374677
12 12
 %description
13 13
 Compression and decompression routines
14
-%package	devel
15
-Summary:	Header and development files for zlib
16
-Requires:	%{name} = %{version}
17
-%description	devel
14
+%package    devel
15
+Summary:    Header and development files for zlib
16
+Requires:   %{name} = %{version}
17
+%description    devel
18 18
 It contains the libraries and header files to create applications 
19 19
 for handling compiled objects.
20 20
 %prep
21 21
 %setup -q
22 22
 %build
23 23
 ./configure \
24
-	--prefix=%{_prefix}
24
+    --prefix=%{_prefix}
25 25
 make V=1 %{?_smp_mflags}
26 26
 %install
27 27
 make DESTDIR=%{buildroot} install
... ...
@@ -31,25 +31,29 @@ ln -sfv ../../lib/$(readlink %{buildroot}%{_libdir}/libz.so) %{buildroot}%{_libd
31 31
 %check
32 32
 make  %{?_smp_mflags} check
33 33
 
34
-%post	-p /sbin/ldconfig
35
-%postun	-p /sbin/ldconfig
34
+%post   -p /sbin/ldconfig
35
+%postun -p /sbin/ldconfig
36 36
 %files
37 37
 %defattr(-,root,root)
38
-%{_mandir}/man3/zlib.3.gz
39 38
 %{_libdir}/libz.so.1
40 39
 %{_libdir}/libz.so.1.2.8
40
+
41 41
 %files devel
42 42
 %{_includedir}/zconf.h
43 43
 %{_includedir}/zlib.h
44 44
 %{_libdir}/pkgconfig/zlib.pc
45 45
 %{_libdir}/libz.a
46 46
 %{_libdir}/libz.so
47
+%{_mandir}/man3/zlib.3.gz
48
+
47 49
 %changelog
48
-*       Wed Oct 05 2016 ChangLee <changlee@vmware.com> 1.2.8-4
49
--       Modified %check
50
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.2.8-3
51
--	GA - Bump release of all rpms
50
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.2.8-5
51
+-   Moved man3 to devel subpackage.
52
+*   Wed Oct 05 2016 ChangLee <changlee@vmware.com> 1.2.8-4
53
+-   Modified %check
54
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.2.8-3
55
+-   GA - Bump release of all rpms
52 56
 *   Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> 1.2.8-2
53 57
 -   Update according to UsrMove.
54
-*	Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 1.2.8-1
55
--	Initial build. First version
58
+*   Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 1.2.8-1
59
+-   Initial build. First version