7
0

6 Commits

Author SHA256 Message Date
ae16caf531 Accepting request 1312385 from devel:languages:python:Factory
- Update to version 20250923.c3cfac8:
  * Remove py_setup_args macro completely.
  * Move libalternative conf creation to FLAVOR_alternative_conf
  * Update default-prjconf for primary python: python313
  * Drop python38, add python314
  * Make RPM macro expansions POSIX sh-compatible

OBS-URL: https://build.opensuse.org/request/show/1312385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=60
2025-10-21 09:14:31 +00:00
93253d0ef3 - Update to version 20250923.c3cfac8:
* Remove py_setup_args macro completely.
  * Move libalternative conf creation to FLAVOR_alternative_conf
  * Update default-prjconf for primary python: python313
  * Drop python38, add python314
  * Make RPM macro expansions POSIX sh-compatible

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=209
2025-10-20 11:20:15 +00:00
56a8f0f589 Accepting request 1225282 from devel:languages:python:Factory
- Update to version 20241120.6ae645f:
  * Do sed in place

- Update to version 20241119.7609911:
  * Do not fix shebang on links to non-writeable files

- Update to version 20241111.a34b5d8:
  * Follow symlinks when replacing shebang with sed
  * Only sed the shebang in executable files

OBS-URL: https://build.opensuse.org/request/show/1225282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=59
2024-11-21 14:12:56 +00:00
f4e3900f5a - Update to version 20241120.6ae645f:
* Do sed in place

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=207
2024-11-20 12:21:18 +00:00
485b4e276c - Update to version 20241119.7609911:
* Do not fix shebang on links to non-writeable files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=206
2024-11-19 11:11:41 +00:00
cc8368f786 - Update to version 20241111.a34b5d8:
* Follow symlinks when replacing shebang with sed
  * Only sed the shebang in executable files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=205
2024-11-12 06:19:13 +00:00
6 changed files with 13 additions and 24 deletions

View File

@@ -3,4 +3,4 @@
<param name="url">git://github.com/openSUSE/python-rpm-macros.git</param>
<param name="changesrevision">80d37568d9732beb7fcc2cf27c5c08f9c01fade1</param></service><service name="tar_scm">
<param name="url">https://github.com/openSUSE/python-rpm-macros.git</param>
<param name="changesrevision">6ae645f7d1e17a9c25f0f167e0ffdfeeeb1c5c09</param></service></servicedata>
<param name="changesrevision">c3cfac80d6dd58d983cbd2eb087854aeca2908f2</param></service></servicedata>

View File

@@ -1,13 +0,0 @@
Index: python-rpm-macros-20241120.6ae645f/compile-macros.sh
===================================================================
--- python-rpm-macros-20241120.6ae645f.orig/compile-macros.sh
+++ python-rpm-macros-20241120.6ae645f/compile-macros.sh
@@ -19,7 +19,7 @@ done
echo "Setting buildset:"
echo "## Python Buildset Begin" | tee macros/040-builset-start
# First try to find the block from Factory
-sed -n '/## PYTHON MACROS BEGIN/,/## PYTHON MACROS END/ p' ~/.rpmmacros | tee macros/041-buildset
+sed -n '/## PYTHON MACROS BEGIN/,/## PYTHON MACROS END\|^### from/ p' ~/.rpmmacros | tee macros/041-buildset
# If that fails, find the old definitions (SUSE:SLE-15-SP?:GA, openSUSE:Leap:15.?)
if [ ! -s macros/041-buildset ]; then
sed -n '/%pythons/,/%add_python/ p' ~/.rpmmacros | tee macros/041-buildset

Binary file not shown.

Binary file not shown.

View File

@@ -1,8 +1,12 @@
-------------------------------------------------------------------
Wed Nov 27 12:04:32 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
Mon Oct 20 11:19:11 UTC 2025 - mcepl@cepl.eu
- Add patch fix-sp4ga-macros-inject.patch, to fix macros injection
with SP4:GA prjconf without ## PYTHON MACROS END. bsc#1233774
- Update to version 20250923.c3cfac8:
* Remove py_setup_args macro completely.
* Move libalternative conf creation to FLAVOR_alternative_conf
* Update default-prjconf for primary python: python313
* Drop python38, add python314
* Make RPM macro expansions POSIX sh-compatible
-------------------------------------------------------------------
Wed Nov 20 12:20:26 UTC 2024 - mcepl@cepl.eu

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-rpm-macros
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,12 @@
Name: python-rpm-macros
Version: 20241120.6ae645f
Version: 20250923.c3cfac8
Release: 0
Summary: RPM macros for building of Python modules
License: WTFPL
URL: https://github.com/opensuse/python-rpm-macros
Source: python-rpm-macros-%{version}.tar.xz
# PATCH-FIX-OPENSUSE fix-sp4ga-macros-inject.patch -- bsc#1233774
Patch0: fix-sp4ga-macros-inject.patch
# To keep user expectations reasonably sane
Recommends: python-rpm-generators
# Fedora compatibility