From e452b79c9d3e587000b442ec2d9c37d7774fa7ffb2b65f35ff434fddc2d5c8ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 30 Dec 2013 10:58:12 +0000 Subject: [PATCH] - Whitespace cleanup here&there. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmis-client?expand=0&rev=20 --- cmis-client.changes | 5 +++++ cmis-client.spec | 19 +++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/cmis-client.changes b/cmis-client.changes index 420a9bd..6e6d13c 100644 --- a/cmis-client.changes +++ b/cmis-client.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 30 10:58:01 UTC 2013 - tchvatal@suse.com + +- Whitespace cleanup here&there. + ------------------------------------------------------------------- Tue Nov 12 04:58:21 UTC 2013 - jengelh@inai.de diff --git a/cmis-client.spec b/cmis-client.spec index 2b262d4..3a0b769 100644 --- a/cmis-client.spec +++ b/cmis-client.spec @@ -19,13 +19,12 @@ %define soname 0_4-4 %define incname 0.4 %define _name libcmis - Name: cmis-client Version: 0.4.1 Release: 0 Summary: Sample CMIS client License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+ -Group: Development/Libraries/C and C++ +Group: Development/Libraries/C and C++ Url: http://sourceforge.net/projects/libcmis/ Source0: %{_name}-%{version}.tar.gz BuildRequires: boost-devel >= 1.42 @@ -37,8 +36,8 @@ BuildRequires: libcurl-devel BuildRequires: libxml2-devel BuildRequires: libxslt BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: %{_name}-%{soname} = %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Sample client to access CMIS-enabled repositories using libcmis. @@ -54,7 +53,7 @@ connect to any CMIS-enabled repositories. %package -n %{_name}-devel Summary: Libcmis development files -Group: Development/Libraries/C and C++ +Group: Development/Libraries/C and C++ Requires: %{_name}-%{soname} = %{version} %description -n %{_name}-devel @@ -71,7 +70,7 @@ It is only a wrapper for its C++ sister libcmis. %package -n %{_name}-c-devel Summary: Libcmis-c development files -Group: Development/Libraries/C and C++ +Group: Development/Libraries/C and C++ Requires: %{_name}-c-%{soname} = %{version} %description -n %{_name}-c-devel @@ -82,8 +81,8 @@ This allows C applications to connect to any CMIS-enabled repositories. It is on %setup -q -n %{_name}-%{version} %build -export CFLAGS="%optflags -D_GNU_SOURCE $(getconf LFS_CFLAGS)" -export CXXFLAGS="%optflags $(getconf LFS_CFLAGS)" +export CFLAGS="%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS)" +export CXXFLAGS="%{optflags} $(getconf LFS_CFLAGS)" %configure \ --disable-long-tests \ --disable-static \ @@ -91,11 +90,11 @@ export CXXFLAGS="%optflags $(getconf LFS_CFLAGS)" make %{?_smp_mflags} V=1 %install -make DESTDIR=$RPM_BUILD_ROOT install -find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print %check -make check +make check %{?_smp_mflags} %post -n %{_name}-%{soname} -p /sbin/ldconfig