|
@@ -1,7 +1,7 @@
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
%define ver 0.6
|
|
|
-%define rel 1
|
|
|
+%define rel 2
|
|
|
|
|
|
Summary: Python toolkit for generation of output for the web
|
|
|
Name: python-genshi
|
|
@@ -16,6 +16,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
Requires: python-babel >= 0.8 python-setuptools >= 0.6a2
|
|
|
BuildRequires: python-devel
|
|
|
BuildRequires: python-babel >= 0.8 python-setuptools >= 0.6a2
|
|
|
+BuildArch: noarch
|
|
|
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
@@ -26,6 +27,8 @@ Genshi is a Python library that provides an integrated set of components for par
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n Genshi-%{version}
|
|
|
+echo %python_sitearch
|
|
|
+%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)"
|
|
|
|
|
|
%build
|
|
|
python setup.py build
|
|
@@ -42,11 +45,17 @@ python setup.py install --root=${RPM_BUILD_ROOT}
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
%doc COPYING ChangeLog README.txt doc examples
|
|
|
-%{python_sitearch}/Genshi-*.egg-info
|
|
|
-%{python_sitearch}/genshi
|
|
|
+##%{python_sitearch}/Genshi-*.egg-info
|
|
|
+##%{python_sitearch}/genshi
|
|
|
+%{python_sitelib}/Genshi-*.egg-info
|
|
|
+%{python_sitelib}/genshi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Apr 13 2011 Shu KONNO <owa@bg.wakwak.com> 0.6-2
|
|
|
+- fixed python path
|
|
|
+- added BuildArch: noarch
|
|
|
+
|
|
|
* Sun Apr 10 2011 IWAI, Masaharu <iwai@alib.jp> 0.6-1
|
|
|
- new upstream release
|
|
|
- add BuildRequires: python-devel
|