--- python-django-dajax.spec.orig 2012-05-11 15:05:16.445367459 +0200 +++ python-django-dajax.spec 2012-05-13 21:38:55.089164345 +0200 @@ -1,10 +1,10 @@ -%define lang_name python -%define lib_prefix django -%define lib_name dajax +%global lang_name python +%global lib_prefix django +%global lib_name dajax Name: %{lang_name}-%{lib_prefix}-%{lib_name} Version: 0.8.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library to create asynchronous presentation logic with Django and dajaxice Group: Development/Libraries @@ -17,9 +17,9 @@ BuildRequires: python2-devel Requires: python-django-dajaxice >= 0.1.2 -%define lib_datadir %{_datadir}/%{name} -%define lib_jsdir %{lib_datadir}/js -%define lib_httpdconfddir %{_sysconfdir}/httpd/conf.d +%global lib_datadir %{_datadir}/%{name} +%global lib_jsdir %{lib_datadir}/js +%global lib_httpdconfddir %{_sysconfdir}/httpd/conf.d %description dajax is a powerful tool to easily and super-quickly develop asynchronous @@ -37,7 +37,6 @@ %install -rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT # remove empty source files and bytecompiled files @@ -67,10 +66,6 @@ done -%clean -rm -rf $RPM_BUILD_ROOT - - %files %doc CHANGELOG COPYING README %{python_sitelib}/%{lib_name} @@ -80,5 +75,9 @@ %changelog +* Fri May 11 2012 Jakub Filak - 0.8.4-2 +- The spec file corrected to be compliant with the fedora packaging guidlines +- The package name prefixed with the string "python-" + * Mon May 07 2012 Jakub Filak - 0.8.4-1 - Initial packaging