|
|
@ -2,19 +2,19 @@
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-virtualenv
|
|
|
|
Name: python-virtualenv
|
|
|
|
Version: 1.10.1
|
|
|
|
Version: 1.11.6
|
|
|
|
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
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: http://pypi.python.org/pypi/virtualenv
|
|
|
|
URL: http://pypi.python.org/pypi/virtualenv
|
|
|
|
Source0: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
|
|
|
|
Source0: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
Requires: python-setuptools, python2-devel
|
|
|
|
Requires: python-setuptools
|
|
|
|
|
|
|
|
Requires: python2-devel
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
%if 0%{?fedora}
|
|
|
|
BuildRequires: python-sphinx
|
|
|
|
BuildRequires: python-sphinx
|
|
|
@ -39,32 +39,31 @@ licensed under an MIT-style permissive license.
|
|
|
|
# Build docs on Fedora
|
|
|
|
# Build docs on Fedora
|
|
|
|
%if 0%{?fedora} > 0
|
|
|
|
%if 0%{?fedora} > 0
|
|
|
|
%{__python} setup.py build_sphinx
|
|
|
|
%{__python} setup.py build_sphinx
|
|
|
|
|
|
|
|
rm -f build/sphinx/html/.buildinfo
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
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
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%doc docs/*rst PKG-INFO AUTHORS.txt LICENSE.txt
|
|
|
|
%doc docs/*rst PKG-INFO AUTHORS.txt LICENSE.txt
|
|
|
|
# Include sphinx docs on Fedora
|
|
|
|
# Include sphinx docs on Fedora
|
|
|
|
%if 0%{?fedora} > 0
|
|
|
|
%if 0%{?fedora} > 0
|
|
|
|
%doc build/sphinx/*
|
|
|
|
%doc build/sphinx/*
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# For noarch packages: sitelib
|
|
|
|
|
|
|
|
%{python_sitelib}/*
|
|
|
|
%{python_sitelib}/*
|
|
|
|
%attr(755,root,root) %{_bindir}/virtualenv*
|
|
|
|
%{_bindir}/virtualenv*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Jul 09 2014 Matthias Runge <mrunge@redhat.com> - 1.11.6-1
|
|
|
|
|
|
|
|
- update to 1.11.6:
|
|
|
|
|
|
|
|
Upstream updated setuptools to 3.6, updated pip to 1.5.6
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.1-2
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|