forked from pool/python-exiv2
- Add patch to build with latest exiv2 releases:
* exiv2-1.0.27.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
ba11f067d5
commit
e007b695ea
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-exiv2
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,32 +12,30 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
|
||||
# This is a python3 only package
|
||||
%define skip_python2 1
|
||||
|
||||
Name: python-exiv2
|
||||
Version: 0.3.0
|
||||
Release: 0
|
||||
Summary: Python3 bindings for the exiv2 library
|
||||
License: GPL-3.0-only
|
||||
Group: Development/Languages/Python
|
||||
Url: https://launchpad.net/py3exiv2
|
||||
URL: https://launchpad.net/py3exiv2
|
||||
Source: https://files.pythonhosted.org/packages/source/p/py3exiv2/py3exiv2-%{version}.tar.gz
|
||||
|
||||
Patch0: exiv2-1.0.27.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libboost_python3-devel
|
||||
BuildRequires: libexiv2-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
|
||||
BuildRequires: pkgconfig(exiv2)
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -52,6 +50,7 @@ easy manipulation of image metadata.
|
||||
|
||||
%prep
|
||||
%setup -q -n py3exiv2-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user