14
0

Accepting request 790537 from home:pgajdos:python

- version update to 1.14
  * Repository moved to GitHub
  * #32: Update the LC_NAMES table
  * #31: Add two new load commands introduced in macOS 10.15
  * #27: Missing describe method for build_version_command

OBS-URL: https://build.opensuse.org/request/show/790537
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-macholib?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal
2020-04-01 11:16:06 +00:00
committed by Git OBS Bridge
parent f79065a232
commit 1029f20801
4 changed files with 25 additions and 15 deletions

View File

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

3
macholib-1.14.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Apr 1 10:32:23 UTC 2020 - pgajdos@suse.com
- version update to 1.14
* Repository moved to GitHub
* #32: Update the LC_NAMES table
* #31: Add two new load commands introduced in macOS 10.15
* #27: Missing describe method for build_version_command
-------------------------------------------------------------------
Tue Dec 4 12:50:14 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-macholib
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,22 +18,23 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-macholib
Version: 1.11
Version: 1.14
Release: 0
Summary: Mach-O header analysis and editing
License: MIT
Group: Development/Languages/Python
Url: http://bitbucket.org/ronaldoussoren/macholib
URL: https://github.com/ronaldoussoren/macholib/
Source: https://files.pythonhosted.org/packages/source/m/macholib/macholib-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module altgraph >= 0.13}
# /SECTION
Requires: python-altgraph >= 0.13
Requires: python-altgraph >= 0.15
Requires: python-setuptools
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module altgraph >= 0.15}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
@@ -59,13 +60,13 @@ sed -i -e '/^#!\//, 1d' macholib/macho_standalone.py
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%python_exec setup.py test
%endif
# tests are too much platform specific (?)
rm macholib_tests/test_{command_line,dyld}.py
%pytest
%files %{python_files}
%doc README.txt
%doc README.rst doc/*.rst
%license doc/license.rst
%python3_only %{_bindir}/macho_find
%python3_only %{_bindir}/macho_standalone