diff --git a/python-virtualenv.spec b/python-virtualenv.spec index 7bc48d4..c800cb3 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -1,5 +1,5 @@ Name: python-virtualenv -Version: 16.0.0 +Version: 16.1.0 Release: 1mamba Summary: Virtual Python Environment builder Group: System/Libraries/Python @@ -50,20 +50,24 @@ virtualenv is a tool to create isolated Python environments. install -d %{buildroot}%{_mandir}/man1 -help2man \ - --version-string="virtualenv %{version}" \ - --output=%{buildroot}%{_mandir}/man1/virtualenv.1 \ - ./virtualenv.py +#help2man \ +# --version-string="virtualenv %{version}" \ +# --output=%{buildroot}%{_mandir}/man1/virtualenv.1 \ +# ./virtualenv.py -%if "%{?with_pyver}" == "3" +%if "%{?with_pyver}" == "36" ln -s virtualenv %{buildroot}%{_bindir}/virtualenv3 echo "%{_bindir}/virtualenv3" >> %{name}.filelist %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 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 - #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 %defattr(-,root,root) -%{_mandir}/man1/virtualenv*.1* +#%{_mandir}/man1/virtualenv*.1* %changelog +* Thu Jan 03 2019 Silvan Calarco 16.1.0-1mamba +- update to 16.1.0 + * Fri Aug 17 2018 Automatic Build System 16.0.0-1mamba - automatic version update by autodist