[python-exif] 1.3.3, (fixing bz #996583)

terjeros terjeros at fedoraproject.org
Tue Aug 13 19:04:08 UTC 2013


commit ce4c6e639c8bcae29022a59453be4bda00c5f06e
Author: Terje Røsten <terje.rosten at ntnu.no>
Date:   Tue Aug 13 21:03:57 2013 +0200

    1.3.3, (fixing bz #996583)
    
    - Project has moved to github

 .gitignore       |    1 +
 EXIF             |    7 -------
 python-exif.spec |   42 ++++++++++++++++--------------------------
 setup.py         |   24 ------------------------
 sources          |    2 +-
 5 files changed, 18 insertions(+), 58 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 80f386c..b7446a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 EXIFpy_1.0.8.tar.gz
 /EXIFpy_1.1.0.tar.gz
+/exif-py-1.3.3.tar.gz
diff --git a/python-exif.spec b/python-exif.spec
index 2930c47..e36bd74 100644
--- a/python-exif.spec
+++ b/python-exif.spec
@@ -1,52 +1,42 @@
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
-)}
-
 %global oname exif-py
 
 Summary:        Python module to extract EXIF information
 Name:           python-exif
-# Remember to update setup.py
-Version:        1.1.0
-Release:        3%{?dist}
+Version:        1.3.3
+Release:        1%{?dist}
 License:        BSD
 Group:          Development/Libraries
 URL:            https://github.com/ianare/exif-py
-Source0:        http://downloads.sourceforge.net/exif-py/EXIFpy_%{version}.tar.gz
-Source1:        setup.py
-Source2:        EXIF
+# Real source url: https://github.com/ianare/exif-py/archive/%{version}.tar.gz
+Source0:        https://github.com/ianare/exif-py/archive/%{oname}-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  python-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
 Python Library to extract EXIF information in digital camera image files
 
 %prep
-%setup -q -n EXIFpy_%{version}
-%{__cp} %{SOURCE1} .
-%{__cp} %{SOURCE2} .
-%{__chmod} 0644 EXIF.py
-%{__sed} -e "/^# ----- See 'changes.txt'/q" EXIF.py > COPYING
-%{__chmod} 0644 COPYING
+%setup -q -n %{oname}-%{version}
 
 %build
-CFLAGS="%{optflags}" %{__python} setup.py build
+%{__python} setup.py build
 
 %install
-%{__rm} -rf %{buildroot}
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
-%{__chmod} 0755 %{buildroot}%{python_sitelib}/EXIF.py
-
-%clean
-%{__rm} -rf %{buildroot}
+ln -s EXIF.py %{buildroot}%{_bindir}/EXIF
 
 %files
-%defattr(-, root, root, -)
-%doc COPYING README.md changes.txt
+%doc CHANGES.txt LICENSE.txt README.rst
 %{_bindir}/EXIF
-%{python_sitelib}/EXIF*
+%{_bindir}/EXIF.py
+%{python_sitelib}/ExifRead-*-*.egg-info
+%{python_sitelib}/exifread
 
 %changelog
+* Tue Aug 13 2013 Terje Rosten <terje.rosten at .ntnu.no> - 1.3.3-1
+- 1.3.3, (fixing bz #996583)
+- Project has moved to github
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
@@ -84,7 +74,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build
 - Fix script (bz #435758)
 
 * Mon Feb 11 2008 Terje Rosten <terjeros at phys.ntnu.no> - 1.0.7-3
-- add script and changes.txt
+- Add script and changes.txt
 
 * Sat Jan 19 2008 Terje Rosten <terjeros at phys.ntnu.no> - 1.0.7-2
 - Improve setup.py
diff --git a/sources b/sources
index e57b50e..025c428 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-40c9191038795a97b968c7a4950b4b99  EXIFpy_1.1.0.tar.gz
+212ae7eacf5979e1c021e06c4be9d841  exif-py-1.3.3.tar.gz


More information about the scm-commits mailing list