Hello community, here is the log from the commit of package genders for openSUSE:Factory checked in at 2020-01-07 23:55:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/genders (Old) and /work/SRC/openSUSE:Factory/.genders.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "genders" Tue Jan 7 23:55:33 2020 rev:8 rq:761606 version:1.27.3 Changes: -------- --- /work/SRC/openSUSE:Factory/genders/genders.changes 2019-11-30 10:41:18.432143896 +0100 +++ /work/SRC/openSUSE:Factory/.genders.new.6675/genders.changes 2020-01-07 23:56:12.608120282 +0100 @@ -1,0 +2,5 @@ +Thu Dec 19 14:19:10 UTC 2019 - Christian Goll <[email protected]> + +- moved python plugin to python3 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ genders.spec ++++++ --- /var/tmp/diff_new_pack.ikkOaP/_old 2020-01-07 23:56:14.132121074 +0100 +++ /var/tmp/diff_new_pack.ikkOaP/_new 2020-01-07 23:56:14.140121078 +0100 @@ -40,8 +40,6 @@ BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: lua-devel -BuildRequires: python -BuildRequires: python-devel BuildRequires: python3 BuildRequires: python3-devel BuildRequires: perl(ExtUtils::MakeMaker) @@ -79,13 +77,13 @@ %description devel genders headers and libraries files needed for development -%package -n python-%{name} +%package -n python3-%{name} Summary: Python bindings for genders Group: Development/Languages/Python Requires: %{name} = %{version} Requires: python -%description -n python-%{name} +%description -n python3-%{name} Necessary files for using genders with Python. %package -n lua-%{name} @@ -150,6 +148,9 @@ libtoolize -f -i automake -a -f autoconf --force +mkdir -p bin/ +ln -s $(which python3) bin/python +export PATH=$(pwd)/bin/:${PATH} %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \ %{?_with_perl_extensions} \ %{?_without_perl_extensions} \ @@ -184,6 +185,7 @@ rm -v %{buildroot}%{_libdir}/libgendersplusplus.la %endif rm -v %{buildroot}%{_libdir}/libgenders.la +rm -rv %{buildroot}%{_libdir}/python*/site-packages/__pycache__ find %{buildroot}%{_libdir}/lua -name \*.la -delete mkdir -p %{buildroot}%{_sysconfdir} # create sample config, but remove comments @@ -241,7 +243,7 @@ %{_mandir}/man3/libgenders* %if %{?_with_python_extensions:1}%{!?_with_python_extensions:0} -%files -n python-%{name} +%files -n python3-%{name} %{_libdir}/python* %endif
