|
|
@ -8,7 +8,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-virtualenv
|
|
|
|
Name: python-virtualenv
|
|
|
|
Version: 15.0.3
|
|
|
|
Version: 15.0.3
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Tool to create isolated Python environments
|
|
|
|
Summary: Tool to create isolated Python environments
|
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
@ -114,6 +114,18 @@ cp %{buildroot}/%{_bindir}/py3-virtualenv %{buildroot}/%{_bindir}/virtualenv-%{p
|
|
|
|
# The versioned 2.x script was removed from upstream. Add it back.
|
|
|
|
# The versioned 2.x script was removed from upstream. Add it back.
|
|
|
|
cp %{buildroot}/%{_bindir}/virtualenv %{buildroot}/%{_bindir}/virtualenv-%{python2_version}
|
|
|
|
cp %{buildroot}/%{_bindir}/virtualenv %{buildroot}/%{_bindir}/virtualenv-%{python2_version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -n python2-virtualenv
|
|
|
|
|
|
|
|
ln -s %{_bindir}/virtualenv-%{python2_version} %{_bindir}/virtualenv-2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -n python3-virtualenv
|
|
|
|
|
|
|
|
ln -s %{_bindir}/virtualenv-%{python3_version} %{_bindir}/virtualenv-3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun -n python2-virtualenv
|
|
|
|
|
|
|
|
rm -f %{_bindir}/virtualenv-2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun -n python3-virtualenv
|
|
|
|
|
|
|
|
rm -f %{_bindir}/virtualenv-3
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python2-virtualenv
|
|
|
|
%files -n python2-virtualenv
|
|
|
|
%license LICENSE.txt
|
|
|
|
%license LICENSE.txt
|
|
|
|
%doc docs/*rst PKG-INFO AUTHORS.txt
|
|
|
|
%doc docs/*rst PKG-INFO AUTHORS.txt
|
|
|
@ -143,6 +155,9 @@ cp %{buildroot}/%{_bindir}/virtualenv %{buildroot}/%{_bindir}/virtualenv-%{pytho
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Oct 17 2016 Steve Milner <smilner@redhat.com> - 15.0.3-2
|
|
|
|
|
|
|
|
- Added MAJOR symlinks per bz#1385240.
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 8 2016 Steve Milner <smilner@redhat.com> - 15.0.3-1
|
|
|
|
* Mon Aug 8 2016 Steve Milner <smilner@redhat.com> - 15.0.3-1
|
|
|
|
- Update for upstream release.
|
|
|
|
- Update for upstream release.
|
|
|
|
|
|
|
|
|
|
|
|