update to 16.1.0 [release 16.1.0-1mamba;Thu Jan 03 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 16:50:41 +01:00
parent 4a17e754c5
commit 7aa4a7c52a

View File

@ -1,5 +1,5 @@
Name: python-virtualenv Name: python-virtualenv
Version: 16.0.0 Version: 16.1.0
Release: 1mamba Release: 1mamba
Summary: Virtual Python Environment builder Summary: Virtual Python Environment builder
Group: System/Libraries/Python Group: System/Libraries/Python
@ -50,20 +50,24 @@ virtualenv is a tool to create isolated Python environments.
install -d %{buildroot}%{_mandir}/man1 install -d %{buildroot}%{_mandir}/man1
help2man \ #help2man \
--version-string="virtualenv %{version}" \ # --version-string="virtualenv %{version}" \
--output=%{buildroot}%{_mandir}/man1/virtualenv.1 \ # --output=%{buildroot}%{_mandir}/man1/virtualenv.1 \
./virtualenv.py # ./virtualenv.py
%if "%{?with_pyver}" == "3" %if "%{?with_pyver}" == "36"
ln -s virtualenv %{buildroot}%{_bindir}/virtualenv3 ln -s virtualenv %{buildroot}%{_bindir}/virtualenv3
echo "%{_bindir}/virtualenv3" >> %{name}.filelist echo "%{_bindir}/virtualenv3" >> %{name}.filelist
%else %else
%if "%{?with_pyver}" == "3"
mv %{buildroot}%{_bindir}/virtualenv %{buildroot}%{_bindir}/virtualenv33
sed -i "s|%{_bindir}/virtualenv|%{_bindir}/virtualenv33|" %{name}.filelist
%else
mv %{buildroot}%{_bindir}/virtualenv %{buildroot}%{_bindir}/virtualenv2 mv %{buildroot}%{_bindir}/virtualenv %{buildroot}%{_bindir}/virtualenv2
sed -i "s|%{_bindir}/virtualenv|%{_bindir}/virtualenv2|" %{name}.filelist sed -i "s|%{_bindir}/virtualenv|%{_bindir}/virtualenv2|" %{name}.filelist
mv %{buildroot}%{_mandir}/man1/virtualenv.1 %{buildroot}%{_mandir}/man1/virtualenv2.1 #mv %{buildroot}%{_mandir}/man1/virtualenv.1 %{buildroot}%{_mandir}/man1/virtualenv2.1
%endif
%endif %endif
#echo "%{_mandir}/man1/virtualenv.1" >> %{name}.filelist #echo "%{_mandir}/man1/virtualenv.1" >> %{name}.filelist
@ -74,9 +78,12 @@ mv %{buildroot}%{_mandir}/man1/virtualenv.1 %{buildroot}%{_mandir}/man1/virtuale
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%{_mandir}/man1/virtualenv*.1* #%{_mandir}/man1/virtualenv*.1*
%changelog %changelog
* Thu Jan 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 16.1.0-1mamba
- update to 16.1.0
* Fri Aug 17 2018 Automatic Build System <autodist@mambasoft.it> 16.0.0-1mamba * Fri Aug 17 2018 Automatic Build System <autodist@mambasoft.it> 16.0.0-1mamba
- automatic version update by autodist - automatic version update by autodist