/[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 886811 by daviddavid, Sun Jun 21 16:18:13 2015 UTC revision 886812 by daviddavid, Wed Oct 7 05:27:52 2015 UTC
# Line 2  Line 2 
2    
3  Name:           python-%{module}  Name:           python-%{module}
4  Version:        2.4.0  Version:        2.4.0
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
9  URL:            http://haystacksearch.org/  URL:            http://haystacksearch.org/
10  Source:         https://pypi.python.org/packages/source/d/%{module}/%{module}-%{version}.tar.gz  Source:         https://pypi.python.org/packages/source/d/%{module}/%{module}-%{version}.tar.gz
11  BuildArch:      noarch  BuildArch:      noarch
12  BuildRequires:  python-setuptools  BuildRequires:  pythonegg(2)(setuptools)
13    
14  Requires:       python-django  Requires:       pythonegg(2)(django)
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 24  you to swap things in and out as you nee Line 24  you to swap things in and out as you nee
24  %package -n     python3-%{module}  %package -n     python3-%{module}
25  Summary:        Django module for modular search  Summary:        Django module for modular search
26  Group:          Development/Python  Group:          Development/Python
27  BuildRequires:  python3-setuptools  BuildRequires:  pythonegg(3)(setuptools)
28    
29  Requires:       python3-django  Requires:       pythonegg(3)(django)
30    
31  %description -n python3-%{module}  %description -n python3-%{module}
32  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 44  find . -name '.gitignore' -delete Line 44  find . -name '.gitignore' -delete
44  cp -a . %{py3dir}  cp -a . %{py3dir}
45    
46  %build  %build
47  %{__python} setup.py build  %py2_build
48    
49  pushd %{py3dir}  pushd %{py3dir}
50  %{__python3} setup.py build  %py3_build
51  popd  popd
52    
53  %install  %install
54  %{__python} setup.py install -O1 --root %{buildroot} --skip-build  %py2_install
55    
56  pushd %{py3dir}  pushd %{py3dir}
57  %{__python3} setup.py install -O1 --root=%{buildroot} --skip-build  %py3_install
58  popd  popd
59    
60  %files  %files
61  %doc AUTHORS README.rst docs  %doc AUTHORS README.rst docs
62  %{python_sitelib}/haystack/  %{python2_sitelib}/haystack/
63  %{python_sitelib}/django_haystack-%{version}-py%{pyver}.egg-info  %{python2_sitelib}/django_haystack-%{version}-py%{python2_version}.egg-info
64    
65  %files -n python3-%{module}  %files -n python3-%{module}
66  %doc AUTHORS README.rst docs  %doc AUTHORS README.rst docs
67  %{python3_sitelib}/haystack/  %{python3_sitelib}/haystack/
68  %{python3_sitelib}/django_haystack-%{version}-py%{py3ver}.egg-info  %{python3_sitelib}/django_haystack-%{version}-py%{python3_version}.egg-info

Legend:
Removed from v.886811  
changed lines
  Added in v.886812

  ViewVC Help
Powered by ViewVC 1.1.30