From fd3006512c6b851fe8227f87791cf1f655942d398f31c2d0ba5b1e9e3fd8beab Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 7 Mar 2019 12:30:28 +0000 Subject: [PATCH] Accepting request 682447 from home:mcepl:branches:devel:languages:python:Factory - bsc#1128323: Update to version 20190307.fbaed33 bsc#1128323: * Add --ignore to pytest calls to ignore build directories. - Update to version 20190221.08f1194: * Actually make pytest into function to capture arguments as well * Add pytest definitions. - Use upstream-recommended %{_rpmconfigdir}/macros.d directory for the rpm macros. - Include license and readme. - Update to version 20181211.ab6f37c: * Fix an issue with epoch printing having too many \ * Remove packaging/ dir - Update to version 1540475376.149a499: * add epoch while printing "Provides:" - Update URL - Add _service and use the tar_scm/recompress/set_version source services to update the package. Package updates can now be done with "osc service run" - Drop README.packaging - Drop update.sh . This is now handled via the source services - version bump to 2018.08.15.ada6d63 - version bump to 2017.12.22.d9968ab * better fix for macro usage in rpm 4.14 - version bump to 2017.12.07.9d4e9eb * Fix macro usage for rpm 4.14 - version bump to 2017.08.09.32550d0 - use %_specfile macro to locate the spec file, this should help with factory-auto bot problems as well as issue#3 - version bump to 2017.06.29.107ac7a - fix skip_python2 in environment where python2 is not actually present - version bump to 2017.06.21.6641889 - introduce smarter buildset support - fix %python_files on nonstandard build sets - introduce %python_for_executables in favor of magically taking "last python in %pythons" - fix %licence tag handling (gh#opensuse/python-rpm-macros#4) - version bump to 2017.05.09.fc237de - fix badly generated %posttrans snippets in cases where old %python_install_alternative syntax is used for secondary files - rework %if-macros - introduce %python_flavor, which configures behavior of generic %python_* macros, and can be overriden by the user - add --force to %python_install, to make install order fully deterministic - version bump to 2017.04.27.d2ca08c - switch versioning scheme to date-based - switch from using service to a custom script update.sh - auto-generate Provides: python2-modname in old distributions (only for main package though) - generate %posttrans sections to fix up alternatives after package rename - fix condition where %python_files would emit wrong thing when %have_python2 is undefined - add --quiet to uninstall_alternative, to silence spurious errors - check for file existence instead of package number in uninstall_alternative - remove spurious warnings about "unknown arguments" (by making ALL possible arguments known) - fix a bug with %python_clone not working without %python_install_alternative being used - in %python_files, detect and emit an error if %python_subpackages is not used - more intelligent %python_install_alternatives - multiline macro support - support for %requires_ge and %requires_eq as well as Requires(pre) and friends - "%python_clone -a" auto-creates alternative entries - implement %python_clone to clone files for alternatives - support "Supplements" and "Enhances" tags - support packageand() expression - fix handling of %name in requires - make macros more resilient to missing %python_subpackages - expand %python_bin_suffix properly - let %python_module expand *all* its arguments, not just the first (so that %{python_module x >= 1.0} works as intended) - copy BuildArch to subpackages - on requires/provides etc., perform macro expansion *after* replacing 'python' name, to allow for tricking the rewriter to not replace - add BuildRoot to make SLE11 happy - check presence of %python_files even on new-style distros - better visibility of the %python_files error - update service, use repository and tarball name "python-rpm-macros" - introduce %python_prefix - Set RPM group - change service version generator to use "1.0.git" instead of "1.0git" - rework %python_alternative and remove support for %python_alternative_man - tell service to compress the tar file - set service to localonly mode - current macro version - initial commit OBS-URL: https://build.opensuse.org/request/show/682447 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=62 --- python-rpm-macros.changes | 2 +- python-rpm-macros.spec | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/python-rpm-macros.changes b/python-rpm-macros.changes index a2ab2ee..3d1e87d 100644 --- a/python-rpm-macros.changes +++ b/python-rpm-macros.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Thu Mar 07 11:18:35 UTC 2019 - mcepl@cepl.eu -- Update to version 20190307.fbaed33 bsc#1128323: +- bsc#1128323: Update to version 20190307.fbaed33 bsc#1128323: * Add --ignore to pytest calls to ignore build directories. ------------------------------------------------------------------- diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index 485c4ba..1752232 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -22,12 +22,11 @@ Release: 0 Summary: RPM macros for building of Python modules License: WTFPL Group: Development/Tools/Other -Url: https://github.com/opensuse/python-rpm-macros +URL: https://github.com/opensuse/python-rpm-macros Source: python-rpm-macros-%{version}.tar.bz2 # Fedora compatibility Provides: python2-rpm-macros Provides: python3-rpm-macros -#!BuildIgnore: python-rpm-macros BuildArch: noarch %description