Accepting request 158240 from devel:libraries:c_c++
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/158240 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmowgli2?expand=0&rev=4
This commit is contained in:
commit
bf8838a212
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 3 19:56:23 UTC 2013 - schwab@suse.de
|
||||
|
||||
- platform.patch:
|
||||
Fix invalid cpp directive
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 11 11:59:46 UTC 2012 - cfarrell@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libmowgli2
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 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
|
||||
@ -28,6 +28,7 @@ Url: http://atheme.org/project/mowgli
|
||||
#Git-Clone: git://github.com/atheme/libmowgli-2
|
||||
#DL-URL: http://atheme.org/downloads/libmowgli-2.0.0.tar.gz
|
||||
Source: libmowgli-%version.tar.xz
|
||||
Patch1: platform.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: xz
|
||||
@ -75,6 +76,7 @@ This package holds the development files for libmowgli v2.
|
||||
|
||||
%prep
|
||||
%setup -qn libmowgli-%version
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then
|
||||
@ -84,7 +86,7 @@ fi;
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
make install DESTDIR="%buildroot"
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
|
16
platform.patch
Normal file
16
platform.patch
Normal file
@ -0,0 +1,16 @@
|
||||
From: Andreas Schwab <schwab@suse.de>
|
||||
Date: Sun, 3 Mar 2013 20:19:46 +0000
|
||||
|
||||
Index: libmowgli-2.0.0/src/libmowgli/platform/machine.h
|
||||
===================================================================
|
||||
--- libmowgli-2.0.0.orig/src/libmowgli/platform/machine.h
|
||||
+++ libmowgli-2.0.0/src/libmowgli/platform/machine.h
|
||||
@@ -180,7 +180,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
|
Loading…
Reference in New Issue
Block a user