Accepting request 485738 from devel:languages:python:singlespec
- Fix python_module macro definition - update for multipython build OBS-URL: https://build.opensuse.org/request/show/485738 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imagesize?expand=0&rev=5
This commit is contained in:
parent
0471c687b3
commit
bda5a0f192
@ -1,8 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 5 05:39:41 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
- Fix python_module macro definition
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 11 17:07:00 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Typographic corrections to descriptions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 19 15:51:22 UTC 2016 - jmatejek@suse.com
|
||||
|
||||
- update for multipython build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 29 10:31:23 UTC 2016 - michael@stroeder.com
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-imagesize
|
||||
Version: 0.7.1
|
||||
Release: 0
|
||||
@ -24,11 +25,14 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/shibukawa/imagesize_py
|
||||
Source: https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Pure Python library which parses image files' header and returns the image size.
|
||||
|
||||
@ -42,12 +46,12 @@ Supported formats:
|
||||
%setup -q -n imagesize-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitelib}/*
|
||||
%doc README.rst
|
||||
|
Loading…
x
Reference in New Issue
Block a user