Browse code

use standard configure macros

2 benefits:
1. It explicitly sets all standard directories to correct ones
2. It uses --host and --target, so many packages with outdated config.sub
and config.guess will work woth new targets like aarch64

Change-Id: Icbce8f2ee3e971806248801175c821cce0966184
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4049
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Dheeraj S Shetty <dheerajs@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

Alexey Makhalov authored on 2017/10/14 15:40:20
Showing 18 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:       Project Calico fork of the BIRD Internet Routing Daemon
2 2
 Name:          calico-bird
3 3
 Version:       0.3.1
4
-Release:       1%{?dist}
4
+Release:       2%{?dist}
5 5
 Group:         Applications/System
6 6
 Vendor:        VMware, Inc.
7 7
 License:       GPL
... ...
@@ -21,28 +21,24 @@ Project Calico fork of the BIRD Internet Routing Daemon.
21 21
 mkdir -p dist
22 22
 autoconf
23 23
 # IPv6 bird + bird client
24
-./configure \
25
-    --prefix=%{_prefix} \
26
-    --libdir=%{_libdir} \
24
+%configure \
27 25
     --with-protocols="bgp pipe static" \
28 26
     --enable-ipv6=yes \
29 27
     --enable-client=yes \
30 28
     --enable-pthreads=yes
31
-make
29
+make %{?_smp_mflags}
32 30
 # Remove the dynmaic binaries and rerun make to create static binaries
33 31
 rm bird birdcl
34
-make CC="gcc -static"
32
+make %{?_smp_mflags} CC="gcc -static"
35 33
 cp bird dist/bird6
36 34
 cp birdcl dist/birdcl
37 35
 # IPv4 bird
38 36
 make clean
39
-./configure \
40
-    --prefix=%{_prefix} \
41
-    --libdir=%{_libdir} \
37
+%configure \
42 38
     --with-protocols="bgp pipe static" \
43 39
     --enable-client=no \
44 40
     --enable-pthreads=yes
45
-make
41
+make %{?_smp_mflags}
46 42
 rm bird
47 43
 make CC="gcc -static"
48 44
 cp bird dist/bird
... ...
@@ -60,5 +56,7 @@ install -vpm 0755 -t %{buildroot}%{_bindir}/ dist/birdcl
60 60
 %{_bindir}/birdcl
61 61
 
62 62
 %changelog
63
-*    Wed Aug 16 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.3.1-1
64
--    Calico BIRD routing daemon for PhotonOS.
63
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 0.3.1-2
64
+-   Use standard configure macros
65
+*   Wed Aug 16 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.3.1-1
66
+-   Calico BIRD routing daemon for PhotonOS.
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	C++ port of Junit test framework
2 2
 Name:		cppunit
3 3
 Version:	1.12.1
4
-Release:	1%{?dist}
4
+Release:	2%{?dist}
5 5
 License:	LGPLv2
6 6
 URL:		https://sourceforge.net/projects/cppunit/
7 7
 Source0:	https://sourceforge.net/projects/cppunit/files/%{name}/%{version}/%{name}-%{version}.tar.gz
... ...
@@ -31,13 +31,8 @@ This contains headers and libs for development with cppunit.
31 31
 %setup -n %{name}-%{version}
32 32
 
33 33
 %build
34
-./configure \
35
-    --disable-silent-rules \
36
-    --prefix=%{_prefix} \
37
-    --includedir=%{_includedir} \
38
-    --libdir=%{_libdir} \
39
-    --mandir=%{_mandir} \
40
-    --docdir=%{_docdir}
34
+%configure \
35
+    --disable-silent-rules
41 36
 make %{?_smp_mflags}
42 37
 
43 38
 %install
... ...
@@ -58,5 +53,7 @@ find %{buildroot} -name '*.la' -delete
58 58
 /usr/share/*
59 59
 
60 60
 %changelog
61
-*    Sun Mar 26 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.12.1-1
62
--    Initial version of cppunit for Photon.
61
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 1.12.1-2
62
+-   Use standard configure macros
63
+*   Sun Mar 26 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.12.1-1
64
+-   Initial version of cppunit for Photon.
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Syslog event logger library
2 2
 Name:		eventlog
3 3
 Version:	0.2.12
4
-Release:	2%{?dist}
4
+Release:	3%{?dist}
5 5
 License:	GPL
6 6
 URL:		https://www.balabit.com
7 7
 Group:		System Environment/Daemons
... ...
@@ -27,14 +27,8 @@ This package is the runtime part of the library.
27 27
 %setup -q
28 28
 
29 29
 %build
30
-./configure \
31
-	CFLAGS="%{optflags}" \
32
-	CXXFLAGS="%{optflags}" \
33
-	--disable-silent-rules \
34
-	--prefix=%{_prefix} \
35
-	--bindir=%{_bindir} \
36
-	--libdir=%{_libdir} \
37
-	--sysconfdir=/etc
30
+%configure \
31
+	--disable-silent-rules
38 32
 make %{?_smp_mflags}
39 33
 
40 34
 %install
... ...
@@ -56,8 +50,10 @@ rm -rf %{buildroot}/*
56 56
 %{_libdir}/pkgconfig/eventlog.pc
57 57
 
58 58
 %changelog
59
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.2.12-2
60
--	GA - Bump release of all rpms
61
-*	Fri Jun 5 2015 Vinay Kulkarni <kulkarniv@vmware.com> 0.2.12-1
62
--	Add eventlog library for syslog-ng to photon
59
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 0.2.12-3
60
+-   Use standard configure macros
61
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.2.12-2
62
+-   GA - Bump release of all rpms
63
+*   Fri Jun 5 2015 Vinay Kulkarni <kulkarniv@vmware.com> 0.2.12-1
64
+-   Add eventlog library for syslog-ng to photon
63 65
 
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Expect is a tool for automating interactive applications
2 2
 Name:           expect
3 3
 Version:        5.45
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        GPLv2+
6 6
 URL:            https://sourceforge.net/projects/expect
7 7
 Source0:        http://prdownloads.sourceforge.net/expect/expect5.45.tar.gz
... ...
@@ -29,10 +29,7 @@ Headers and development libraries for expect
29 29
 %setup -q -n %{name}%{version}
30 30
 
31 31
 %build
32
-./configure \
33
-    --prefix=%{_prefix} \
34
-    --mandir=/usr/share/man
35
-
32
+%configure
36 33
 make %{?_smp_mflags}
37 34
 %install
38 35
 make DESTDIR=%{buildroot} install
... ...
@@ -54,6 +51,8 @@ make %{?_smp_mflags} test
54 54
 
55 55
 
56 56
 %changelog
57
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 5.45-3
58
+-   Use standard configure macros
57 59
 *   Tue Aug 8 2017 Alexey Makhalov <amakhalov@vmware.com> 5.45-2
58 60
 -   Fix %check section
59 61
 *   Wed Jul 12 2017 Alexey Makhalov <amakhalov@vmware.com> 5.45-1
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	FastCGI development kit
2 2
 Name:		fcgi
3 3
 Version:	2.4.0
4
-Release:	2%{?dist}
4
+Release:	3%{?dist}
5 5
 License:	BSD
6 6
 URL:		http://www.fastcgi.com
7 7
 Source0:	http://fastcgi.com/dist/fcgi-%{version}.tar.gz
... ...
@@ -29,8 +29,7 @@ provides high performance without the limitations of server specific APIs.
29 29
 %patch1 -p1
30 30
 
31 31
 %build
32
-./configure \
33
-	--prefix=%{_prefix} \
32
+%configure \
34 33
 	--disable-static
35 34
 make
36 35
 
... ...
@@ -56,7 +55,9 @@ make check
56 56
 %{_includedir}/*
57 57
 
58 58
 %changelog
59
-*	Wed May 24 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.4.0-2
60
--	Patch for CVE-2012-6687
61
-*	Fri Dec 16 2016 Dheeraj Shetty <dheerajs@vmware.com> 2.4.0-1
62
--	Initial build. First version
59
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 2.4.0-3
60
+-   Use standard configure macros
61
+*   Wed May 24 2017 Dheeraj Shetty <dheerajs@vmware.com> 2.4.0-2
62
+-   Patch for CVE-2012-6687
63
+*   Fri Dec 16 2016 Dheeraj Shetty <dheerajs@vmware.com> 2.4.0-1
64
+-   Initial build. First version
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Google's C++ logging module
2 2
 Name:		glog
3 3
 Version:	0.3.4
4
-Release:	2%{?dist}
4
+Release:	3%{?dist}
5 5
 License:	BSD
6 6
 URL:		https://github.com/google/glog
7 7
 Source0:	https://github.com/google/glog/archive/%{name}-v%{version}.tar.gz
... ...
@@ -35,14 +35,9 @@ The contains glog package doc files.
35 35
 %setup -n %{name}-%{version}
36 36
 
37 37
 %build
38
-./configure \
39
-    --prefix=/usr \
40
-    --disable-silent-rules \
41
-    --includedir=%{_includedir} \
42
-    --libdir=%{_libdir} \
43
-    --mandir=%{_mandir} \
44
-    --docdir=%{_docdir}
45
-make
38
+%configure \
39
+    --disable-silent-rules
40
+make %{?_smp_mflags}
46 41
 
47 42
 %install
48 43
 make DESTDIR=%{buildroot} install
... ...
@@ -64,7 +59,9 @@ find %{buildroot} -name '*.la' -delete
64 64
 %{_docdir}/*
65 65
 
66 66
 %changelog
67
-*    Thu Jun 1  2017 Bo Gan <ganb@vmware.com> 0.3.4-2
68
--    Fix file paths
69
-*    Sat Mar 25 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.3.4-1
70
--    Initial version of glog for Photon.
67
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 0.3.4-3
68
+-   Use standard configure macros
69
+*   Thu Jun 1  2017 Bo Gan <ganb@vmware.com> 0.3.4-2
70
+-   Fix file paths
71
+*   Sat Mar 25 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.3.4-1
72
+-   Initial version of glog for Photon.
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        TIFF libraries and associated utilities.
2 2
 Name:           libtiff
3 3
 Version:        4.0.8
4
-Release:        3%{?dist}
4
+Release:        4%{?dist}
5 5
 License:        libtiff
6 6
 URL:            http://www.simplesystems.org/libtiff/
7 7
 Group:          System Environment/Libraries
... ...
@@ -35,8 +35,7 @@ It contains the libraries and header files to create applications
35 35
 %patch3 -p1
36 36
 %patch4 -p1
37 37
 %build
38
-./configure \
39
-    --prefix=%{_prefix} \
38
+%configure \
40 39
     --disable-static
41 40
 make %{?_smp_mflags}
42 41
 
... ...
@@ -68,6 +67,8 @@ make %{?_smp_mflags} -k check
68 68
 %{_datadir}/man/man3/*
69 69
 
70 70
 %changelog
71
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 4.0.8-4
72
+-   Use standard configure macros
71 73
 *   Wed Aug 09 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 4.0.8-3
72 74
 -   Added patch for CVE-2017-9936, CVE-2017-11335
73 75
 *   Tue Jul 11 2017 Divya Thaluru <dthaluru@vmware.com> 4.0.8-2
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Portable and efficient C programming interface (API) to determine the call-chain of a program.
2 2
 Name:		libunwind
3 3
 Version:	1.2
4
-Release:	1%{?dist}
4
+Release:	2%{?dist}
5 5
 License:	X11
6 6
 URL:		http://www.nongnu.org/libunwind/
7 7
 Source0:	http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
... ...
@@ -23,11 +23,8 @@ This contains development tools and libraries for libunwind.
23 23
 %setup -q
24 24
 
25 25
 %build
26
-./configure \
27
-	--disable-silent-rules \
28
-	--prefix=%{_prefix} \
29
-	--bindir=%{_bindir} \
30
-	--libdir=%{_libdir}
26
+%configure \
27
+	--disable-silent-rules
31 28
 
32 29
 make %{?_smp_mflags}
33 30
 
... ...
@@ -46,5 +43,7 @@ find %{buildroot} -name '*.la' -delete
46 46
 %{_libdir}/pkgconfig/libunwind*
47 47
 
48 48
 %changelog
49
-*    Mon Feb 06 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.2-1
50
--    Initial version of libunwind package for Photon.
49
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 1.2-2
50
+-   Use standard configure macros
51
+*   Mon Feb 06 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.2-1
52
+-   Initial version of libunwind package for Photon.
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        MySQL.
2 2
 Name:           mysql
3 3
 Version:        5.7.18
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        GPLv2
6 6
 Group:          Applications/Databases
7 7
 Vendor:         VMware, Inc.
... ...
@@ -18,7 +18,7 @@ BuildRequires:  zlib-devel
18 18
 MySQL is a free, widely used SQL engine. It can be used as a fast database as well as a rock-solid DBMS using a modular engine architecture.
19 19
 
20 20
 %package devel
21
-Summary:        Development headers for musql
21
+Summary:        Development headers for mysql
22 22
 Requires:       %{name} = %{version}-%{release}
23 23
 
24 24
 %description devel
... ...
@@ -66,6 +66,8 @@ make test
66 66
 %{_libdir}/pkgconfig/mysqlclient.pc
67 67
 
68 68
 %changelog
69
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 5.7.18-3
70
+-   Fix typo in description
69 71
 *   Fri Jul 14 2017 Xiaolin Li <xiaolinl@vmware.com> 5.7.18-2
70 72
 -   Run make test in the %check section
71 73
 *   Tue Jun 13 2017 Xiaolin Li <xiaolinl@vmware.com> 5.7.18-1
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Netcat is a featured networking utility which reads and writes data across network connections, using the TCP/IP protocol.
2 2
 Name:		netcat
3 3
 Version:	0.7.1
4
-Release:	3%{?dist}
4
+Release:	4%{?dist}
5 5
 License:	GPLv2 
6 6
 URL:		http://netcat.sourceforge.net/
7 7
 Group:		Productivity/Networking/Other
... ...
@@ -18,7 +18,7 @@ It is designed to be a reliable "back-end" tool that can be used directly or eas
18 18
 %setup -q
19 19
 %build
20 20
 
21
-./configure --prefix=%{_prefix} 
21
+%configure
22 22
 make %{?_smp_mflags}
23 23
 %install
24 24
 make DESTDIR=%{buildroot} install
... ...
@@ -29,13 +29,13 @@ rm -rf %{buildroot}
29 29
 %files 
30 30
 %defattr(-,root,root)
31 31
 %{_bindir}
32
-/usr/info/
33 32
 %{_datadir}
34
-/usr/man
35 33
 %changelog
36
-*	Wed Jul 27 2016 Divya Thaluru <dthaluru@vmware.com> 0.7.1-3
37
--	Removed packaging of debug files
38
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.7.1-2
39
--	GA - Bump release of all rpms
40
-*	Tue Dec 08 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 0.7.1-1
41
--	Initial build.	First version
34
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 0.7.1-4
35
+-   Use standard configure macros
36
+*   Wed Jul 27 2016 Divya Thaluru <dthaluru@vmware.com> 0.7.1-3
37
+-   Removed packaging of debug files
38
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.7.1-2
39
+-   GA - Bump release of all rpms
40
+*   Tue Dec 08 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 0.7.1-1
41
+-   Initial build.	First version
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:       PhotonOS Network Management Utilities
2 2
 Name:          netmgmt
3 3
 Version:       1.1.0
4
-Release:       7%{?dist}
4
+Release:       8%{?dist}
5 5
 Group:         Applications/System
6 6
 Vendor:        VMware, Inc.
7 7
 License:       Apache2.0
... ...
@@ -54,10 +54,9 @@ header files and libraries for netmgmt cli
54 54
 
55 55
 %build
56 56
 autoreconf -mif
57
-./configure \
58
-    --prefix=%{_prefix} \
59
-    --libdir=%{_lib64dir}
60
-make
57
+%configure \
58
+	--libdir=%{_lib64dir}
59
+%make_build
61 60
 
62 61
 %install
63 62
 make DESTDIR=%{buildroot} install
... ...
@@ -92,37 +91,39 @@ find %{buildroot} -name '*.la' -delete
92 92
 # %doc ChangeLog README COPYING
93 93
 
94 94
 %changelog
95
-*    Sat  Oct 07 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-7
96
--    Support netmgr for arm64.
97
-*    Wed  Sep 20 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-6
98
--    Backward compatibility interface.
99
-*    Sat  Sep 09 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-5
100
--    Retain current match conf when creating interface specific conf.
101
-*    Tue  Aug 09 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-4
102
--    Fix coverity issues.
103
-*    Thu  May 25 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-3
104
--    Fix handling of invalid match section config files.
105
-*    Tue  Apr 18 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-2
106
--    Add query cfg filename API, remove fw_rule API, misc cleanup.
107
-*    Fri  Mar 10 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-1
108
--    Update netmgmt to v1.1.0
109
-*    Thu  Oct 27 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.4-3
110
--    Fix to allow reading multiple keys in a config section.
111
-*    Tue  Aug 16 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.4-2
112
--    Fix DNS servers CLI bug.
113
-*    Thu  Jul 28 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.4-1
114
--    Update DNS servers CLI and API.
115
-*    Wed  Jul 20 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.3-2
116
--    Allow ini-parser to read and carry keys with empty values.
117
-*    Fri  Jul 08 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.3-1
118
--    Update set/get dns_servers, duid, iaid APIs.
119
-*    Wed  Jun 15 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.1-5
120
--    Fix linklist delete bug in iniparser.
121
-*    Fri  Jun 03 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.1-4
122
--    Set correct file permissions for config files.
123
-*    Wed May 25 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.1-3
124
--    Do not fail if valid commands are executed
125
-*    Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.1-2
126
--    GA - Bump release of all rpms
127
-*    Wed May 18 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.1-1
128
--    Initial
95
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 1.1.0-8
96
+-   Use standard configure macros
97
+*   Sat  Oct 07 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-7
98
+-   Support netmgr for arm64.
99
+*   Wed  Sep 20 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-6
100
+-   Backward compatibility interface.
101
+*   Sat  Sep 09 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-5
102
+-   Retain current match conf when creating interface specific conf.
103
+*   Tue  Aug 09 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-4
104
+-   Fix coverity issues.
105
+*   Thu  May 25 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-3
106
+-   Fix handling of invalid match section config files.
107
+*   Tue  Apr 18 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-2
108
+-   Add query cfg filename API, remove fw_rule API, misc cleanup.
109
+*   Fri  Mar 10 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.1.0-1
110
+-   Update netmgmt to v1.1.0
111
+*   Thu  Oct 27 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.4-3
112
+-   Fix to allow reading multiple keys in a config section.
113
+*   Tue  Aug 16 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.4-2
114
+-   Fix DNS servers CLI bug.
115
+*   Thu  Jul 28 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.4-1
116
+-   Update DNS servers CLI and API.
117
+*   Wed  Jul 20 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.3-2
118
+-   Allow ini-parser to read and carry keys with empty values.
119
+*   Fri  Jul 08 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.3-1
120
+-   Update set/get dns_servers, duid, iaid APIs.
121
+*   Wed  Jun 15 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.1-5
122
+-   Fix linklist delete bug in iniparser.
123
+*   Fri  Jun 03 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.1-4
124
+-   Set correct file permissions for config files.
125
+*   Wed May 25 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.1-3
126
+-   Do not fail if valid commands are executed
127
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.1-2
128
+-   GA - Bump release of all rpms
129
+*   Wed May 18 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.1-1
130
+-   Initial
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:	OpenLdap-2.4.43
3 3
 Name:		openldap
4 4
 Version:	2.4.44
5
-Release:	2%{?dist}
5
+Release:	3%{?dist}
6 6
 License:	OpenLDAP
7 7
 URL:		http://cyrusimap.web.cmu.edu/
8 8
 Group:		System Environment/Security
... ...
@@ -40,11 +40,7 @@ autoconf
40 40
 sed -i '/6.0.20/ a\\t__db_version_compat' configure
41 41
 
42 42
 CPPFLAGS="-D_REENTRANT -DLDAP_CONNECTIONLESS -D_GNU_SOURCE -D_AVL_H" \
43
-./configure \
44
-	--prefix=%{_prefix} \
45
-	--bindir=%{_bindir} \
46
-	--libdir=%{_libdir} \
47
-        --sysconfdir=/etc   \
43
+%configure \
48 44
         --disable-static    \
49 45
         --disable-debug     \
50 46
         --disable-slapd     \
... ...
@@ -80,6 +76,8 @@ rm -rf %{buildroot}/*
80 80
 /etc/openldap/*
81 81
 
82 82
 %changelog
83
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 2.4.44-3
84
+-   Use standard configure macros
83 85
 *	Tue Jul 11 2017 Divya Thaluru <dthaluru@vmware.com> 2.4.44-2
84 86
 -	Applied patch for CVE-2017-9287
85 87
 *	Sat Apr 15 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.4.44-1
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Programs to parse command-line options
2 2
 Name:		popt
3 3
 Version:	1.16
4
-Release:	4%{?dist}
4
+Release:	5%{?dist}
5 5
 License:	MIT
6 6
 URL:		http://rpm5.org/files/popt
7 7
 Group:		Applications/System
... ...
@@ -30,9 +30,7 @@ These are the additional language files of popt.
30 30
 %prep
31 31
 %setup -q
32 32
 %build
33
-./configure \
34
-	--prefix=%{_prefix} \
35
-	--bindir=%{_bindir} \
33
+%configure \
36 34
 	--disable-silent-rules
37 35
 make %{?_smp_mflags}
38 36
 %install
... ...
@@ -61,6 +59,8 @@ make %{?_smp_mflags} check
61 61
 %defattr(-,root,root)
62 62
 
63 63
 %changelog
64
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 1.16-5
65
+-   Use standard configure macros
64 66
 *   Wed Nov 23 2016 Alexey Makhalov <amakhalov@vmware.com> 1.16-4
65 67
 -   Added -lang subpackage
66 68
 *   Wed Oct 05 2016 ChangLee <changlee@vmware.com> 1.16-3
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        SQLite: An Embeddable SQL Database Engine
2 2
 Name:           sqlite2
3 3
 Version:        2.8.17
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 URL:            http://www.sqlite.org
6 6
 License:        Public Domain
7 7
 Group:          System Environment/GeneralLibraries
... ...
@@ -25,9 +25,7 @@ Headers and development libraries for sqlite2
25 25
 %setup -q -n sqlite-%{version}
26 26
 
27 27
 %build
28
-./configure \
29
-       --prefix=%{_prefix}  \
30
-       --mandir=%{_mandir}  \
28
+%configure \
31 29
        --enable-threads     \
32 30
        --enable-shared      \
33 31
        --enable-symbols
... ...
@@ -54,5 +52,7 @@ make DESTDIR=%{buildroot} install
54 54
 %{_libdir}/libsqlite.so
55 55
 
56 56
 %changelog
57
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 2.8.17-2
58
+-   Use standard configure macros
57 59
 *   Wed Apr 12 2017 Xiaolin Li <xiaolinl@vmware.com>  2.8.17-1
58 60
 -   Initial build.  First version
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Thin provisioning tools
2 2
 Name:           thin-provisioning-tools
3 3
 Version:        0.6.3
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        GPLv3+
6 6
 Group:          System Environment/Base
7 7
 URL:            https://github.com/jthornber/thin-provisioning-tools
... ...
@@ -28,7 +28,7 @@ snapshot eras
28 28
 autoconf
29 29
 export CFLAGS="%{optflags}"
30 30
 export LDFLAGS=""
31
-./configure STRIP=/bin/true --prefix=%{_prefix}
31
+%configure STRIP=/bin/true
32 32
 
33 33
 make %{?_smp_mflags}
34 34
 
... ...
@@ -64,6 +64,8 @@ rm -rf %{buildroot}
64 64
 %{_sbindir}/thin_trim
65 65
 
66 66
 %changelog
67
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 0.6.3-3
68
+-   Use standard configure macros
67 69
 *   Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.6.3-2
68 70
 -   Ensure non empty debuginfo
69 71
 *   Tue Mar 28 2017 Xiaolin Li <xiaolinl@vmware.com> 0.6.3-1
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:    TCG Software Stack (TSS)
2 2
 Name:       trousers
3 3
 Version:    0.3.14
4
-Release:    1%{?dist}
4
+Release:    2%{?dist}
5 5
 License:    BSD
6 6
 URL:        https://sourceforge.net/projects/trousers/
7 7
 Group:      System Environment/Security
... ...
@@ -29,8 +29,7 @@ TSPI library
29 29
 %prep
30 30
 %setup -q -c %{name}-%{version}
31 31
 %build
32
-./configure \
33
-    --prefix=%{_prefix} \
32
+%configure \
34 33
     --disable-static
35 34
 
36 35
 make %{?_smp_mflags}
... ...
@@ -88,5 +87,7 @@ fi
88 88
 %exclude %{_libdir}/libtddl.a
89 89
 
90 90
 %changelog
91
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 0.3.14-2
92
+-   Use standard configure macros
91 93
 *   Thu Mar 2 2017 Alexey Makhalov <amakhalov@vmware.com> 0.3.14-1
92 94
 -   Initial build. First version
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Utilities for managing the XFS filesystem
2 2
 Name:           xfsprogs
3 3
 Version:        4.10.0
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        GPL+ and LGPLv2+
6 6
 URL:            http://oss.sgi.com/projects/xfs/
7 7
 Group:          System Environment/Base
... ...
@@ -35,10 +35,13 @@ These are the additional language files of xfsprogs.
35 35
 %setup -q
36 36
 
37 37
 %build
38
+%configure \
39
+        --enable-readline=yes	\
40
+	--enable-blkid=yes
41
+
38 42
 make DEBUG=-DNDEBUG     \
39 43
      INSTALL_USER=root  \
40
-     INSTALL_GROUP=root \
41
-     LOCAL_CONFIGURE_OPTIONS="--enable-readline"
44
+     INSTALL_GROUP=root  %{?_smp_mflags}
42 45
 
43 46
 %install
44 47
 make DESTDIR=%{buildroot} PKG_DOC_DIR=%{_usr}/share/doc/%{name}-%{version} install
... ...
@@ -82,6 +85,8 @@ rm -rf %{buildroot}/*
82 82
 %defattr(-,root,root)
83 83
 
84 84
 %changelog
85
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 4.10.0-3
86
+-   Use standard configure macros
85 87
 *   Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.10.0-2
86 88
 -   Ensure non empty debuginfo
87 89
 *   Wed Apr 05 2017 Xiaolin Li <xiaolinl@vmware.com> 4.10.0-1
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:  	xinetd -- A better inetd.
2 2
 Name:		xinetd
3 3
 Version:	2.3.15
4
-Release:	7%{?dist}
4
+Release:	8%{?dist}
5 5
 License:	BSD
6 6
 Group:		System Environment/Daemons
7 7
 Vendor:     	VMware, Inc.
... ...
@@ -25,10 +25,10 @@ mechanism to protect against port scanners, among other things.
25 25
 %setup -q
26 26
 
27 27
 %build
28
-  ./configure \
28
+%configure \
29 29
 	--sbindir=%{buildroot}/%{_sbindir} 	\
30 30
 	--mandir=%{buildroot}/%{_datadir}/man 
31
-  make
31
+%make_build
32 32
 
33 33
 %install
34 34
 rm -rf %{buildroot}
... ...
@@ -68,12 +68,14 @@ rm -rf %{buildroot}
68 68
 %{_libdir}/systemd/system-preset/50-xinetd.preset
69 69
 
70 70
 %changelog
71
+*   Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 2.3.15-8
72
+-   Use standard configure macros
71 73
 *   Thu Jun 29 2017 Divya Thaluru <dthaluru@vmware.com>  2.3.15-7
72 74
 -   Disabled xinetd service by default
73 75
 *   Thu May 26 2016 Divya Thaluru <dthaluru@vmware.com>  2.3.15-6
74 76
 -   Fixed logic to restart the active services after upgrade 
75
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.3.15-5
76
--	GA - Bump release of all rpms
77
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.3.15-5
78
+-   GA - Bump release of all rpms
77 79
 *   Wed May 4 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.3.15-4
78 80
 -   Fix upgrade issues
79 81
 *   Thu Dec 10 2015 Xiaolin Li <xiaolinl@vmware.com>  2.3.15-3