Accepting request 394838 from devel:libraries:c_c++

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/394838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmowgli2?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2016-05-16 10:02:42 +00:00 committed by Git OBS Bridge
commit 287928d742
5 changed files with 16 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,10 @@
-------------------------------------------------------------------
Tue May 3 10:56:12 UTC 2016 - jengelh@inai.de
- Update to new upstream release 2.1.0
* 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_%version { 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