Hello community, here is the log from the commit of package waf for openSUSE:Factory checked in at 2015-10-28 17:31:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/waf (Old) and /work/SRC/openSUSE:Factory/.waf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "waf" Changes: -------- --- /work/SRC/openSUSE:Factory/waf/waf.changes 2015-09-30 05:51:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.waf.new/waf.changes 2015-10-28 17:31:20.000000000 +0100 @@ -1,0 +2,19 @@ +Mon Oct 19 10:38:36 UTC 2015 - toddrme2178@gmail.com + +- Update to 1.8.15 + * Enabled multiple commands in run_str/rule + * Fixed conf.check(header_name=) so that it does not link test + by default + * Added a workaround for non-standard python installations + (Python bug 7352) - #1636 + * Enabled conf.check_cfg to use conf.env.env as os environment + if provided + * Enabled relative paths in --top and --out + * Enabled gzip compression for Waf file creation with Jython + * Added a workaround for building projects using IronPython + * Added a workarounds for pkg-config usage within msys2 and + for inconsistent Python 2 paths +- Implement update-alternatives in order to support upcoming + python 3 version. + +------------------------------------------------------------------- Old: ---- waf-1.8.14.tar.bz2 waf-1.8.14.tar.bz2.asc New: ---- waf-1.8.15.tar.bz2 waf-1.8.15.tar.bz2.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ waf.spec ++++++ --- /var/tmp/diff_new_pack.NUt7ku/_old 2015-10-28 17:31:20.000000000 +0100 +++ /var/tmp/diff_new_pack.NUt7ku/_new 2015-10-28 17:31:20.000000000 +0100 @@ -17,7 +17,7 @@ Name: waf -Version: 1.8.14 +Version: 1.8.15 Release: 0 Summary: A Python-based build system License: BSD-3-Clause @@ -30,6 +30,8 @@ BuildRequires: fdupes BuildRequires: python-devel Requires: python +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -67,15 +69,18 @@ popd # install the frontend -install -m 0755 -p -D waf-light %{buildroot}%{_bindir}/waf-%{python_version} -ln -s waf-%{python_version} %{buildroot}%{_bindir}/waf +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +install -m 0755 -p -D waf-light %{buildroot}%{_bindir}/waf-%{py_ver} +ln -s -f %{_sysconfdir}/alternatives/waf %{buildroot}%{_bindir}/waf +# create a dummy target for /etc/alternatives/waf +touch %{buildroot}%{_sysconfdir}/alternatives/waf # remove shebangs from and fix EOL for all scripts in wafadmin find %{buildroot}%{_datadir}/ -name '*.py' \ -exec sed -i -e '1{/^#!/d}' -e 's|\r$||g' {} \; # fix waf script shebang line -sed -i "1c#!%{_bindir}/python2" %{buildroot}%{_bindir}/waf-%{python_version} +sed -i "1c#!%{_bindir}/python2" %{buildroot}%{_bindir}/waf-%{py_ver} # remove x-bits from everything going to doc find demos utils -type f -exec chmod 0644 {} \; @@ -83,11 +88,21 @@ # remove duplicates %fdupes -s %{buildroot} +%post +"%_sbindir/update-alternatives" \ + --install %{_bindir}/waf waf %{_bindir}/waf-%{py_ver} 30 + +%postun +if [ $1 -eq 0 ] ; then + "%_sbindir/update-alternatives" --remove waf %{_bindir}/waf-%{py_ver} +fi + %files %defattr(-,root,root,-) %doc README TODO ChangeLog demos %{_bindir}/waf -%{_bindir}/waf-%{python_version} -%{_datadir}/waf +%{_bindir}/waf-%{py_ver} +%ghost %{_sysconfdir}/alternatives/waf +%{_datadir}/waf/ %changelog ++++++ waf-1.8.14.tar.bz2 -> waf-1.8.15.tar.bz2 ++++++ ++++ 2849 lines of diff (skipped)