Browse code

Remove la files from ostree host installation.

Change-Id: I114cc6a1845298da98314bddefc1572cb44f96d3
Reviewed-on: http://photon-jenkins.eng.vmware.com/51
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Sharath George

xiaolin-vmware authored on 2015/10/10 07:13:24
Showing 6 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	The GnuTLS Transport Layer Security Library
2 2
 Name:		gnutls
3 3
 Version:	3.4.2
4
-Release:	1%{?dist}
4
+Release:	2%{?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
... ...
@@ -44,6 +44,8 @@ make %{?_smp_mflags}
44 44
 %install
45 45
 make DESTDIR=%{buildroot} install
46 46
 rm %{buildroot}%{_infodir}/*
47
+find %{buildroot}%{_libdir} -name '*.la' -delete
48
+
47 49
 %check
48 50
 make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
49 51
 %post	-p /sbin/ldconfig
... ...
@@ -51,7 +53,6 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
51 51
 %files
52 52
 %defattr(-,root,root)
53 53
 %{_libdir}/*.so.*
54
-%{_libdir}/*.la
55 54
 %{_bindir}/*
56 55
 %{_mandir}/man1/*
57 56
 %{_mandir}/man3/*
... ...
@@ -62,6 +63,8 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
62 62
 %{_libdir}/*.so
63 63
 %{_libdir}/pkgconfig/*.pc
64 64
 %changelog
65
+*   Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 3.4.2-2
66
+-   Removing la files from packages.
65 67
 *	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 3.4.2-1
66 68
 -	Initial build. First version
67 69
 
... ...
@@ -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:    	2%{?dist}
6
+Release:    	3%{?dist}
7 7
 Group:      	Development/Libraries
8 8
 License:    	GPLv2+, LGPLv2+, MIT
9 9
 URL:        	http://live.gnome.org/GObjectIntrospection
... ...
@@ -66,6 +66,7 @@ mkdir -p $RPM_BUILD_ROOT/%{python_sitelib}
66 66
 mv $RPM_BUILD_ROOT/%{_libdir}/gobject-introspection/giscanner $RPM_BUILD_ROOT/%{python_sitelib}
67 67
 
68 68
 rm -rf $RPM_BUILD_ROOT/%{_datarootdir}/gtk-doc/html
69
+find %{buildroot}%{_libdir} -name '*.la' -delete
69 70
 
70 71
 %post -p /sbin/ldconfig
71 72
 
... ...
@@ -95,5 +96,7 @@ rm -rf $RPM_BUILD_ROOT/%{_datarootdir}/gtk-doc/html
95 95
 %doc %{_mandir}/man1/*.gz
96 96
 
97 97
 %changelog
98
+*   Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 1.43.3-3
99
+-   Removing la files from packages.
98 100
 *	Mon Jul 6 2015 Alexey Makhalov <amakhalov@vmware.com> 1.43.3-2
99 101
 -	Added more requirements for devel subpackage.
... ...
@@ -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:    3%{?dist}
4
+Release:    4%{?dist}
5 5
 License:    BSD 2-Clause License
6 6
 URL:        http://www.libarchive.org/
7 7
 Group:      System Environment/Development
... ...
@@ -35,6 +35,7 @@ make %{?_smp_mflags}
35 35
 %install
36 36
 rm -rf %{buildroot}%{_infodir}
37 37
 make DESTDIR=%{buildroot} install
38
+find %{buildroot}%{_libdir} -name '*.la' -delete
38 39
 
39 40
 %post   -p /sbin/ldconfig
40 41
 %postun -p /sbin/ldconfig
... ...
@@ -50,6 +51,8 @@ make DESTDIR=%{buildroot} install
50 50
 %{_mandir}
51 51
 
52 52
 %changelog
53
+*   Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 3.1.2-4
54
+-   Removing la files from packages.
53 55
 *   Fri Aug 14 2015 Alexey Makhalov <amakhalov@vmware.com> 3.1.2-3
54 56
 -   Adding patches for security fixes CVE-2013-2011 and CVE-2015-2304.
55 57
 *   Wed Jul 8 2015 Alexey Makhalov <amakhalov@vmware.com> 3.1.2-2
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:    libsoup HTTP client/server library
2 2
 Name:       libsoup
3 3
 Version:    2.50.0
4
-Release:    3%{?dist}
4
+Release:    4%{?dist}
5 5
 License:    GPLv2
6 6
 URL:        http://wiki.gnome.org/LibSoup
7 7
 Group:      System Environment/Development
... ...
@@ -61,6 +61,7 @@ make %{?_smp_mflags}
61 61
 rm -rf %{buildroot}%{_infodir}
62 62
 make DESTDIR=%{buildroot} install
63 63
 %find_lang %{name}
64
+find %{buildroot}%{_libdir} -name '*.la' -delete
64 65
 
65 66
 %post   -p /sbin/ldconfig
66 67
 %postun -p /sbin/ldconfig
... ...
@@ -80,6 +81,8 @@ make DESTDIR=%{buildroot} install
80 80
 %defattr(-,root,root)
81 81
 
82 82
 %changelog
83
+*   Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 2.50.0-4
84
+-   Removing la files from packages.
83 85
 *   Mon Jul 20 2015 Divya Thaluru <dthaluru@vmware.com> 2.50.0-3
84 86
 -   Addinf libxml2 to Requires 
85 87
 *   Mon Jul 13 2015 Alexey Makhalov <amakhalov@vmware.com> 2.50.0-2
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	ASN.1 library
2 2
 Name:		libtasn1
3 3
 Version:	4.5
4
-Release:	1%{?dist}
4
+Release:	2%{?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
... ...
@@ -31,6 +31,7 @@ make %{?_smp_mflags}
31 31
 %install
32 32
 make DESTDIR=%{buildroot} install
33 33
 rm %{buildroot}%{_infodir}/*
34
+find %{buildroot}%{_libdir} -name '*.la' -delete
34 35
 %check
35 36
 make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
36 37
 %post	-p /sbin/ldconfig
... ...
@@ -39,7 +40,6 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
39 39
 %defattr(-,root,root)
40 40
 %{_libdir}/*.so.*
41 41
 %{_libdir}/*.a
42
-%{_libdir}/*.la
43 42
 %{_bindir}/*
44 43
 %{_mandir}/man1/*
45 44
 %{_mandir}/man3/*
... ...
@@ -49,6 +49,8 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
49 49
 %{_libdir}/*.so
50 50
 %{_libdir}/pkgconfig/*.pc
51 51
 %changelog
52
+*   Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 4.5-2
53
+-   Removing la files from packages.
52 54
 *	Fri Jun 19 2015 Divya Thaluru <dthaluru@vmware.com> 4.5-1
53 55
 -	Initial build. First version
54 56
 
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Systemd-216
2 2
 Name:		systemd
3 3
 Version:	216
4
-Release:	11%{?dist}
4
+Release:	12%{?dist}
5 5
 License:	LGPLv2+ and GPLv2+ and MIT
6 6
 URL:		http://www.freedesktop.org/wiki/Software/systemd/
7 7
 Group:		System Environment/Security
... ...
@@ -76,7 +76,7 @@ mkdir -p %{buildroot}%{_localstatedir}/log/journal
76 76
 
77 77
 #cp %{buildroot}/usr/share/factory/etc/pam.d/system-auth %{buildroot}%{_sysconfdir}/pam.d/system-auth
78 78
 #cp %{buildroot}/usr/share/factory/etc/pam.d/other %{buildroot}%{_sysconfdir}/pam.d/other
79
-
79
+find %{buildroot}%{_libdir} -name '*.la' -delete
80 80
 %post	-p /sbin/ldconfig
81 81
 %postun	
82 82
 /sbin/ldconfig
... ...
@@ -97,6 +97,8 @@ rm -rf %{buildroot}/*
97 97
 
98 98
 
99 99
 %changelog
100
+*     Fri Oct 9 2015 Xiaolin Li <xiaolinl@vmware.com> 216-12
101
+-     Removing la files from packages.
100 102
 *	Fri Sep 18 2015 Divya Thaluru <dthaluru@vmware.com> 216-11
101 103
 -	Packaging journal log directory
102 104
 *	Tue Sep 10 2015 Alexey Makhalov <amakhalov@vmware.com> 216-10