forked from pool/python-macholib
		
	Accepting request 790540 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/790540 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-macholib?expand=0&rev=4
This commit is contained in:
		@@ -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
									
								
							
							
						
						
									
										3
									
								
								macholib-1.14.tar.gz
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					version https://git-lfs.github.com/spec/v1
 | 
				
			||||||
 | 
					oid sha256:0c436bc847e7b1d9bda0560351bf76d7caf930fb585a828d13608839ef42c432
 | 
				
			||||||
 | 
					size 59372
 | 
				
			||||||
@@ -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>
 | 
					Tue Dec  4 12:50:14 UTC 2018 - Matej Cepl <mcepl@suse.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
# spec file for package python-macholib
 | 
					# 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
 | 
					# All modifications and additions to the file contributed by third parties
 | 
				
			||||||
# remain the property of their copyright owners, unless otherwise agreed
 | 
					# remain the property of their copyright owners, unless otherwise agreed
 | 
				
			||||||
@@ -18,22 +18,23 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 | 
					%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 | 
				
			||||||
Name:           python-macholib
 | 
					Name:           python-macholib
 | 
				
			||||||
Version:        1.11
 | 
					Version:        1.14
 | 
				
			||||||
Release:        0
 | 
					Release:        0
 | 
				
			||||||
Summary:        Mach-O header analysis and editing
 | 
					Summary:        Mach-O header analysis and editing
 | 
				
			||||||
License:        MIT
 | 
					License:        MIT
 | 
				
			||||||
Group:          Development/Languages/Python
 | 
					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
 | 
					Source:         https://files.pythonhosted.org/packages/source/m/macholib/macholib-%{version}.tar.gz
 | 
				
			||||||
BuildRequires:  %{python_module setuptools}
 | 
					BuildRequires:  %{python_module setuptools}
 | 
				
			||||||
BuildRequires:  fdupes
 | 
					BuildRequires:  fdupes
 | 
				
			||||||
BuildRequires:  python-rpm-macros
 | 
					BuildRequires:  python-rpm-macros
 | 
				
			||||||
# SECTION test requirements
 | 
					Requires:       python-altgraph >= 0.15
 | 
				
			||||||
BuildRequires:  %{python_module altgraph >= 0.13}
 | 
					Requires:       python-setuptools
 | 
				
			||||||
# /SECTION
 | 
					 | 
				
			||||||
Requires:       python-altgraph >= 0.13
 | 
					 | 
				
			||||||
BuildArch:      noarch
 | 
					BuildArch:      noarch
 | 
				
			||||||
 | 
					# SECTION test requirements
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module altgraph >= 0.15}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module pytest}
 | 
				
			||||||
 | 
					# /SECTION
 | 
				
			||||||
%python_subpackages
 | 
					%python_subpackages
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%description
 | 
					%description
 | 
				
			||||||
@@ -59,13 +60,13 @@ sed -i -e '/^#!\//, 1d' macholib/macho_standalone.py
 | 
				
			|||||||
%python_install
 | 
					%python_install
 | 
				
			||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
					%python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%if %{with test}
 | 
					 | 
				
			||||||
%check
 | 
					%check
 | 
				
			||||||
%python_exec setup.py test
 | 
					# tests are too much platform specific (?)
 | 
				
			||||||
%endif
 | 
					rm macholib_tests/test_{command_line,dyld}.py
 | 
				
			||||||
 | 
					%pytest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%files %{python_files}
 | 
					%files %{python_files}
 | 
				
			||||||
%doc README.txt
 | 
					%doc README.rst doc/*.rst
 | 
				
			||||||
%license doc/license.rst
 | 
					%license doc/license.rst
 | 
				
			||||||
%python3_only %{_bindir}/macho_find
 | 
					%python3_only %{_bindir}/macho_find
 | 
				
			||||||
%python3_only %{_bindir}/macho_standalone
 | 
					%python3_only %{_bindir}/macho_standalone
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user