forked from pool/python-ExifRead
Accepting request 694632 from home:jengelh:branches:devel:languages:python
- Fix missing quoting of wildcards in /usr/bin/find calls. - Use noun phrase in summary. Ensure neutrality of description. - Use %setup for all unpacking. OBS-URL: https://build.opensuse.org/request/show/694632 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ExifRead?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
c62659a889
commit
a4d6d80134
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 20:34:33 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Fix missing quoting of wildcards in /usr/bin/find calls.
|
||||
- Use noun phrase in summary. Ensure neutrality of description.
|
||||
- Use %setup for all unpacking.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 12 15:46:56 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
Name: python-ExifRead
|
||||
Version: 2.1.2
|
||||
Release: 0
|
||||
Summary: Read Exif metadata from tiff and jpeg files
|
||||
Summary: Module to read Exif metadata from TIFF and JPEG files
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://pypi.python.org/pypi/ExifRead/%{version}
|
||||
@@ -34,12 +34,11 @@ BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Easy to use Python module to extract Exif metadata from tiff and jpeg files.
|
||||
A Python module to extract Exif metadata from TIFF and JPEG files.
|
||||
|
||||
%prep
|
||||
%setup -q -n ExifRead-%{version}
|
||||
%setup -q -n ExifRead-%{version} -a1
|
||||
%patch0 -p1
|
||||
tar -xzf %{SOURCE1}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -50,8 +49,8 @@ tar -xzf %{SOURCE1}
|
||||
|
||||
%check
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
find exif-samples-master -name *.tiff -o -name *.jpg | xargs $python %{buildroot}%{_bindir}/EXIF.py
|
||||
find exif-samples-master -name *.tiff -o -name *.jpg | xargs $python %{buildroot}%{_bindir}/EXIF.py -dc
|
||||
find exif-samples-master -name "*.tiff" -o -name "*.jpg" -exec $python %{buildroot}%{_bindir}/EXIF.py {} \;
|
||||
find exif-samples-master -name "*.tiff" -o -name "*.jpg" -exec $python %{buildroot}%{_bindir}/EXIF.py -dc {} \;
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
|
Reference in New Issue
Block a user