From a4d6d801347b9c8f9974bc84b16e82c1758a1cc7381003cc47465b9c7c071db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 16 Apr 2019 10:03:36 +0000 Subject: [PATCH] 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 --- python-ExifRead.changes | 7 +++++++ python-ExifRead.spec | 11 +++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/python-ExifRead.changes b/python-ExifRead.changes index 75ba1ea..1756eec 100644 --- a/python-ExifRead.changes +++ b/python-ExifRead.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Apr 15 20:34:33 UTC 2019 - Jan Engelhardt + +- 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 diff --git a/python-ExifRead.spec b/python-ExifRead.spec index afbdfc8..510cfbd 100644 --- a/python-ExifRead.spec +++ b/python-ExifRead.spec @@ -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}