|
|
@ -2,8 +2,8 @@
|
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-virtualenv
|
|
|
|
Name: python-virtualenv
|
|
|
|
Version: 1.5.1
|
|
|
|
Version: 1.7
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Tool to create isolated Python environments
|
|
|
|
Summary: Tool to create isolated Python environments
|
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
@ -13,7 +13,7 @@ Source0: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-%
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-devel, python-sphinx
|
|
|
|
Requires: python-setuptools, python-devel
|
|
|
|
Requires: python-setuptools, python-devel
|
|
|
|
|
|
|
|
|
|
|
|
# Fedora requires python-setuptools-devel while EL5 fails on install
|
|
|
|
# Fedora requires python-setuptools-devel while EL5 fails on install
|
|
|
@ -37,27 +37,33 @@ licensed under an MIT-style permissive license.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
# Build code
|
|
|
|
%{__python} setup.py build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
# Build docs
|
|
|
|
|
|
|
|
%{__python} setup.py build_sphinx
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
rm -f build/sphinx/html/.buildinfo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc docs/index.txt docs/license.txt docs/news.txt PKG-INFO
|
|
|
|
%doc docs/*txt build/sphinx/* PKG-INFO AUTHORS.txt LICENSE.txt HACKING
|
|
|
|
# For noarch packages: sitelib
|
|
|
|
# For noarch packages: sitelib
|
|
|
|
%{python_sitelib}/*
|
|
|
|
%{python_sitelib}/*
|
|
|
|
%attr(755,root,root) %{_bindir}/virtualenv
|
|
|
|
%attr(755,root,root) %{_bindir}/virtualenv
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Dec 20 2011 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.7-1
|
|
|
|
|
|
|
|
- Update for https://bugzilla.redhat.com/show_bug.cgi?id=769067
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-2
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|