The package rpms/pymunk.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/pymunk.git/commit/?id=9aabf10e44d82c....
Change: -%ifarch %{ix86}
Thanks.
Full change: ============
commit 9aabf10e44d82c701d4c368f41b08a5416963c1b Author: Gwyn Ciesla limburgher@gmail.com Date: Thu Sep 13 11:53:42 2018 -0500
BZ 1627199
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 8bed826..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -pymunk-0.8.4.zip -/pymunk-1.0.0.zip diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5d91fcb --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +BZ 1627199 diff --git a/pymunk-1.0.0-sharedlib.patch b/pymunk-1.0.0-sharedlib.patch deleted file mode 100644 index d6b999b..0000000 --- a/pymunk-1.0.0-sharedlib.patch +++ /dev/null @@ -1,110 +0,0 @@ ---- pymunk/libload.py~ 2010-02-07 22:58:20.000000000 -0600 -+++ pymunk/libload.py 2010-07-15 09:16:27.240569523 -0500 -@@ -21,77 +21,7 @@ - - - def load_library(libname, print_path=True): -- # lib gets loaded from -- # 32bit python: pymunk/libchipmunk.so, libchipmunk.dylib or chipmunk.dll -- # 64 bit python pymunk/libchipmunk64.so, libchipmunk.dylib or chipmunk64.dll -- -- s = platform.system() -- arch = str(ctypes.sizeof(ctypes.c_voidp) * 8) -- -- path = os.path.dirname(os.path.abspath(__file__)) -- -- try: -- if hasattr(sys, "frozen") or \ -- hasattr(sys, "importers") or \ -- hasattr(imp, "is_frozen") and imp.is_forzen("__main__"): -- if 'site-packages.zip' in __file__: -- path = os.path.join(os.path.dirname(os.getcwd()), 'Frameworks') -- else: -- path = os.path.dirname(os.path.abspath(sys.executable)) -- except: -- pass -- -- if arch == "64": -- arch_param = "64" -- else: -- arch_param = "" -- -- if s in ('Linux', 'FreeBSD'): -- libfn = "lib%s%s.so" % (libname, arch_param) -- -- elif s in ('Windows', 'Microsoft'): -- libfn = "%s%s.dll" % (libname, arch_param) -- -- elif s == 'Darwin': -- libfn = "lib%s.dylib" % libname -- -- # we use *nix library naming as default -- else: -- libfn = "lib%s.so" % libname -- -- libfn = os.path.join(path, libfn) -- -- -- if print_path: -- print ("Loading chipmunk for %s (%sbit) [%s]" % (s, arch, libfn)) -- try: -- lib = platform_specific_functions()['library_loader'].LoadLibrary(libfn) -- except OSError: -- print (""" --Failed to load pymunk library. -- --This error usually means that you don't have a compiled version of chipmunk in --the correct spot where pymunk can find it. pymunk does not include precompiled --chipmunk library files for all platforms. -- --The good news is that it is usually enough (at least on *nix and OS X) to --simply run the compile command first before installing and then retry again: -- --You compile chipmunk with --> python setup.py build_chipmunk --and then continue as usual with --> python setup.py install --> cd examples --> python basic_test.py -- --(for complete instructions please see the readme file) -- --If it still doesnt work, please report as a bug on the issue tracker at --http://code.google.com/p/pymunk/issues --Remember to include information about your OS, which version of python you use --and the version of pymunk you tried to run. A description of what you did to --trigger the error is also good. Please include the exception traceback if any --(usually found below this message). --""") -- raise -+ # Library is always in this location on Fedora -+ libfn = "/usr/lib/libchipmunk.so.5.3.4" -+ lib = platform_specific_functions()['library_loader'].LoadLibrary(libfn) - return lib ---- setup.py~ 2010-03-07 21:21:08.000000000 -0600 -+++ setup.py 2010-07-15 08:59:15.231318426 -0500 -@@ -99,11 +99,6 @@ - , description='A python wrapper for the 2d physics library Chipmunk' - , long_description=long_description - , packages=['pymunk'] #find_packages(exclude=['*.tests']), -- , package_data = {'pymunk': ['chipmunk.dll' -- , 'chipmunk64.dll' -- , 'libchipmunk.so' -- , 'libchipmunk64.so' -- , 'libchipmunk.dylib']} - , eager_resources = [os.path.join('pymunk','chipmunk.dll') - , os.path.join('pymunk','chipmunk64.dll') - , os.path.join('pymunk','libchipmunk.so') ---- pymunk.egg-info/SOURCES.txt~ 2010-03-07 22:20:40.000000000 -0600 -+++ pymunk.egg-info/SOURCES.txt 2010-07-15 09:00:45.069319331 -0500 -@@ -121,10 +121,7 @@ - examples/slide_and_pinjoint.py - pymunk/__init__.py - pymunk/_chipmunk.py --pymunk/chipmunk.dll - pymunk/constraint.py --pymunk/libchipmunk.so --pymunk/libchipmunk64.so - pymunk/libload.py - pymunk/util.py - pymunk/vec2d.py diff --git a/pymunk-1.0.0-sharedlib64.patch b/pymunk-1.0.0-sharedlib64.patch deleted file mode 100644 index 7c9becc..0000000 --- a/pymunk-1.0.0-sharedlib64.patch +++ /dev/null @@ -1,110 +0,0 @@ ---- pymunk/libload.py~ 2010-02-07 22:58:20.000000000 -0600 -+++ pymunk/libload.py 2010-07-15 09:16:27.240569523 -0500 -@@ -21,77 +21,7 @@ - - - def load_library(libname, print_path=True): -- # lib gets loaded from -- # 32bit python: pymunk/libchipmunk.so, libchipmunk.dylib or chipmunk.dll -- # 64 bit python pymunk/libchipmunk64.so, libchipmunk.dylib or chipmunk64.dll -- -- s = platform.system() -- arch = str(ctypes.sizeof(ctypes.c_voidp) * 8) -- -- path = os.path.dirname(os.path.abspath(__file__)) -- -- try: -- if hasattr(sys, "frozen") or \ -- hasattr(sys, "importers") or \ -- hasattr(imp, "is_frozen") and imp.is_forzen("__main__"): -- if 'site-packages.zip' in __file__: -- path = os.path.join(os.path.dirname(os.getcwd()), 'Frameworks') -- else: -- path = os.path.dirname(os.path.abspath(sys.executable)) -- except: -- pass -- -- if arch == "64": -- arch_param = "64" -- else: -- arch_param = "" -- -- if s in ('Linux', 'FreeBSD'): -- libfn = "lib%s%s.so" % (libname, arch_param) -- -- elif s in ('Windows', 'Microsoft'): -- libfn = "%s%s.dll" % (libname, arch_param) -- -- elif s == 'Darwin': -- libfn = "lib%s.dylib" % libname -- -- # we use *nix library naming as default -- else: -- libfn = "lib%s.so" % libname -- -- libfn = os.path.join(path, libfn) -- -- -- if print_path: -- print ("Loading chipmunk for %s (%sbit) [%s]" % (s, arch, libfn)) -- try: -- lib = platform_specific_functions()['library_loader'].LoadLibrary(libfn) -- except OSError: -- print (""" --Failed to load pymunk library. -- --This error usually means that you don't have a compiled version of chipmunk in --the correct spot where pymunk can find it. pymunk does not include precompiled --chipmunk library files for all platforms. -- --The good news is that it is usually enough (at least on *nix and OS X) to --simply run the compile command first before installing and then retry again: -- --You compile chipmunk with --> python setup.py build_chipmunk --and then continue as usual with --> python setup.py install --> cd examples --> python basic_test.py -- --(for complete instructions please see the readme file) -- --If it still doesnt work, please report as a bug on the issue tracker at --http://code.google.com/p/pymunk/issues --Remember to include information about your OS, which version of python you use --and the version of pymunk you tried to run. A description of what you did to --trigger the error is also good. Please include the exception traceback if any --(usually found below this message). --""") -- raise -+ # Library is always in this location on Fedora -+ libfn = "/usr/lib64/libchipmunk.so.5.3.4" -+ lib = platform_specific_functions()['library_loader'].LoadLibrary(libfn) - return lib ---- setup.py~ 2010-03-07 21:21:08.000000000 -0600 -+++ setup.py 2010-07-15 08:59:15.231318426 -0500 -@@ -99,11 +99,6 @@ - , description='A python wrapper for the 2d physics library Chipmunk' - , long_description=long_description - , packages=['pymunk'] #find_packages(exclude=['*.tests']), -- , package_data = {'pymunk': ['chipmunk.dll' -- , 'chipmunk64.dll' -- , 'libchipmunk.so' -- , 'libchipmunk64.so' -- , 'libchipmunk.dylib']} - , eager_resources = [os.path.join('pymunk','chipmunk.dll') - , os.path.join('pymunk','chipmunk64.dll') - , os.path.join('pymunk','libchipmunk.so') ---- pymunk.egg-info/SOURCES.txt~ 2010-03-07 22:20:40.000000000 -0600 -+++ pymunk.egg-info/SOURCES.txt 2010-07-15 09:00:45.069319331 -0500 -@@ -121,10 +121,7 @@ - examples/slide_and_pinjoint.py - pymunk/__init__.py - pymunk/_chipmunk.py --pymunk/chipmunk.dll - pymunk/constraint.py --pymunk/libchipmunk.so --pymunk/libchipmunk64.so - pymunk/libload.py - pymunk/util.py - pymunk/vec2d.py diff --git a/pymunk-sharedlib.patch b/pymunk-sharedlib.patch deleted file mode 100644 index 9fc341f..0000000 --- a/pymunk-sharedlib.patch +++ /dev/null @@ -1,82 +0,0 @@ -From 12bee2a0828e2b6ec90e0641b7993c511b7e4c97 Mon Sep 17 00:00:00 2001 -From: Robert Spanton rspanton@zepler.net -Date: Thu, 18 Jun 2009 19:48:01 +0100 -Subject: [PATCH] Use the chipmunk shared library from the chipmunk package. - ---- - pymunk/libload.py | 33 ++------------------------------- - 1 files changed, 2 insertions(+), 31 deletions(-) - -diff --git a/pymunk/libload.py b/pymunk/libload.py -index e63c157..659525a 100644 ---- pymunk/libload.py -+++ pymunk/libload.py -@@ -4,37 +4,8 @@ import sys, imp, os - import ctypes - - def load_library(libname, print_path=True): -- # lib gets loaded from: -- # pymunk/libchipmunk.so, libchipmunk.dylib or chipmunk.dll -- -- s = platform.system() -- arch, _ = platform.architecture()