6
0

Compare commits

..

4 Commits

Author SHA256 Message Date
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
3 changed files with 0 additions and 21 deletions

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

View File

@@ -1,9 +1,3 @@
-------------------------------------------------------------------
Wed Nov 27 12:04:32 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Add patch fix-sp4ga-macros-inject.patch, to fix macros injection
with SP4:GA prjconf without ## PYTHON MACROS END. bsc#1233774
-------------------------------------------------------------------
Wed Nov 20 12:20:26 UTC 2024 - mcepl@cepl.eu

View File

@@ -23,8 +23,6 @@ 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