Skip to content

Commit

Permalink
Update libpipeline to 1.5.0
Browse files Browse the repository at this point in the history
Change-Id: Id3755c53eabe23eea76ec65f35bf024e5945ba76
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5635
Tested-by: gerrit-photon <[email protected]>
Reviewed-by: Sharath George
  • Loading branch information
ganboing authored and Sharath George committed Sep 12, 2018
1 parent 9ad0d5b commit a0737f2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 13 deletions.
40 changes: 28 additions & 12 deletions SPECS/libpipeline/libpipeline.spec
Original file line number Diff line number Diff line change
@@ -1,43 +1,59 @@
Summary: Library for manipulating pipelines
Name: libpipeline
Version: 1.4.1
Release: 2%{?dist}
Version: 1.5.0
Release: 1%{?dist}
License: GPLv3+
URL: http://libpipeline.nongnu.org
Group: Applications/System
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://download.savannah.gnu.org/releases/libpipeline/%{name}-%{version}.tar.gz
%define sha1 libpipeline=b31cc955f22b1aa4545dc8d00ddbde831936594f
%define sha1 libpipeline=1c885e4d5551933c905e751048abb119593c53f4

%description
Contains a library for manipulating pipelines of sub processes
in a flexible and convenient way.

%package devel
Summary: Library providing headers and static libraries to libpipeline
Group: Development/Libraries
Requires: libpipeline = %{version}-%{release}
Provides: pkgconfig(libpipeline)

%description devel
Development files for libpipeline

%prep
%setup -q
sed -i -e '/gets is a/d' gnulib/lib/stdio.in.h
%build
PKG_CONFIG_PATH=/tools/lib/pkgconfig \
./configure \
--prefix=%{_prefix} \
--disable-silent-rules
%configure

make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
find %{buildroot}/%{_libdir} -name '*.la' -delete
#find %{buildroot}/%{_libdir} -name '*.la' -delete

%check
make -C tests check

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_libdir}/*.so.*

%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.so.*
%{_libdir}/pkgconfig/libpipeline.pc
%{_mandir}/*/*
%{_libdir}/*.la
%{_libdir}/pkgconfig/*
%{_mandir}/man3/*

%changelog
* Mon Sep 10 2018 Bo Gan <[email protected]> 1.5.0-1
- Update to 1.5.0
- Split development files to devel package
* Tue May 24 2016 Priyesh Padmavilasom <[email protected]> 1.4.1-2
- GA - Bump release of all rpms
* Wed Feb 24 2016 Kumar Kaushik <[email protected]> 1.4.1-1
Expand Down
2 changes: 1 addition & 1 deletion SPECS/man-db/man-db.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Requires(postun):/usr/sbin/userdel /usr/sbin/groupdel
%if %{with_check}
BuildRequires: shadow
%endif
BuildRequires: libpipeline
BuildRequires: libpipeline-devel
BuildRequires: gdbm-devel
BuildRequires: xz
BuildRequires: groff
Expand Down

0 comments on commit a0737f2

Please sign in to comment.