Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e306caebbb |
4 changed files with 1 additions and 54 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
/django-keyedcache-1.4-1.tar.gz
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Renamed to python-django-keyedcache
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
%global srcversion 1.4-1
|
||||
Name: django-keyedcache
|
||||
Version: 1.4.1
|
||||
Release: 4%{?dist}
|
||||
Summary: Utilities for simplified development of cache aware objects
|
||||
Group: Development/Languages
|
||||
License: BSD
|
||||
URL: http://pypi.python.org/pypi/%{name}
|
||||
Source0: http://pypi.python.org/packages/source/d/%{name}/%{name}-%{srcversion}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-setuptools-devel python-devel gettext
|
||||
Requires: Django
|
||||
|
||||
%description
|
||||
Django Keyedcache provides utilities and class mixins for simplified development
|
||||
of cache-aware objects. Used in Satchmo
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{srcversion}
|
||||
rm -rf tests
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||
|
||||
# Language files; not under /usr/share, need to be handled manually
|
||||
(cd $RPM_BUILD_ROOT && find . -name 'django.?o') | sed -e 's|^.||' | sed -e \
|
||||
's:\(.*/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:' \
|
||||
>> %{name}.lang
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc PKG-INFO
|
||||
# list some files explicitly to avoid listing locale files twice
|
||||
%{python_sitelib}/keyedcache/*.py*
|
||||
%{python_sitelib}/keyedcache/templates/
|
||||
%{python_sitelib}/django_keyedcache*.egg-info
|
||||
|
||||
%changelog
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Sat Jun 09 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 1.4.1-2
|
||||
- Fix a build issue
|
||||
|
||||
* Thu Apr 14 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 1.4.1-1
|
||||
- initial spec
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
49d50e6a44db5fe820108534496a7892 django-keyedcache-1.4-1.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue