Accepting request 181752 from home:coolo:branches:openSUSE:Factory
- disable _service services to be acceptable for factory. To update tar, run osc service dr OBS-URL: https://build.opensuse.org/request/show/181752 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=22
This commit is contained in:
parent
fae77086c1
commit
a6daabc3ab
6
_service
6
_service
@ -1,5 +1,5 @@
|
||||
<services>
|
||||
<service name="tar_scm">
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">git://github.com/ClusterLabs/libqb.git</param>
|
||||
<param name="package-meta">yes</param>
|
||||
@ -11,10 +11,10 @@
|
||||
<param name="revision">7c6e109046ec772a97a7fe2cdf61f84fc2155b7e</param>
|
||||
</service>
|
||||
|
||||
<service name="recompress">
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*libqb*.tar</param>
|
||||
<param name="compression">bz2</param>
|
||||
</service>
|
||||
|
||||
<service name="set_version"/>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9ad7ff8b182118fce5134e545ac60157fae8ebd753ea4b638836352c44e3d9c3
|
||||
size 4501031
|
@ -1,130 +0,0 @@
|
||||
#
|
||||
# spec file for package libqb
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: libqb
|
||||
Version: 0.14.4
|
||||
Release: 0
|
||||
Summary: An IPC library for high performance servers
|
||||
License: LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Url: http://www.libqb.org
|
||||
Source0: %{name}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: libtool
|
||||
BuildRequires: procps
|
||||
BuildRequires: pkgconfig
|
||||
# Need git so build-aux/git-version-gen can extract the version number and
|
||||
# commit hash during autogen run
|
||||
BuildRequires: git
|
||||
|
||||
%description
|
||||
libqb is a library with the primary purpose of providing high performance
|
||||
client server reusable features. It provides high performance logging,
|
||||
tracing, ipc, and poll.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Angus Salkeld <asalkeld@redhat.com>
|
||||
|
||||
%package -n libqb0
|
||||
Summary: An IPC library for high performance servers
|
||||
License: LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Provides: %{name} = %{version}
|
||||
|
||||
%description -n libqb0
|
||||
libqb is a library with the primary purpose of providing high performance
|
||||
client server reusable features. It provides high performance logging,
|
||||
tracing, ipc, and poll.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Angus Salkeld <asalkeld@redhat.com>
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
libqb is a library with the primary purpose of providing high performance
|
||||
client server reusable features. It provides high performance logging,
|
||||
tracing, ipc, and poll.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Angus Salkeld <asalkeld@redhat.com>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
# Tests require writable /dev/shm and /var/run
|
||||
# TODO: This test might not be quite right -- it seems to fail on OBS,
|
||||
# but OBS is capable of doing "make check" successfully, whereas
|
||||
# "osc build" in a chroot fails.
|
||||
if [ -w /dev/shm -a -w /var/run ] ; then
|
||||
make check
|
||||
fi
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
rm -rf %{buildroot}%{_datadir}/doc
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -n libqb0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libqb0 -p /sbin/ldconfig
|
||||
|
||||
%files -n libqb0
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_sbindir}/qb-blackbox
|
||||
%{_libdir}/libqb.so.*
|
||||
%{_mandir}/man8/qb-blackbox.8.gz
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README.markdown
|
||||
%{_includedir}/qb/
|
||||
%{_libdir}/libqb.so
|
||||
%{_libdir}/pkgconfig/libqb.pc
|
||||
%{_mandir}/man3/qb*3*
|
||||
|
||||
%changelog
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 12:02:52 UTC 2013 - coolo@suse.com
|
||||
|
||||
- disable _service services to be acceptable for factory. To
|
||||
update tar, run osc service dr
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 10:39:34 UTC 2013 - ygao@suse.com
|
||||
|
||||
|
24
libqb.spec
24
libqb.spec
@ -34,20 +34,14 @@ BuildRequires: libtool
|
||||
BuildRequires: procps
|
||||
BuildRequires: pkgconfig
|
||||
# Need git so build-aux/git-version-gen can extract the version number and
|
||||
# commit hash during autogen run
|
||||
BuildRequires: git
|
||||
# commit hash during autogen run (not used currently)
|
||||
#BuildRequires: git
|
||||
|
||||
%description
|
||||
libqb is a library with the primary purpose of providing high performance
|
||||
client server reusable features. It provides high performance logging,
|
||||
tracing, ipc, and poll.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Angus Salkeld <asalkeld@redhat.com>
|
||||
|
||||
%package -n libqb0
|
||||
Summary: An IPC library for high performance servers
|
||||
License: LGPL-2.1+
|
||||
@ -59,12 +53,6 @@ libqb is a library with the primary purpose of providing high performance
|
||||
client server reusable features. It provides high performance logging,
|
||||
tracing, ipc, and poll.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Angus Salkeld <asalkeld@redhat.com>
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
License: LGPL-2.1+
|
||||
@ -77,17 +65,11 @@ libqb is a library with the primary purpose of providing high performance
|
||||
client server reusable features. It provides high performance logging,
|
||||
tracing, ipc, and poll.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Angus Salkeld <asalkeld@redhat.com>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
#./autogen.sh
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user