[python-django-flash] insert sources

Luis Enrique Bazán De León lbazan at fedoraproject.org
Mon Apr 15 17:48:53 UTC 2013


commit c159225424bfd12314b5eb0c8a6ecc1eb787cfe4
Author: Luis Bazan <lbazan at fedoraproject.org>
Date:   Mon Apr 15 12:50:45 2013 -0500

    insert sources

 python-django-flash-settings.patch |   11 ++++
 python-django-flash.spec           |  100 ++++++++++++++++++++++++++++++++++++
 sources                            |    2 -
 3 files changed, 111 insertions(+), 2 deletions(-)
---
diff --git a/python-django-flash-settings.patch b/python-django-flash-settings.patch
new file mode 100644
index 0000000..1ca122d
--- /dev/null
+++ b/python-django-flash-settings.patch
@@ -0,0 +1,11 @@
+--- django-flash-1.8.orig/src/djangoflash/tests/testproj/settings.py	2011-02-12 10:58:22.000000000 -0500
++++ django-flash-1.8/src/djangoflash/tests/testproj/settings.py	2013-03-26 15:42:48.338947124 -0500
+@@ -24,7 +24,7 @@
+ MEDIA_ROOT = os.path.normpath(os.path.dirname(__file__) + '/media/')
+ 
+ TEMPLATE_LOADERS = (
+-    'django.template.loaders.filesystem.load_template_source',
++    'django.template.loaders.filesystem.Loader',
+ )
+ 
+ MIDDLEWARE_CLASSES = (
diff --git a/python-django-flash.spec b/python-django-flash.spec
new file mode 100644
index 0000000..b14d50a
--- /dev/null
+++ b/python-django-flash.spec
@@ -0,0 +1,100 @@
+%global pkgname django-flash
+%global obs_ver 1.7.2-6
+
+Name:           python-django-flash
+Version:        1.8
+Release:        4%{?dist}
+Summary:        A Django extension to provide support for Rails-like flash
+
+Group:          Development/Languages
+License:        BSD
+URL:            http://danielfm.github.com/django-flash
+Source0:        http://pypi.python.org/packages/source/d/%{pkgname}/%{pkgname}-%{version}.tar.gz
+Patch1:         python-django-flash-settings.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  python2-devel 
+BuildRequires:  python-setuptools
+
+
+%if 0%{?fedora} >= 18
+Requires:       python-django
+BuildRequires:  python-django
+%else
+Requires:       Django
+BuildRequires:  Django
+%endif
+
+Provides:       %{pkgname} = %{version}-%{release}
+Obsoletes:      %{pkgname} < %{obs_ver}
+
+%description
+A simple Django extension that provides support for Rails-like flash messages.
+
+The flash is a temporary storage mechanism that looks like a Python
+dictionary, so you can store values associated with keys and later retrieve
+them. It has one special property: by default, values stored into the flash
+during the processing of a request will be available during the processing
+of the immediately following request. Once that second request has been
+processed, those values are removed automatically from the storage.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+%patch1 -p1 
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf %{buildroot} 
+%{__python} setup.py install --skip-build --root %{buildroot}
+find %{buildroot} -name 'manage.py' | xargs chmod 0755
+
+%check
+%{__python} setup.py test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS LICENSE README.rst
+%{python_sitelib}/djangoflash
+%{python_sitelib}/django_flash-*.egg-info
+
+%changelog
+* Wed Mar 27 2013 Luis Bazan <lbazan at fedoraproject.org> - 1.8-4
+- Add python macro of calling python
+- Add url of project homepage
+  
+* Tue Mar 26 2013 Luis Bazan <lbazan at fedoraproject.org> - 1.8-3
+- change line of permission 
+
+* Mon Mar 25 2013 Luis Bazan <lbazan at fedoraproject.org> - 1.8-2
+- Add patch for change load to Loader
+- add check section for test
+
+* Fri Mar 22 2013 Luis Bazan <lbazan at fedoraproject.org> - 1.8-1
+- Change name and version 
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.2-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 1.7.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
+
+* Thu Jul 01 2010 Sebastian Dziallas <sebastian at when.com> - 1.7.2-2
+- use renamed readme file
+
+* Thu Jul 01 2010 Sebastian Dziallas <sebastian at when.com> - 1.7.2-1
+- new upstream release
+
+* Tue Jan 26 2010 Sebastian Dziallas <sebastian at when.com> - 1.7-1
+- new upstream release
+
+* Tue Oct 06 2009 Sebastian Dziallas <sebastian at when.com> - 1.6.2-2
+- remove unneeeded BRs
+
+* Tue Oct 06 2009 Sebastian Dziallas <sebastian at when.com> - 1.6.2-1
+- initial packaging
diff --git a/sources b/sources
index 1577bf9..8a41589 100644
--- a/sources
+++ b/sources
@@ -1,3 +1 @@
 1d2da9ed3bf755f19d19308f7b456aca  django-flash-1.8.tar.gz
-e9e218284d76fffe256e7b4d3ca4e645  python-django-flash-settings.patch
-9c96062474ea8f0285760ade94701adb  python-django-flash.spec


More information about the scm-commits mailing list