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>
|
Fri Apr 12 15:46:56 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
Name: python-ExifRead
|
Name: python-ExifRead
|
||||||
Version: 2.1.2
|
Version: 2.1.2
|
||||||
Release: 0
|
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
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://pypi.python.org/pypi/ExifRead/%{version}
|
URL: https://pypi.python.org/pypi/ExifRead/%{version}
|
||||||
@@ -34,12 +34,11 @@ BuildArch: noarch
|
|||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%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
|
%prep
|
||||||
%setup -q -n ExifRead-%{version}
|
%setup -q -n ExifRead-%{version} -a1
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
tar -xzf %{SOURCE1}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -50,8 +49,8 @@ tar -xzf %{SOURCE1}
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
%{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" -exec $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 -dc {} \;
|
||||||
}
|
}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Reference in New Issue
Block a user