Change-Id: If8dfd264a8b826de02fec86ebf485cbbb701f3ea
Reviewed-on: http://photon-jenkins.eng.vmware.com/53
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Sharath George
... | ... |
@@ -13,7 +13,7 @@ BuildArchitectures: x86_64 |
13 | 13 |
Requires: bash |
14 | 14 |
Requires: libcap |
15 | 15 |
BuildRequires: cmake |
16 |
-BuildRequires: libcap |
|
16 |
+BuildRequires: libcap-devel |
|
17 | 17 |
BuildRequires: bzip2-devel |
18 | 18 |
%description |
19 | 19 |
The Cdrtools package contains CD recording utilities. These are useful for reading, creating or writing (burning) Compact Discs. |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: A utility for generating programs that recognize patterns in text |
2 | 2 |
Name: flex |
3 | 3 |
Version: 2.5.38 |
4 |
-Release: 2%{?dist} |
|
4 |
+Release: 3%{?dist} |
|
5 | 5 |
License: BSD |
6 | 6 |
URL: http://flex.sourceforge.net |
7 | 7 |
Group: Applications/System |
... | ... |
@@ -14,6 +14,16 @@ Requires: m4 |
14 | 14 |
%description |
15 | 15 |
The Flex package contains a utility for generating programs |
16 | 16 |
that recognize patterns in text. |
17 |
+ |
|
18 |
+%package devel |
|
19 |
+Summary: Development libraries and header files for the flex library |
|
20 |
+Group: Development/Libraries |
|
21 |
+Requires: %{name} = %{version}-%{release} |
|
22 |
+ |
|
23 |
+%description devel |
|
24 |
+The flex-devel package contains the development libraries and header files for |
|
25 |
+flex. |
|
26 |
+ |
|
17 | 27 |
%prep |
18 | 28 |
%setup -q |
19 | 29 |
sed -i -e '/test-bison/d' tests/Makefile.in |
... | ... |
@@ -46,12 +56,18 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck} |
46 | 46 |
%{_bindir}/flex++ |
47 | 47 |
%attr(755,root,root) %{_bindir}/lex |
48 | 48 |
%{_libdir}/*.so.* |
49 |
+%{_defaultdocdir}/%{name}-%{version}/* |
|
50 |
+%{_mandir}/*/* |
|
51 |
+ |
|
52 |
+%files devel |
|
53 |
+%defattr(-,root,root) |
|
49 | 54 |
%{_libdir}/*.so |
50 | 55 |
%{_libdir}/*.a |
51 | 56 |
%{_includedir}/* |
52 |
-%{_defaultdocdir}/%{name}-%{version}/* |
|
53 |
-%{_mandir}/*/* |
|
57 |
+ |
|
54 | 58 |
%changelog |
59 |
+* Mon Oct 12 2015 Xiaolin Li <xiaolinl@vmware.com> 2.5.38-3 |
|
60 |
+- Moving static lib files to devel package. |
|
55 | 61 |
* Fri Jun 5 2015 Divya Thaluru <dthaluru@vmware.com> 2.5.38-2 |
56 | 62 |
- Adding m4 package to build and run time required package |
57 | 63 |
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 2.5.38-1 |
... | ... |
@@ -3,7 +3,7 @@ |
3 | 3 |
Name: gobject-introspection |
4 | 4 |
Summary: Introspection system for GObject-based libraries |
5 | 5 |
Version: 1.43.3 |
6 |
-Release: 3%{?dist} |
|
6 |
+Release: 4%{?dist} |
|
7 | 7 |
Group: Development/Libraries |
8 | 8 |
License: GPLv2+, LGPLv2+, MIT |
9 | 9 |
URL: http://live.gnome.org/GObjectIntrospection |
... | ... |
@@ -76,7 +76,7 @@ find %{buildroot}%{_libdir} -name '*.la' -delete |
76 | 76 |
%files |
77 | 77 |
%defattr(-,root,root,-) |
78 | 78 |
%doc COPYING |
79 |
-%{_libdir}/lib* |
|
79 |
+%{_libdir}/lib*.so.* |
|
80 | 80 |
%dir %{_libdir}/girepository-1.0 |
81 | 81 |
%{_libdir}/girepository-1.0/*.typelib |
82 | 82 |
|
... | ... |
@@ -87,6 +87,7 @@ find %{buildroot}%{_libdir} -name '*.la' -delete |
87 | 87 |
%files devel |
88 | 88 |
%defattr(-,root,root,-) |
89 | 89 |
%{_libdir}/lib*.so |
90 |
+%{_libdir}/lib*.a |
|
90 | 91 |
%{_libdir}/pkgconfig/* |
91 | 92 |
%{_includedir}/* |
92 | 93 |
%{_bindir}/g-ir-* |
... | ... |
@@ -96,6 +97,8 @@ find %{buildroot}%{_libdir} -name '*.la' -delete |
96 | 96 |
%doc %{_mandir}/man1/*.gz |
97 | 97 |
|
98 | 98 |
%changelog |
99 |
+* Mon Oct 12 2015 Xiaolin Li <xiaolinl@vmware.com> 1.43.3-4 |
|
100 |
+- Moving static lib files to devel package. |
|
99 | 101 |
* Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 1.43.3-3 |
100 | 102 |
- Removing la files from packages. |
101 | 103 |
* Mon Jul 6 2015 Alexey Makhalov <amakhalov@vmware.com> 1.43.3-2 |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: Multi-format archive and compression library |
2 | 2 |
Name: libarchive |
3 | 3 |
Version: 3.1.2 |
4 |
-Release: 4%{?dist} |
|
4 |
+Release: 5%{?dist} |
|
5 | 5 |
License: BSD 2-Clause License |
6 | 6 |
URL: http://www.libarchive.org/ |
7 | 7 |
Group: System Environment/Development |
... | ... |
@@ -42,15 +42,20 @@ find %{buildroot}%{_libdir} -name '*.la' -delete |
42 | 42 |
|
43 | 43 |
%files |
44 | 44 |
%defattr(-,root,root) |
45 |
-%{_libdir} |
|
45 |
+%{_libdir}/*.so.* |
|
46 | 46 |
%{_bindir} |
47 | 47 |
%exclude %{_libdir}/debug/ |
48 | 48 |
%files devel |
49 | 49 |
%defattr(-,root,root) |
50 | 50 |
%{_includedir} |
51 | 51 |
%{_mandir} |
52 |
+%{_libdir}/*.so |
|
53 |
+%{_libdir}/*.a |
|
54 |
+%{_libdir}/pkgconfig/*.pc |
|
52 | 55 |
|
53 | 56 |
%changelog |
57 |
+* Mon Oct 12 2015 Xiaolin Li <xiaolinl@vmware.com> 3.1.2-5 |
|
58 |
+- Moving static lib files to devel package. |
|
54 | 59 |
* Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 3.1.2-4 |
55 | 60 |
- Removing la files from packages. |
56 | 61 |
* Fri Aug 14 2015 Alexey Makhalov <amakhalov@vmware.com> 3.1.2-3 |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: Libcap-2.24 |
2 | 2 |
Name: libcap |
3 | 3 |
Version: 2.24 |
4 |
-Release: 1%{?dist} |
|
4 |
+Release: 2%{?dist} |
|
5 | 5 |
License: GPLv2+ |
6 | 6 |
URL: https://www.gnu.org/software/hurd/community/gsoc/project_ideas/libcap.html |
7 | 7 |
Source0: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/%{name}-%{version}.tar.xz |
... | ... |
@@ -15,6 +15,16 @@ BuildRequires: attr |
15 | 15 |
The libcap package implements the user-space interfaces to the POSIX 1003.1e capabilities available |
16 | 16 |
in Linux kernels. These capabilities are a partitioning of the all powerful root privilege |
17 | 17 |
into a set of distinct privileges. |
18 |
+ |
|
19 |
+%package devel |
|
20 |
+Summary: Development files for libcap |
|
21 |
+Group: Development/Libraries |
|
22 |
+Requires: %{name} = %{version}-%{release} |
|
23 |
+ |
|
24 |
+%description devel |
|
25 |
+The libcap-devel package contains libraries, header files and documentation |
|
26 |
+for developing applications that use libcap. |
|
27 |
+ |
|
18 | 28 |
%prep |
19 | 29 |
%setup -q |
20 | 30 |
%build |
... | ... |
@@ -27,11 +37,20 @@ chmod -v 755 %{buildroot}/usr/lib64/libcap.so |
27 | 27 |
make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck} |
28 | 28 |
%files |
29 | 29 |
%defattr(-,root,root) |
30 |
-%{_lib64dir}/* |
|
31 |
-%{_includedir}/* |
|
30 |
+%{_lib64dir}/libcap.so.* |
|
32 | 31 |
%{_mandir}/man1/* |
33 | 32 |
%{_mandir}/man3/* |
34 | 33 |
%{_mandir}/man8/* |
34 |
+ |
|
35 |
+%files devel |
|
36 |
+%defattr(-,root,root) |
|
37 |
+%{_includedir}/* |
|
38 |
+%{_lib64dir}/libcap.a |
|
39 |
+%{_lib64dir}/pkgconfig/* |
|
40 |
+%{_lib64dir}/libcap.so |
|
41 |
+ |
|
35 | 42 |
%changelog |
43 |
+* Mon Oct 12 2015 Xiaolin Li <xiaolinl@vmware.com> 2.24-2 |
|
44 |
+- Moving static lib files to devel package. |
|
36 | 45 |
* Thu Oct 23 2014 Divya Thaluru <dthaluru@vmware.com> 2.24-1 |
37 | 46 |
- Initial version |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: libsoup HTTP client/server library |
2 | 2 |
Name: libsoup |
3 | 3 |
Version: 2.50.0 |
4 |
-Release: 4%{?dist} |
|
4 |
+Release: 5%{?dist} |
|
5 | 5 |
License: GPLv2 |
6 | 6 |
URL: http://wiki.gnome.org/LibSoup |
7 | 7 |
Group: System Environment/Development |
... | ... |
@@ -68,11 +68,14 @@ find %{buildroot}%{_libdir} -name '*.la' -delete |
68 | 68 |
|
69 | 69 |
%files |
70 | 70 |
%defattr(-,root,root) |
71 |
-%{_libdir} |
|
71 |
+%{_libdir}/*.so.* |
|
72 | 72 |
%exclude %{_libdir}/debug |
73 | 73 |
|
74 | 74 |
%files devel |
75 | 75 |
/usr/include/* |
76 |
+%{_libdir}/*.so |
|
77 |
+%{_libdir}/*.a |
|
78 |
+%{_libdir}/pkgconfig/* |
|
76 | 79 |
|
77 | 80 |
%files doc |
78 | 81 |
/usr/share/* |
... | ... |
@@ -81,6 +84,8 @@ find %{buildroot}%{_libdir} -name '*.la' -delete |
81 | 81 |
%defattr(-,root,root) |
82 | 82 |
|
83 | 83 |
%changelog |
84 |
+* Mon Oct 12 2015 Xiaolin Li <xiaolinl@vmware.com> 2.50.0-5 |
|
85 |
+- Moving static lib files to devel package. |
|
84 | 86 |
* Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 2.50.0-4 |
85 | 87 |
- Removing la files from packages. |
86 | 88 |
* Mon Jul 20 2015 Divya Thaluru <dthaluru@vmware.com> 2.50.0-3 |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: ASN.1 library |
2 | 2 |
Name: libtasn1 |
3 | 3 |
Version: 4.5 |
4 |
-Release: 2%{?dist} |
|
4 |
+Release: 3%{?dist} |
|
5 | 5 |
License: GPLv3+ and LGPLv2+ |
6 | 6 |
URL: http://www.gnu.org/software/libtasn1/ |
7 | 7 |
Source0: http://ftp.gnu.org/gnu/libtasn1/%{name}-%{version}.tar.gz |
... | ... |
@@ -39,7 +39,6 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck} |
39 | 39 |
%files |
40 | 40 |
%defattr(-,root,root) |
41 | 41 |
%{_libdir}/*.so.* |
42 |
-%{_libdir}/*.a |
|
43 | 42 |
%{_bindir}/* |
44 | 43 |
%{_mandir}/man1/* |
45 | 44 |
%{_mandir}/man3/* |
... | ... |
@@ -48,7 +47,10 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck} |
48 | 48 |
%{_includedir}/*.h |
49 | 49 |
%{_libdir}/*.so |
50 | 50 |
%{_libdir}/pkgconfig/*.pc |
51 |
+%{_libdir}/*.a |
|
51 | 52 |
%changelog |
53 |
+* Mon Oct 12 2015 Xiaolin Li <xiaolinl@vmware.com> 4.5-3 |
|
54 |
+- Moving static lib files to devel package. |
|
52 | 55 |
* Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 4.5-2 |
53 | 56 |
- Removing la files from packages. |
54 | 57 |
* Fri Jun 19 2015 Divya Thaluru <dthaluru@vmware.com> 4.5-1 |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: Low level cryptographic libraries |
2 | 2 |
Name: nettle |
3 | 3 |
Version: 3.1.1 |
4 |
-Release: 1%{?dist} |
|
4 |
+Release: 2%{?dist} |
|
5 | 5 |
License: LGPLv3+ or GPLv2+ |
6 | 6 |
URL: http://www.lysator.liu.se/~nisse/nettle/ |
7 | 7 |
Source0: https://ftp.gnu.org/gnu/nettle/%{name}-%{version}.tar.gz |
... | ... |
@@ -49,13 +49,15 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck} |
49 | 49 |
%defattr(-,root,root) |
50 | 50 |
%{_libdir}/*.so.* |
51 | 51 |
%{_bindir}/* |
52 |
-%{_libdir}/*.a |
|
53 | 52 |
%files devel |
54 | 53 |
%defattr(-,root,root) |
55 | 54 |
%{_includedir}/nettle/*.h |
56 | 55 |
%{_libdir}/*.so |
57 | 56 |
%{_libdir}/pkgconfig/*.pc |
57 |
+%{_libdir}/*.a |
|
58 | 58 |
%changelog |
59 |
+* Mon Oct 12 2015 Xiaolin Li <xiaolinl@vmware.com> 3.1.1-2 |
|
60 |
+- Moving static lib files to devel package. |
|
59 | 61 |
* Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 3.1.1-1 |
60 | 62 |
- Initial build. First version |
61 | 63 |
|
... | ... |
@@ -13,7 +13,7 @@ Source1: http://www.linuxfromscratch.org/blfs/downloads/svn/blfs-bootscripts-201 |
13 | 13 |
%define sha1 blfs-bootscripts=762b68f79f84463a6b1dabb69e9dbdc2c43f32d8 |
14 | 14 |
Requires: libcap >= 2.24 |
15 | 15 |
BuildRequires: which |
16 |
-BuildRequires: libcap |
|
16 |
+BuildRequires: libcap-devel |
|
17 | 17 |
Requires: shadow |
18 | 18 |
|
19 | 19 |
%description |
... | ... |
@@ -35,7 +35,7 @@ BuildRequires: gobject-introspection |
35 | 35 |
BuildRequires: gobject-introspection-devel |
36 | 36 |
BuildRequires: gobject-introspection-python |
37 | 37 |
BuildRequires: gpgme-devel |
38 |
-BuildRequires: libcap |
|
38 |
+BuildRequires: libcap-devel |
|
39 | 39 |
BuildRequires: libsoup |
40 | 40 |
BuildRequires: libsoup-devel |
41 | 41 |
BuildRequires: mkinitcpio |
... | ... |
@@ -9,7 +9,7 @@ Vendor: VMware, Inc. |
9 | 9 |
Distribution: Photon |
10 | 10 |
Source0: https://security.appspot.com/downloads/%{name}-%{version}.tar.gz |
11 | 11 |
%define sha1 vsftpd=f36976bb1c5df25ac236d8a29e965ba2b825ccd0 |
12 |
-BuildRequires: libcap Linux-PAM openssl-devel |
|
12 |
+BuildRequires: libcap-devel Linux-PAM openssl-devel |
|
13 | 13 |
Requires: libcap Linux-PAM openssl |
14 | 14 |
%description |
15 | 15 |
Very secure and very small FTP daemon. |
... | ... |
@@ -93,6 +93,10 @@ class ToolChainUtils(object): |
93 | 93 |
if package == "util-linux-devel": |
94 | 94 |
self.logger.info("No old verion of util-linux-devel exists, skip until the new version is built") |
95 | 95 |
continue |
96 |
+ if package == "flex-devel": |
|
97 |
+ self.logger.info("No old verion of flex-devel exists, skip until the new version is built") |
|
98 |
+ continue |
|
99 |
+ |
|
96 | 100 |
self.logger.error("Unable to find rpm "+ package +" in current and previous versions") |
97 | 101 |
raise Exception("Input Error") |
98 | 102 |
rpmFiles += " " + rpmFile |
... | ... |
@@ -204,6 +208,9 @@ class ToolChainUtils(object): |
204 | 204 |
if package == "util-linux-devel": |
205 | 205 |
self.logger.info("No old verion of util-linux-devel exists, skip until the new version is built") |
206 | 206 |
continue |
207 |
+ if package == "flex-devel": |
|
208 |
+ self.logger.info("No old verion of flex-devel exists, skip until the new version is built") |
|
209 |
+ continue |
|
207 | 210 |
self.logger.error("Unable to find rpm "+ package +" in current and previous versions") |
208 | 211 |
raise Exception("Input Error") |
209 | 212 |
rpmFiles += " " + rpmFile |
... | ... |
@@ -19,7 +19,7 @@ class constants(object): |
19 | 19 |
listToolChainPackages=["linux-api-headers", "glibc","zlib", "file", |
20 | 20 |
"binutils","gmp","mpfr", "mpc","gcc", "pkg-config", "ncurses", "bash", "bzip2", "sed","procps-ng","coreutils", "m4","grep", |
21 | 21 |
"readline", "diffutils","gawk", "findutils", "gettext", "gzip","make", "patch","util-linux", "util-linux-devel", |
22 |
- "tar", "xz","libtool", "flex", "bison", "lua","popt","nspr","sqlite-autoconf","nss", |
|
22 |
+ "tar", "xz","libtool", "flex", "flex-devel","bison", "lua","popt","nspr","sqlite-autoconf","nss", |
|
23 | 23 |
"elfutils", "expat","libffi","libpipeline", "gdbm","perl","texinfo","autoconf","automake", |
24 | 24 |
"openssl","python2","rpm", "groff", "man-db", "man-pages","cpio"] |
25 | 25 |
|
... | ... |
@@ -33,7 +33,7 @@ class constants(object): |
33 | 33 |
"libgcc","libgcc-devel","libstdc++","libstdc++-devel","libgomp","libgomp-devel","gcc", |
34 | 34 |
"pkg-config", "ncurses", "bash", "bzip2", "sed","procps-ng","coreutils", "m4","grep", |
35 | 35 |
"readline","diffutils","gawk", "findutils", "gettext", "gzip","make", "patch", |
36 |
- "util-linux", "util-linux-devel", "tar", "xz","libtool", "flex", "bison", |
|
36 |
+ "util-linux", "util-linux-devel", "tar", "xz","libtool", "flex", "flex-devel", "bison", |
|
37 | 37 |
"lua","popt","nspr","sqlite-autoconf","nss","elfutils-libelf", |
38 | 38 |
"libpipeline", "gdbm","perl","texinfo","rpm","rpm-build", "rpm-devel", |
39 | 39 |
"autoconf","automake", "groff", "man-db", "man-pages","elfutils","cpio"] |
... | ... |
@@ -43,7 +43,7 @@ class constants(object): |
43 | 43 |
"libgcc","libgcc-devel","libstdc++","libstdc++-devel","libgomp","libgomp-devel","gcc", |
44 | 44 |
"pkg-config", "ncurses", "bash", "bzip2", "sed","ncurses-devel","procps-ng","coreutils", "m4","grep", |
45 | 45 |
"readline", "diffutils","gawk", "findutils", "gettext", "gzip","make", "patch", |
46 |
- "util-linux", "util-linux-devel", "tar", "xz","libtool", "flex", "bison", |
|
46 |
+ "util-linux", "util-linux-devel", "tar", "xz","libtool", "flex", "flex-devel","bison", |
|
47 | 47 |
"readline-devel", "lua","lua-devel","popt","popt-devel","nspr","sqlite-autoconf","nss","nss-devel", |
48 | 48 |
"bzip2-devel","elfutils-libelf","elfutils","elfutils-libelf-devel","elfutils-devel", |
49 | 49 |
"expat","libffi","libpipeline", "gdbm","perl","texinfo","autoconf","automake", |