- Update to new upstream release 2.1.0

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmowgli2?expand=0&rev=16
This commit is contained in:
Jan Engelhardt 2016-05-03 11:40:45 +00:00 committed by Git OBS Bridge
parent 5d1381d2b5
commit e693a652ea
5 changed files with 17 additions and 34 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9fa1705ca85cbab29fe562673c8c7ece171a49ca16bee7bfbb4aad8cc7432152
size 181804

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue May 3 10:56:12 UTC 2016 - jengelh@inai.de
- Update to new upstream release 2.1.0
(prerequisite for Atheme 7.2.6)
* Fix IPv6 reverse DNS lookups (address to name conversion)
- Remove platform.patch (fixed upstream)
-------------------------------------------------------------------
Wed Jul 23 12:13:51 UTC 2014 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libmowgli2
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@ -21,19 +21,15 @@ Name: libmowgli2
Summary: A development framework for C (like GLib)
License: ISC
Group: Development/Libraries/C and C++
Version: 2.0.0.g185
Version: 2.1.0
Release: 0
Url: http://atheme.org/projects/libmowgli.html
#DL-URL: http://atheme.org/downloads/libmowgli-2.0.0.tar.gz
#Git-Clone: git://github.com/atheme/libmowgli-2
#Snapshot: libmowgli-2.0.0-185-g7790ffd
Source: libmowgli-%version.tar.xz
Patch1: platform.patch
Source: https://github.com/atheme/libmowgli-2/archive/v%version.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libopenssl-devel
BuildRequires: pkg-config
BuildRequires: xz
%description
mowgli is a development framework for C (like GLib), which provides
@ -77,16 +73,15 @@ block allocator.
This package holds the development files for libmowgli v2.
%prep
%setup -qn libmowgli-2
%patch -P 1 -p1
%setup -qn libmowgli-2-%version
%build
if [ ! -e configure ]; then
./autogen.sh;
fi;
%configure
perl -i -pe 's{2\.0\.0}{%version}' *.pc
echo 'G185 { global: *; };' >mowgli2.sym
# They are still on so.0, but the ABI changed pretty surely
echo 'V_2.1.0 { global: *; };' >mowgli2.sym
make %{?_smp_mflags} LDFLAGS="-Wl,--version-script=$PWD/mowgli2.sym"
%install

View File

@ -1,20 +0,0 @@
From: Andreas Schwab <schwab@suse.de>
Date: Sun, 3 Mar 2013 20:19:46 +0000
---
src/libmowgli/platform/machine.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: libmowgli-2/src/libmowgli/platform/machine.h
===================================================================
--- libmowgli-2.orig/src/libmowgli/platform/machine.h
+++ libmowgli-2/src/libmowgli/platform/machine.h
@@ -186,7 +186,7 @@
# if defined _LP64 || defined __LP64
# define MOWGLI_CPU_BITS 64
# define MOWGLI_CPU_BITS_64
-# elif
+# else
# define MOWGLI_CPU_BITS 32
# define MOWGLI_CPU_BITS_32
# endif

3
v2.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:46ef60c642c457a5d0e36bfc8c277e74d2ebf4ab9cbc4e40153781ed4ab0fe7d
size 227664