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

Diff of /cauldron/python-django-haystack/current/SPECS/python-django-haystack.spec

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

revision 1430837 by daviddavid, Fri Mar 1 22:12:54 2019 UTC revision 1430838 by wally, Wed Aug 21 13:36:49 2019 UTC
# Line 2  Line 2 
2    
3  Name:           python-%{module}  Name:           python-%{module}
4  Version:        2.8.1  Version:        2.8.1
5  Release:        %mkrel 1  Release:        %mkrel 2
6  Summary:        Django module for modular search  Summary:        Django module for modular search
7  Group:          Development/Python  Group:          Development/Python
8  License:        BSD  License:        BSD
# Line 18  you to swap things in and out as you nee Line 18  you to swap things in and out as you nee
18    
19  #---------------------------------------------------------------------------  #---------------------------------------------------------------------------
20    
 %package -n     python2-%{module}  
 Summary:        Django module for modular search  
 Group:          Development/Python  
 BuildRequires:  pythonegg(2)(setuptools)  
 BuildRequires:  pythonegg(2)(setuptools-scm)  
   
 Obsoletes:      python-django-haystack < 2.4.1-5  
 Provides:       python-django-haystack = %{version}-%{release}  
   
 %description -n python2-%{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.  
   
 #---------------------------------------------------------------------------  
   
21  %package -n     python3-%{module}  %package -n     python3-%{module}
22  Summary:        Django module for modular search  Summary:        Django module for modular search
23  Group:          Development/Python  Group:          Development/Python
24  BuildRequires:  pythonegg(3)(setuptools)  BuildRequires:  python3dist(setuptools)
25  BuildRequires:  pythonegg(3)(setuptools-scm)  BuildRequires:  python3dist(setuptools-scm)
26    
27  %description -n python3-%{module}  %description -n python3-%{module}
28  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 54  you to swap things in and out as you nee Line 37  you to swap things in and out as you nee
37    
38  find . -name '.gitignore' -delete  find . -name '.gitignore' -delete
39    
 cp -a . %{py3dir}  
   
40  %build  %build
 %py2_build  
   
 pushd %{py3dir}  
41  %py3_build  %py3_build
 popd  
42    
43  %install  %install
 %py2_install  
   
 pushd %{py3dir}  
44  %py3_install  %py3_install
 popd  
   
 %files -n python2-%{module}  
 %doc AUTHORS README.rst docs  
 %{python2_sitelib}/haystack/  
 %{python2_sitelib}/django_haystack-%{version}-py%{python2_version}.egg-info  
45    
46  %files -n python3-%{module}  %files -n python3-%{module}
47  %doc AUTHORS README.rst docs  %doc AUTHORS README.rst docs

Legend:
Removed from v.1430837  
changed lines
  Added in v.1430838

  ViewVC Help
Powered by ViewVC 1.1.30