--- python-django-dajaxice.spec.orig 2012-05-14 14:56:03.708797740 +0200 +++ python-django-dajaxice.spec 2012-05-14 14:35:14.274769228 +0200 @@ -3,8 +3,8 @@ %global lib_name dajaxice Name: %{lang_name}-%{lib_prefix}-%{lib_name} -Version: 0.1.8.1 -Release: 3%{?dist} +Version: 0.2 +Release: 1%{?dist} Summary: Agnostic and easy to use AJAX library for Django Group: Development/Libraries @@ -19,8 +19,6 @@ BuildRequires: python2-devel, python-setuptools Requires: Django -%global lib_datadir %{_datadir}/%{name} - %description Easy to use AJAX library for Django, all the presentation logic resides outside the views and doesn't require any JS framework. dajaxice uses the unobtrusive @@ -39,10 +37,7 @@ %{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT # remove empty source files and bytecompiled files -for src_file in $(find $RPM_BUILD_ROOT -type f -size 0 -name "*.py") -do - rm ${src_file}{,c,o} -done +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 @@ -55,6 +50,11 @@ %changelog +* Mon May 14 2012 Jakub Filak - 0.2-1 +- Updated to version 0.2 +- Simplification of the install section +- Removed unused global lib_datadir + * Mon May 14 2012 Jakub Filak - 0.1.8.1-3 - Do not rename egg-info - Add python-setuptools to build requires field