[rapid-photo-downloader: 1/2] * Wed Jan 09 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0.4.6-0.b1 - Updated to new upstream v

Fabian Affolter fab at fedoraproject.org
Wed Jan 9 17:03:41 UTC 2013


commit 87fa6d3dcb99eb5ffaf113feadaaffe73910e6a8
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date:   Wed Jan 9 18:02:27 2013 +0100

    * Wed Jan 09 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0.4.6-0.b1
    - Updated to new upstream version 0.4.6-beta1 to fix critical bug

 .gitignore                  |    1 +
 rapid-photo-downloader.spec |   35 ++++++++++++-----------------------
 sources                     |    2 +-
 3 files changed, 14 insertions(+), 24 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b0f2575..b8aa562 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ rapid-photo-downloader-0.3.1.tar.gz
 /rapid-photo-downloader-0.4.2.tar.gz
 /rapid-photo-downloader-0.4.3.tar.gz
 /rapid-photo-downloader-0.4.5.tar.gz
+/rapid-photo-downloader-0.4.6~b1.tar.gz
diff --git a/rapid-photo-downloader.spec b/rapid-photo-downloader.spec
index f7a05fc..450c687 100644
--- a/rapid-photo-downloader.spec
+++ b/rapid-photo-downloader.spec
@@ -1,17 +1,17 @@
-%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-%endif
+%global pre_long beta1
+%global pre_short b1
 
 Name:           rapid-photo-downloader
-Version:        0.4.5
-Release:        1%{?dist}
+Version:        0.4.6
+Release:        0.%{pre_short}%{?dist}
 Summary:        Images downloader for external devices
 
-Group:          Applications/Archiving
 License:        GPLv2+
 URL:            http://damonlynch.net/rapid/
-Source0:        http://launchpad.net/rapid/trunk/%{version}/+download/%{name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+#Source0:        http://launchpad.net/rapid/trunk/%{version}/+download/%{name}-%{version}.tar.gz
+# Not able to download the source tarball from Launchpad at the moment
+#Source0:        https://launchpad.net/rapid/trunk/{version}%{pre_long}/+download/%{name}-%{version}%7E%{pre_short}.tar.gz
+Source0:        rapid-photo-downloader-0.4.6~b1.tar.gz
 BuildArch:      noarch
 
 BuildRequires:  python2-devel
@@ -32,7 +32,6 @@ Requires:       python-imaging
 Requires:       perl-Image-ExifTool
 Requires:       fbida
 
-
 %description
 Rapid Photo Downloader is written by a photographer for professional
 and amateur photographers. It can download photos from multiple memory
@@ -41,45 +40,33 @@ of options for sub-folder creation, image renaming and backup.
 It does not download images directly from a camera unless the camera
 is recognized as an external drive.
 
-
 %prep
-%setup -q
-
+%setup -q -n %{name}-%{version}-%{pre_short}
 
 %build
 %{__python} setup.py build
 
 
 %install
-rm -rf %{buildroot}
 %{__python} setup.py install -O1 --skip-build --root=%{buildroot}
 desktop-file-install                                        \
     --dir=%{buildroot}%{_datadir}/applications              \
     %{buildroot}%{_datadir}/applications/%{name}.desktop
 %find_lang %{name}
 
-
-%clean
-rm -rf %{buildroot}
-
-
 %post
 touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
-
 %postun
 if [ $1 -eq 0 ] ; then
     touch --no-create %{_datadir}/icons/hicolor &>/dev/null
     gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 fi
 
-
 %posttrans
 gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
-
 %files -f %{name}.lang
-%defattr(-,root,root,-)
 %doc rapid/AUTHORS rapid/ChangeLog rapid/COPYING README
 %{_bindir}/%{name}
 %{python_sitelib}/rapid/
@@ -90,8 +77,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/pixmaps/%{name}.png
 %{_datadir}/pixmaps/%{name}.xpm
 
-
 %changelog
+* Wed Jan 09 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0.4.6-0.b1
+- Updated to new upstream version 0.4.6-beta1 to fix critical bug
+
 * Mon Jun 25 2012 Fabian Affolter <mail at fabian-affolter.ch> - 0.4.5-1
 - Updated to new upstream version 0.4.5
 
diff --git a/sources b/sources
index 0973f5e..7e21cfa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3bda6e0ba47de83ae696126eef8794af  rapid-photo-downloader-0.4.5.tar.gz
+645da8d30831f39a10dbfcf447e2a0a1  rapid-photo-downloader-0.4.6~b1.tar.gz


More information about the scm-commits mailing list