15
0

Accepting request 711741 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/711741
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pgmagick?expand=0&rev=2
This commit is contained in:
2019-06-25 20:21:57 +00:00
committed by Git OBS Bridge
3 changed files with 21 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 24 09:44:27 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>
- Add reproducible.patch to sort dir entries (boo#1041090)
-------------------------------------------------------------------
Thu May 10 15:58:40 UTC 2018 - toddrme2178@gmail.com

View File

@@ -26,6 +26,8 @@ Summary: Yet Another Python wrapper for GraphicsMagick
License: MIT
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/p/pgmagick/pgmagick-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/hhatto/pgmagick/pull/47
Patch0: reproducible.patch
BuildRequires: boost-devel
BuildRequires: fdupes
BuildRequires: pkgconfig(GraphicsMagick++)
@@ -48,6 +50,7 @@ wrapper for GraphicsMagick.
%prep
%setup -q -n pgmagick-%{version}
%patch0 -p1
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"

13
reproducible.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: pgmagick-0.7.4/setup.py
===================================================================
--- pgmagick-0.7.4.orig/setup.py
+++ pgmagick-0.7.4/setup.py
@@ -218,7 +218,7 @@ setup(name='pgmagick',
packages=find_packages(),
ext_modules=[
Extension('pgmagick._pgmagick',
- sources=glob.glob('./src/*.cpp'),
+ sources=sorted(glob.glob('./src/*.cpp')),
include_dirs=include_dirs,
library_dirs=library_dirs,
libraries=libraries,