Browse code

Update libpipeline to 1.5.0

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

Bo Gan authored on 2018/09/11 06:18:55
Showing 2 changed files
... ...
@@ -1,43 +1,59 @@
1 1
 Summary:	Library for manipulating pipelines
2 2
 Name:		libpipeline
3
-Version:	1.4.1
4
-Release:	2%{?dist}
3
+Version:	1.5.0
4
+Release:	1%{?dist}
5 5
 License:	GPLv3+
6 6
 URL:		http://libpipeline.nongnu.org
7 7
 Group:		Applications/System
8 8
 Vendor:		VMware, Inc.
9 9
 Distribution: 	Photon
10 10
 Source0:	http://download.savannah.gnu.org/releases/libpipeline/%{name}-%{version}.tar.gz
11
-%define sha1 libpipeline=b31cc955f22b1aa4545dc8d00ddbde831936594f
11
+%define sha1 libpipeline=1c885e4d5551933c905e751048abb119593c53f4
12
+
12 13
 %description
13 14
 Contains a library for manipulating pipelines of sub processes
14 15
 in a flexible and convenient way.
16
+
17
+%package devel
18
+Summary:        Library providing headers and static libraries to libpipeline
19
+Group:          Development/Libraries
20
+Requires:       libpipeline = %{version}-%{release}
21
+Provides:       pkgconfig(libpipeline)
22
+
23
+%description devel
24
+Development files for libpipeline
25
+
15 26
 %prep
16 27
 %setup -q
17
-sed -i -e '/gets is a/d' gnulib/lib/stdio.in.h
18 28
 %build
19
-PKG_CONFIG_PATH=/tools/lib/pkgconfig \
20
-	./configure \
21
-	--prefix=%{_prefix} \
22
-	--disable-silent-rules
29
+%configure
30
+
23 31
 make %{?_smp_mflags}
24 32
 %install
25 33
 make DESTDIR=%{buildroot} install
26
-find %{buildroot}/%{_libdir} -name '*.la' -delete
34
+#find %{buildroot}/%{_libdir} -name '*.la' -delete
27 35
 
28 36
 %check
29 37
 make -C tests check
30 38
 
31 39
 %post	-p /sbin/ldconfig
32 40
 %postun	-p /sbin/ldconfig
41
+
33 42
 %files
34 43
 %defattr(-,root,root)
44
+%{_libdir}/*.so.*
45
+
46
+%files devel
35 47
 %{_includedir}/*
36 48
 %{_libdir}/*.so
37
-%{_libdir}/*.so.*
38
-%{_libdir}/pkgconfig/libpipeline.pc
39
-%{_mandir}/*/*
49
+%{_libdir}/*.la
50
+%{_libdir}/pkgconfig/*
51
+%{_mandir}/man3/*
52
+
40 53
 %changelog
54
+*       Mon Sep 10 2018 Bo Gan <ganb@vmware.com> 1.5.0-1
55
+-       Update to 1.5.0
56
+-       Split development files to devel package
41 57
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.4.1-2
42 58
 -	GA - Bump release of all rpms
43 59
 *       Wed Feb 24 2016 Kumar Kaushik <kaushikk@vmware.com> 1.4.1-1
... ...
@@ -18,7 +18,7 @@ Requires(postun):/usr/sbin/userdel /usr/sbin/groupdel
18 18
 %if %{with_check}
19 19
 BuildRequires:  shadow
20 20
 %endif
21
-BuildRequires:  libpipeline
21
+BuildRequires:  libpipeline-devel
22 22
 BuildRequires:  gdbm-devel
23 23
 BuildRequires:  xz
24 24
 BuildRequires:  groff