[python-django-dajaxice] New upstream release 0.5.5

Jakub Filak jfilak at fedoraproject.org
Sat Feb 9 20:08:03 UTC 2013


commit 5c54aa2407e6a18d31f81c55e6bec07f11ae75b2
Author: Jakub Filak <jfilak at redhat.com>
Date:   Sat Feb 9 11:52:47 2013 +0100

    New upstream release 0.5.5

 python-django-dajaxice-0.1.8.1-empty.patch       |   40 ----------------------
 python-django-dajaxice-0.5.5-1-empty_files.patch |   33 ++++++++++++++++++
 python-django-dajaxice.spec                      |   28 +++++++++------
 3 files changed, 50 insertions(+), 51 deletions(-)
---
diff --git a/python-django-dajaxice-0.5.5-1-empty_files.patch b/python-django-dajaxice-0.5.5-1-empty_files.patch
new file mode 100644
index 0000000..5086af5
--- /dev/null
+++ b/python-django-dajaxice-0.5.5-1-empty_files.patch
@@ -0,0 +1,33 @@
+From 261f947ba9277d14c393d103d3fb0f13d3fb4793 Mon Sep 17 00:00:00 2001
+From: Jakub Filak <jfilak at redhat.com>
+Date: Sat, 9 Feb 2013 18:26:48 +0100
+Subject: [PATCH] Add dummy string to empty files
+
+Signed-off-by: Jakub Filak <jfilak at redhat.com>
+---
+ dajaxice/templatetags/__init__.py | 1 +
+ examples/examples/__init__.py     | 1 +
+ examples/simple/__init__.py       | 1 +
+ 3 files changed, 3 insertions(+)
+
+diff --git a/dajaxice/templatetags/__init__.py b/dajaxice/templatetags/__init__.py
+index e69de29..1bb8bf6 100644
+--- a/dajaxice/templatetags/__init__.py
++++ b/dajaxice/templatetags/__init__.py
+@@ -0,0 +1 @@
++# empty
+diff --git a/examples/examples/__init__.py b/examples/examples/__init__.py
+index e69de29..1bb8bf6 100644
+--- a/examples/examples/__init__.py
++++ b/examples/examples/__init__.py
+@@ -0,0 +1 @@
++# empty
+diff --git a/examples/simple/__init__.py b/examples/simple/__init__.py
+index e69de29..1bb8bf6 100644
+--- a/examples/simple/__init__.py
++++ b/examples/simple/__init__.py
+@@ -0,0 +1 @@
++# empty
+-- 
+1.8.1.2
+
diff --git a/python-django-dajaxice.spec b/python-django-dajaxice.spec
index 80edc3b..f780cb8 100644
--- a/python-django-dajaxice.spec
+++ b/python-django-dajaxice.spec
@@ -3,21 +3,27 @@
 %global lib_name   dajaxice
 
 Name:          %{lang_name}-%{lib_prefix}-%{lib_name}
-Version:       0.2
-Release:       2%{?dist}
+Version:       0.5.5
+Release:       1%{?dist}
 Summary:       Agnostic and easy to use AJAX library for Django
 
 Group:         Development/Libraries
-License:       BSD with advertising
+# 'LGPLv2.1 or later' and 'Public Domain' licenses were found in dajaxice/templates/dajaxice/dajaxice.core.js
+License:       BSD with advertising and LGPLv2+ and Public Domain
 URL:           http://www.dajaxproject.com/
-Source0:       http://cloud.github.com/downloads/jorgebastida/%{lib_prefix}-%{lib_name}/%{lib_prefix}-%{lib_name}-%{version}.tar.gz
+Source0:       https://github.com/jorgebastida/%{lib_prefix}-%{lib_name}/archive/%{version}.tar.gz
 # fill empty __init__.py files with '# empty' comment line
 # Sent upstream via email 20120510
-Patch0:        python-django-dajaxice-0.1.8.1-empty.patch
+# Updated for new release 20130209
+Patch0:        python-django-dajaxice-0.5.5-1-empty_files.patch
 
 BuildArch:     noarch
-BuildRequires: python2-devel, python-setuptools
-Requires:      Django
+
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: python-setuptools
+
+Requires:      python-django
 
 %description
 Easy to use AJAX library for Django, all the presentation logic resides outside
@@ -39,17 +45,17 @@ standard-compliant (W3C) XMLHttpRequest 1.0 object.
 # remove empty source files and bytecompiled files
 find $RPM_BUILD_ROOT -type f -size 0 -name "*.py" -exec rm '{}'{,c,o} \;
 
-# remove remaining empty files
-find $RPM_BUILD_ROOT -type f -size 0 -delete
-
 
 %files
-%doc CHANGELOG COPYING README 
+%doc COPYING
 %{python_sitelib}/%{lib_name}
 %{python_sitelib}/%{lib_prefix}_%{lib_name}-%{version}-py?.?.egg-info
 
 
 %changelog
+* Sat Feb 9 2013 Jakub Filak <jfilak at redhat.com> - 0.5.5-1
+- new upstream release
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list