6
0

Compare commits

...

11 Commits

Author SHA256 Message Date
ac70c83ce3 Revert to -r8af40c15864d0a37299fd38bee35afbf 2025-08-21 13:46:05 +02:00
f54d0761fd - 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
2025-08-21 13:44:52 +02:00
9b6338b53d - 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
2025-08-21 13:44:52 +02:00
bbc9a432e9 - 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
2025-08-21 13:44:51 +02:00
9e0d57a43a Accepting request 1183805 from devel:languages:python:Factory
- Update to version 20240618.c146b29:
  * Add %FLAVOR_pytest and %FLAVOR_pyunittest variants

OBS-URL: https://build.opensuse.org/request/show/1183805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=58
2024-06-29 13:16:10 +00:00
6907014230 - Update to version 20240618.c146b29:
* Add %FLAVOR_pytest and %FLAVOR_pyunittest variants

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=203
2024-06-28 08:17:41 +00:00
fec770167b Accepting request 1181469 from devel:languages:python:Factory
- Update to version 20240618.1e386da:
  * Fix python_clone sed regex
- Update to version 20240614.02920b8:
  * Make sure that RPM_BUILD_ROOT env is set
  * don't eliminate any cmdline arguments in the shebang line
  * Create python313 macros

OBS-URL: https://build.opensuse.org/request/show/1181469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=57
2024-06-19 14:36:17 +00:00
649ad2d2fb - Update to version 20240618.1e386da:
* Fix python_clone sed regex

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=201
2024-06-18 10:25:11 +00:00
e077289d2e - Update to version 20240614.02920b8:
* Make sure that RPM_BUILD_ROOT env is set
  * don't eliminate any cmdline arguments in the shebang line
  * Create python313 macros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=200
2024-06-17 06:44:28 +00:00
70307e5c72 Accepting request 1178328 from devel:languages:python:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1178328
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=56
2024-06-04 10:49:32 +00:00
204c7b5c48 - Update to version 20240415.c664b45:
* Fix typo 310 -> 312 in default-prjconf

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=198
2024-05-27 12:44:21 +00:00
6 changed files with 71 additions and 5 deletions

View File

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

View File

@@ -0,0 +1,13 @@
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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9db618abc6ea63e2594e4da0a7d0e60941db8044117a0c018f468d6ec98dbcb
size 20016

BIN
python-rpm-macros-20241120.6ae645f.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,54 @@
-------------------------------------------------------------------
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
- Update to version 20241120.6ae645f:
* Do sed in place
-------------------------------------------------------------------
Tue Nov 19 11:10:01 UTC 2024 - mcepl@cepl.eu
- Update to version 20241119.7609911:
* Do not fix shebang on links to non-writeable files
-------------------------------------------------------------------
Tue Nov 12 06:16:35 UTC 2024 - mcepl@cepl.eu
- Update to version 20241111.a34b5d8:
* Follow symlinks when replacing shebang with sed
* Only sed the shebang in executable files
-------------------------------------------------------------------
Fri Jun 28 08:16:12 UTC 2024 - mcepl@cepl.eu
- Update to version 20240618.c146b29:
* Add %FLAVOR_pytest and %FLAVOR_pyunittest variants
-------------------------------------------------------------------
Tue Jun 18 10:24:42 UTC 2024 - mcepl@cepl.eu
- Update to version 20240618.1e386da:
* Fix python_clone sed regex
-------------------------------------------------------------------
Mon Jun 17 06:42:43 UTC 2024 - mcepl@cepl.eu
- Update to version 20240614.02920b8:
* Make sure that RPM_BUILD_ROOT env is set
* don't eliminate any cmdline arguments in the shebang line
* Create python313 macros
-------------------------------------------------------------------
Mon May 27 12:43:48 UTC 2024 - mcepl@cepl.eu
- Update to version 20240415.c664b45:
* Fix typo 310 -> 312 in default-prjconf
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 2 14:54:38 UTC 2024 - Ben Greiner <code@bnavigator.de> Fri Feb 2 14:54:38 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@@ -17,12 +17,14 @@
Name: python-rpm-macros Name: python-rpm-macros
Version: 20240202.501440e Version: 20241120.6ae645f
Release: 0 Release: 0
Summary: RPM macros for building of Python modules Summary: RPM macros for building of Python modules
License: WTFPL License: WTFPL
URL: https://github.com/opensuse/python-rpm-macros URL: https://github.com/opensuse/python-rpm-macros
Source: python-rpm-macros-%{version}.tar.xz 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 # To keep user expectations reasonably sane
Recommends: python-rpm-generators Recommends: python-rpm-generators
# Fedora compatibility # Fedora compatibility