/[packages]/updates/infra_5/python-django-haystack/current/SPECS/python-django-haystack.spec
ViewVC logotype

Diff of /updates/infra_5/python-django-haystack/current/SPECS/python-django-haystack.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 908944 by philippem, Tue Dec 8 20:38:09 2015 UTC revision 908945 by philippem, Tue Dec 8 20:48:47 2015 UTC
# Line 11  Source:                https://pypi.python.org/package Line 11  Source:                https://pypi.python.org/package
11  BuildArch:      noarch  BuildArch:      noarch
12  BuildRequires:  pythonegg(2)(setuptools)  BuildRequires:  pythonegg(2)(setuptools)
13    
14  Requires:       pythonegg(2)(django)  Requires:       python-django16
15    
16  %description  %description
17  Search doesn't have to be hard. Haystack lets you write your search code once  Search doesn't have to be hard. Haystack lets you write your search code once
# Line 19  and choose the search engine you want it Line 19  and choose the search engine you want it
19  should make any Djangonaut feel right at home and an architecture that allows  should make any Djangonaut feel right at home and an architecture that allows
20  you to swap things in and out as you need to, it's how search ought to be.  you to swap things in and out as you need to, it's how search ought to be.
21    
 #---------------------------------------------------------------------------  
   
 %package -n     python3-%{module}  
 Summary:        Django module for modular search  
 Group:          Development/Python  
 BuildRequires:  pythonegg(3)(setuptools)  
   
 Requires:       pythonegg(3)(django)  
   
 %description -n python3-%{module}  
 Search doesn't have to be hard. Haystack lets you write your search code once  
 and choose the search engine you want it to run on. With a familiar API that  
 should make any Djangonaut feel right at home and an architecture that allows  
 you to swap things in and out as you need to, it's how search ought to be.  
   
 #---------------------------------------------------------------------------  
22    
23  %prep  %prep
24  %setup -q -n %{module}-%{version}  %setup -q -n %{module}-%{version}
25    
26  find . -name '.gitignore' -delete  find . -name '.gitignore' -delete
27    
 cp -a . %{py3dir}  
28    
29  %build  %build
30  %py2_build  %{__python} setup.py build
31    
 pushd %{py3dir}  
 %py3_build  
 popd  
32    
33  %install  %install
34  %py2_install  %{__python} setup.py install -O1 --root %{buildroot} --skip-build
35    
 pushd %{py3dir}  
 %py3_install  
 popd  
36    
37  %files  %files
38  %doc AUTHORS README.rst docs  %doc AUTHORS README.rst docs
39  %{python2_sitelib}/haystack/  %{python_sitelib}/haystack/
40  %{python2_sitelib}/django_haystack-%{version}-py%{python2_version}.egg-info  %{python_sitelib}/django_haystack-%{version}-py?.?.egg-info
41    
 %files -n python3-%{module}  
 %doc AUTHORS README.rst docs  
 %{python3_sitelib}/haystack/  
 %{python3_sitelib}/django_haystack-%{version}-py%{python3_version}.egg-info  

Legend:
Removed from v.908944  
changed lines
  Added in v.908945

  ViewVC Help
Powered by ViewVC 1.1.30