From 539bcf78b00e8bd83559500a7c6c02da5f79e6a05bea54ac7342020a02fa18a9 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Wed, 4 Mar 2015 18:32:43 +0000 Subject: [PATCH] Accepting request 288865 from home:pluskalm:branches:devel:libraries:c_c++ - Cleanup spec file with spec-cleaner - Add gpg signature - Enable tests - Use fdupes to remove duplicates - Update to 0.30.1 * small changes, for details see included ChangeLog OBS-URL: https://build.opensuse.org/request/show/288865 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/neon?expand=0&rev=37 --- neon-0.28.4-bloat.patch | 15 ++++----------- neon-0.30.0.tar.gz | 3 --- neon-0.30.1.tar.gz | 3 +++ neon-0.30.1.tar.gz.asc | 7 +++++++ neon.changes | 10 ++++++++++ neon.keyring | 36 ++++++++++++++++++++++++++++++++++++ neon.spec | 30 ++++++++++++++++-------------- 7 files changed, 76 insertions(+), 28 deletions(-) delete mode 100644 neon-0.30.0.tar.gz create mode 100644 neon-0.30.1.tar.gz create mode 100644 neon-0.30.1.tar.gz.asc create mode 100644 neon.keyring diff --git a/neon-0.28.4-bloat.patch b/neon-0.28.4-bloat.patch index 01db394..0a532a3 100644 --- a/neon-0.28.4-bloat.patch +++ b/neon-0.28.4-bloat.patch @@ -1,6 +1,8 @@ ---- neon-config.in +Index: neon-config.in +=================================================================== +--- neon-config.in.orig +++ neon-config.in -@@ -73,7 +73,7 @@ +@@ -73,7 +73,7 @@ while test $# -gt 0; do ;; --libs) @@ -9,12 +11,3 @@ # Don't add standard library paths if test "$prefix" != "/usr"; then LIBS="-L${libdir} ${LIBS}" ---- neon.pc.in -+++ neon.pc.in -@@ -7,5 +7,5 @@ - Description: HTTP/WebDAV client library - Version: @NEON_VERSION@ - Libs.private: @NEON_LIBS@ --Libs: -L${libdir} -lneon @NEON_PC_LIBS@ -+Libs: -L${libdir} -lneon - Cflags: -I${includedir}/neon @NEON_CFLAGS@ diff --git a/neon-0.30.0.tar.gz b/neon-0.30.0.tar.gz deleted file mode 100644 index bad3a69..0000000 --- a/neon-0.30.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2962cfcb5d30f3272e3d2fa0e473434419770a3801afe3d46e5d1650787990c2 -size 909989 diff --git a/neon-0.30.1.tar.gz b/neon-0.30.1.tar.gz new file mode 100644 index 0000000..08b33eb --- /dev/null +++ b/neon-0.30.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00c626c0dc18d094ab374dbd9a354915bfe4776433289386ed489c2ec0845cdd +size 911414 diff --git a/neon-0.30.1.tar.gz.asc b/neon-0.30.1.tar.gz.asc new file mode 100644 index 0000000..bfec179 --- /dev/null +++ b/neon-0.30.1.tar.gz.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iEYEABECAAYFAlQ7x7kACgkQR/aWnQ5Ezwy9FwCfdsjk7gYz5/A5DCPEWIb5cj/5 +kK4AniY5PvKp/ubAtS1pT9Y0ifygrQsn +=7pPa +-----END PGP SIGNATURE----- diff --git a/neon.changes b/neon.changes index 0d69b95..253b419 100644 --- a/neon.changes +++ b/neon.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Mar 4 12:50:17 UTC 2015 - mpluskal@suse.com + +- Cleanup spec file with spec-cleaner +- Add gpg signature +- Enable tests +- Use fdupes to remove duplicates +- Update to 0.30.1 + * small changes, for details see included ChangeLog + ------------------------------------------------------------------- Wed Aug 21 03:19:07 UTC 2013 - crrodriguez@opensuse.org diff --git a/neon.keyring b/neon.keyring new file mode 100644 index 0000000..85dba9d --- /dev/null +++ b/neon.keyring @@ -0,0 +1,36 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2 + +mQGiBDsvsLgRBACsHi7eM94mA9jlBxxwLC4ntK0Mj9WWm85V0C1y0Ei1MGz7q6Vu +WdxKgkNMauWrqKCBDQxOI3q5InZd/tZcOXQzGM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ugtJumGRApTAJ4liHEQvna0FOuzpUZ6kMT3sgIaBIhaBBMRAgAaBQsH +CgMEAxUDAgMWAgECF4AFAkiuk7QCGQEACgkQR/aWnQ5Ezwzi8wCgwocbZJ3MS9/I +Svmp6udPxrtJTtkAn36edAEjSVak0NKZGoa8aVN7q9vWtB5Kb2UgT3J0b24gPGpv +ZUBtYW55ZmlzaC5jby51az6IYAQTEQIAIAUCSK6TqAIbIwYLCQgHAwIEFQIIAwQW +AgMBAh4BAheAAAoJEEf2lp0ORM8M5FUAnApeuyOZR40r6PWlebdhtoCljgavAKCb +h8TUjJWFtxQrIyKb7PF82bMHxLkBDQQ7L7C6EAQA3lBouLYzyMT83ZtRUNgYmDZq +Nai1crElkuctL678IwQoEr4zGWTfwIb+vXkqf1VL2HJRXMTamrDfWo/Vy6ZiyB9I +RpXNcNXTdYmf6wXqPZqOCK9Q1mp/sWJGafHVbjDsWzGYTl9XiJUrMBPwPIlLj9SE +vNwG7QrhjbrsBKkTWwcAAwUD/RWNLmA2OGhkkau62AHi2i20+zmPGLH0AnyaIPJA +B6HaZCxUuOSNBIRsaZoOoizzvaF6Qtaa7KJw3SUviWTfyAv4Lob+bo0e9MdI2olI +vjg7VOi5wNPldVa4Cs4desqeXecJowP71gFV/NBdBPr2DLMXG3aOhtRZkG7aueoU +kuk+iEYEGBECAAYFAjsvsLoACgkQR/aWnQ5EzwyKgACcD+v7ABREHJd0RglLfFoA +uCcZ7FoAoNQYheE5UpBrTY6qK063clE3Gt2J +=jTLh +-----END PGP PUBLIC KEY BLOCK----- diff --git a/neon.spec b/neon.spec index 7b83d3b..db17cb1 100644 --- a/neon.spec +++ b/neon.spec @@ -1,7 +1,7 @@ # # spec file for package neon # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,11 +17,19 @@ Name: neon -Version: 0.30.0 +Version: 0.30.1 Release: 0 Summary: An HTTP and WebDAV Client Library License: GPL-2.0+ Group: Development/Libraries/Other +Url: http://www.webdav.org/neon +Source0: http://www.webdav.org/neon/neon-%{version}.tar.gz +Source1: http://www.webdav.org/neon/neon-%{version}.tar.gz.asc +Source2: %{name}.keyring +Source3: baselibs.conf +# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches +Patch0: %{name}-0.28.4-bloat.patch +BuildRequires: fdupes BuildRequires: krb5-devel BuildRequires: libexpat-devel BuildRequires: libopenssl-devel @@ -29,17 +37,11 @@ BuildRequires: libproxy-devel BuildRequires: libtool BuildRequires: pkg-config BuildRequires: zlib-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build # bug437293 %ifarch ppc64 Obsoletes: neon-64bit %endif -Url: http://www.webdav.org/neon -# -Source: http://www.webdav.org/neon/neon-%{version}.tar.gz -Source2: baselibs.conf -# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches -Patch0: %{name}-0.28.4-bloat.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description neon is an HTTP and WebDAV client library with a C interface. @@ -118,7 +120,6 @@ Obsoletes: neon-devel < %{version} %ifarch ppc64 Obsoletes: neon-devel-64bit %endif -# %description -n libneon-devel neon is an HTTP and WebDAV client library with a C interface. @@ -163,14 +164,15 @@ sh autogen.sh --disable-static \ --enable-warnings \ --with-pic -%{__make} %{?_smp_mflags} +make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} docdir=%{_defaultdocdir}/%{name} install install-man install-html -rm -f %{buildroot}%{_libdir}/*.la +make DESTDIR=%{buildroot} docdir=%{_defaultdocdir}/%{name} install install-man install-html %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print +%fdupes -s %{buildroot} %check -#make check +make check %post -n libneon27 -p /sbin/ldconfig