1
0

Compare commits

..

61 Commits

Author SHA256 Message Date
Ana Guerrero
b9c7e0ab71 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
1ab088708d - 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
8a77a3d75c - 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
132fec6547 - 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
Ana Guerrero
a359b6ba36 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
Ana Guerrero
9dda324db6 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
Ana Guerrero
ea0be8ae57 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
Ana Guerrero
0043b33bcd Accepting request 1143743 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/1143743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=55
2024-02-04 18:06:38 +00:00
Ana Guerrero
ca19f3980b Accepting request 1134299 from devel:languages:python:Factory
- Update to version 20231220.98427f3:
  * fix python2_compile macro
- Update to version 20231207.46c2ec3:
  * make FLAVOR_compile compatible with python2
- Update to version 20231204.dd64e74:
  * Combine fix_shebang in one line
  * New macro FLAVOR_fix_shebang_path
  * Use realpath in %python_clone macro shebang replacement
  * Compile and fix_shebang in %python_install macros

OBS-URL: https://build.opensuse.org/request/show/1134299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=54
2023-12-21 22:37:19 +00:00
Ana Guerrero
6fddbefacc Accepting request 1116747 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/1116747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=53
2023-10-12 21:38:44 +00:00
Ana Guerrero
339c189248 Accepting request 1115894 from devel:languages:python:Factory
- Update to version 20231005.bf2d3ab:
  * Fix shebang also in sbin with macro _fix_shebang

OBS-URL: https://build.opensuse.org/request/show/1115894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=52
2023-10-08 10:17:44 +00:00
Dominique Leuenberger
cf07aa36a8 Accepting request 1093381 from devel:languages:python:Factory
- Update to version 20230304.050c1a4 (bsc#1209881, bsc#1209353):

OBS-URL: https://build.opensuse.org/request/show/1093381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=51
2023-06-16 14:53:11 +00:00
Dominique Leuenberger
be08f3df1b Accepting request 1091829 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/1091829
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=50
2023-06-10 19:44:14 +00:00
Dominique Leuenberger
1efb247b04 Accepting request 1077160 from devel:languages:python:Factory
- Update to version 20230403.29b58f8:
  * Add python311 to buildset

OBS-URL: https://build.opensuse.org/request/show/1077160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=49
2023-04-06 13:55:15 +00:00
Dominique Leuenberger
ecdd43c859 Accepting request 1069422 from devel:languages:python:Factory
- Update to version 20230304.050c1a4:
  * Add %#FLAVOR#_fix_shebang macro, call in %#FLAVOR#_pyproject_install

OBS-URL: https://build.opensuse.org/request/show/1069422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=48
2023-03-06 17:54:03 +00:00
Dominique Leuenberger
463a1ab915 Accepting request 1061988 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/1061988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=47
2023-02-01 15:38:19 +00:00
Dominique Leuenberger
0ebde593e5 Accepting request 1036851 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/1036851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=46
2022-11-21 14:28:41 +00:00
Dominique Leuenberger
42fa3aca5f Accepting request 1003105 from devel:languages:python:Factory
- Update to version 20220912.f91cae2:
  * fix double expanded compileall in %{$python_pyproject_install}
  * forgotten '%'

- Update to version 20220911.111e4c9:
  * fix gh#openSUSE/python-rpm-macros#141: allow parameters in sections
  * more compact alternative scriptlets without newline
  * Update flavor sets in README
  * Document flavored PEP517 macros
  * flavorize pyproject macros
  * Avoid to install incorrect PEP610 metadata

OBS-URL: https://build.opensuse.org/request/show/1003105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=45
2022-09-17 18:08:16 +00:00
Dominique Leuenberger
45fa1aa525 Accepting request 998165 from devel:languages:python:Factory
- Update to version 20220809.cf8a7b8 (bsc#1201041):

OBS-URL: https://build.opensuse.org/request/show/998165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=44
2022-08-19 15:52:33 +00:00
Dominique Leuenberger
0e94a3beb8 Accepting request 995112 from devel:languages:python:Factory
- Update to version 20220809.cf8a7b8:
  * Pass `--ignore-installed` to `pip install` in %pyproject_install

OBS-URL: https://build.opensuse.org/request/show/995112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=43
2022-08-18 14:48:33 +00:00
Richard Brown
b95651d0eb Accepting request 991154 from devel:languages:python:Factory
- Update to version 20220725.2ae32d5:
  * restore end-of-line in alternative scriptlets
- Update to version 20220721.0a061eb:
  * make python_flavored_alternatives less verbose
  * Move install of libalts from sciptlets to python_clone -a -- close gh#openSUSE/python-rpm-macros#133
  * hard-code %py_ver -- fix gh#openSUSE/python-rpm-macros#131
  * fix gh#openSUSE/python-rpm-macros#130 print proper error on missing python interpreter

OBS-URL: https://build.opensuse.org/request/show/991154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=42
2022-07-29 14:46:59 +00:00
Dominique Leuenberger
036bea3de3 Accepting request 983633 from devel:languages:python:Factory
- Update to version 20220618.1ed0055:
  * Update compile-macros.sh

OBS-URL: https://build.opensuse.org/request/show/983633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=41
2022-06-19 19:10:35 +00:00
Dominique Leuenberger
c257faa3d4 Accepting request 982055 from devel:languages:python:Factory
- Update to version 20220610.6dc4cb8:
  * create python_flavored_alternatives and use for testing
- Update to version 20220505.4ab53ec:
  * Switch primary_interpreter from python38 to python310
  * Avoid bashism in %()
  * fix flavor executable substitution
  * Keep python38 as primary python3
  * Add python310 to the buildset
  * Move python39 to the primary place in %pythons
  * Disable python36 flavor in Factory buildset
  * Add python310 flavor macros to compile set
  * no newline after python_install_alternative

OBS-URL: https://build.opensuse.org/request/show/982055
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=40
2022-06-14 22:31:53 +00:00
Dominique Leuenberger
069ccbfdde Accepting request 944185 from devel:languages:python:Factory
- Update to version 20220106.80d3756:
  * Keep python38 as primary python3
  * Add python310 to the buildset
  * Move python39 to the primary place in %pythons
  * Disable python36 flavor in Factory buildset

OBS-URL: https://build.opensuse.org/request/show/944185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=39
2022-01-07 11:45:08 +00:00
Dominique Leuenberger
3606e3ccb1 Accepting request 937339 from devel:languages:python:Factory
- Update to version 20211209.3834c04:
  * fix flavor executable substitution
- Update to version 20211208.d090fb9:
  * Add python310 flavor macros to compile set

OBS-URL: https://build.opensuse.org/request/show/937339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=38
2021-12-26 12:30:15 +00:00
Dominique Leuenberger
b370731285 Accepting request 926976 from devel:languages:python:Factory
- Update to version 20211022.38e7c70:
  * no newline after python_install_alternative
- Update to version 20211018.c7614ad:
  * remove ghost gh#openSUSE/python-rpm-macros#118
  * revert reset name change
  * fix README
  * move u-a/la switch for scriptlets to build phase
- Update to version 20211001.fc6c04e:
  * Supporting libalternatives.

OBS-URL: https://build.opensuse.org/request/show/926976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=37
2021-10-25 13:17:06 +00:00
Dominique Leuenberger
593ccf5360 Accepting request 904437 from devel:languages:python:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/904437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=36
2021-07-09 21:56:35 +00:00
Dominique Leuenberger
d29234a138 Accepting request 869588 from devel:languages:python:Factory
- Update to version 20210204.937b8d8:
  * fixup: last PR was missing a commit for pyproject_wheel syntax errors
- Update to version 20210204.90721de:
  * mv -n does not work in SLE12
  * Update PEP517/518 macro documentation in README
  * Let pyproject_install search for more locations for wheels or specify explicitely
  * Read .rpmmacros (= prjconf Macro: definitions) for default buildset
- Update to version 20210203.0d8a91e:
  * don't define skip_python2 by default

OBS-URL: https://build.opensuse.org/request/show/869588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=35
2021-02-08 10:47:09 +00:00
Dominique Leuenberger
02c78cb498 Accepting request 868221 from devel:languages:python:Factory
- Update to version 20210131.ec7577b:
  * remove old commented path finding section
  * expand python_subpackage_only not earlier than in python_subpackages call
  * make the path and var macros return a non-interrupted string even when the flavor is not installed

- Update to version 20210131.1450767:
  * only add parentheses when boolean operators are used
  * sync buildset definitions with Factory
  * fix typo

- Update to version 20210127.3a18043:
  * dont't rename wheel when it already has the same name

- Update to version 20210126.fea1c1f:
  * Document python_module with boolean dependecies
  * workaround undetected abi and platform tags gh#openSUSE/python-rpm-macros#93

- Update to version 20210121.ef5b8b9:
  * Add %python pseudo-macro for %python_modules -- server and rpm version

- Update to version 20210117.63cf413:
  * improve flavor variable naming in python_expand

- Update to version 20210116.2682657:
  * remove python2 not found error

OBS-URL: https://build.opensuse.org/request/show/868221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=34
2021-02-02 13:24:32 +00:00
Dominique Leuenberger
4a0039e0e1 Accepting request 862532 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/862532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=33
2021-01-15 18:42:56 +00:00
Dominique Leuenberger
88d7d97f9d Accepting request 828863 from devel:languages:python:Factory
- Update to version 20200824.8fa42a7:
  * Drop -v from the pyunittest macros

OBS-URL: https://build.opensuse.org/request/show/828863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=32
2020-08-28 19:16:36 +00:00
Dominique Leuenberger
ddfd9264a4 Accepting request 824570 from devel:languages:python:Factory
- Update to version 20200806.f44d3ac:
  * fix unittest macros

OBS-URL: https://build.opensuse.org/request/show/824570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=31
2020-08-17 09:58:47 +00:00
Dominique Leuenberger
e2aa2dc784 Accepting request 820838 from devel:languages:python:Factory
- Update to version 20200714.252de1f:
  * Add pyunittest and pyunittest_arch macros

OBS-URL: https://build.opensuse.org/request/show/820838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=30
2020-07-26 14:13:32 +00:00
Dominique Leuenberger
1259125783 Accepting request 818299 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/818299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=29
2020-07-08 17:09:09 +00:00
Dominique Leuenberger
6f8221ff07 Accepting request 816897 from devel:languages:python:Factory
- Update to version 20200625.e862151:
  * fix pytest_arch PYTHONPATH
  * expand calls pyproject* macros (revert #45)
  * let the shell expand PYTHONPATH

- Update to version 20200623.3ea9b62:
  * fix PYTHONPATH on pytest_arch macro

- Update to version 20200622.1919233:
  * Expand %buildroot first (avoid endless cycle; bsc#1162743)

- Update to version 20200622.1f4c5d2:
  * Add missing semicolon

- For Factory change %system_python to python3.

- Update to version 20200603.503823c:
  * Don't add empty path to PYTHONPATH setting.
  * Do not expand macros, just print them unexpanded (for %pytest* and %pyproject* macros)
  * Replace py.test -> pytest

OBS-URL: https://build.opensuse.org/request/show/816897
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=28
2020-06-29 19:14:28 +00:00
Dominique Leuenberger
34dc2cbc38 Accepting request 811211 from devel:languages:python:Factory
Resubmit rev 90

OBS-URL: https://build.opensuse.org/request/show/811211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=27
2020-06-11 12:41:04 +00:00
Dominique Leuenberger
15ff927c26 Accepting request 805136 from devel:languages:python:Factory
- Update to version 20200207.5feb6c1 bsc#1171561:

OBS-URL: https://build.opensuse.org/request/show/805136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=26
2020-05-13 20:56:06 +00:00
Dominique Leuenberger
36c19dbbcb Accepting request 797835 from devel:languages:python:Factory
- Update to version 20200207.5feb6c1:
  * Do not write .pyc files for tests

OBS-URL: https://build.opensuse.org/request/show/797835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=25
2020-05-01 09:05:19 +00:00
Dominique Leuenberger
051dba78ea Accepting request 766863 from devel:languages:python:Factory
- Update to version 20200117.8e39013 bsc#1161770:

OBS-URL: https://build.opensuse.org/request/show/766863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=24
2020-02-03 10:10:31 +00:00
Dominique Leuenberger
2da059911e Accepting request 766078 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/766078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=23
2020-01-23 15:08:53 +00:00
Dominique Leuenberger
a012753ea8 Accepting request 745134 from devel:languages:python:Factory
- Update to version 20191104.08e6493:
  * %pyproject_install macro should include --no-compile.
  * Recognise the _ for the macro arguments too

OBS-URL: https://build.opensuse.org/request/show/745134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=22
2019-11-08 14:21:42 +00:00
Dominique Leuenberger
5aa4168a0b Accepting request 708959 from devel:languages:python:Factory
- Update to version 20190610.2ee3233:
  * Fix typo, missing opening brace.
  * Add the first draft of pyproject_wheel and pyproject_install macros.
  * Yet another attempt to preserve $PYTHONPATH set in the environment.
  * Document also %pytest_arch
  * Document %pytest in README.md
  * Multiline macros don't work correctly on older RPMs.
  * Add missing $ expansion on the pytest call
  * Rewrite pytest and pytest_arch into Lua macros with multiple arguments.
  * We should preserve existing PYTHONPATH.
  * Add --ignore to pytest calls to ignore build directories.

- Update to version 20190610.2ee3233:
  * Fix typo, missing opening brace.

- Update to version 20190511.2ed22b6:
  * Add the first draft of pyproject_wheel and pyproject_install macros.

OBS-URL: https://build.opensuse.org/request/show/708959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=21
2019-06-18 12:48:37 +00:00
Dominique Leuenberger
45287b3672 Accepting request 700011 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/700011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=20
2019-05-09 08:00:32 +00:00
Dominique Leuenberger
d6609bb6cd Accepting request 692295 from devel:languages:python:Factory
- Update to version 20190408.32abece bsc#1128323:
  * Multiline macros don't work correctly on older RPMs.

OBS-URL: https://build.opensuse.org/request/show/692295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=19
2019-04-10 21:08:41 +00:00
Dominique Leuenberger
0b00677e8d Accepting request 690635 from devel:languages:python:Factory
- Update to version 20190402.c88be49:
  * Add missing $ expansion on the pytest call

OBS-URL: https://build.opensuse.org/request/show/690635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=18
2019-04-04 10:03:23 +00:00
Dominique Leuenberger
e027f94a01 Accepting request 685389 from devel:languages:python:Factory
- Update to version 20190315.d3034bf bsc#1128323:
  * Rewrite pytest and pytest_arch into Lua macros with multiple arguments.

- bsc#1128323: Update to version 20190307.fbaed33

OBS-URL: https://build.opensuse.org/request/show/685389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=17
2019-03-29 19:35:35 +00:00
Dominique Leuenberger
6e19993632 Accepting request 682470 from devel:languages:python:Factory
- Update to version 20190307.81ca329:
  * We should preserve existing PYTHONPATH.

- bsc#1128323: Update to version 20190307.fbaed33 bsc#1128323:
  * Add --ignore to pytest calls to ignore build directories.

OBS-URL: https://build.opensuse.org/request/show/682470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=16
2019-03-12 08:43:56 +00:00
Dominique Leuenberger
3e5a935ad3 Accepting request 678063 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/678063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=15
2019-02-26 21:13:41 +00:00
Dominique Leuenberger
5ebcc2dc30 Accepting request 660148 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/660148
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=14
2018-12-24 10:36:21 +00:00
Dominique Leuenberger
9579ce535c Accepting request 657144 from devel:languages:python:Factory
- 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

OBS-URL: https://build.opensuse.org/request/show/657144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=13
2018-12-19 12:27:15 +00:00
Dominique Leuenberger
7dd39ad62b Accepting request 644653 from devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/644653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=12
2018-11-06 13:17:48 +00:00
Dominique Leuenberger
d234383f6f Accepting request 559401 from devel:languages:python:Factory
- version bump to 2017.12.22.d9968ab
  * better fix for macro usage in rpm 4.14

OBS-URL: https://build.opensuse.org/request/show/559401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=11
2018-01-02 15:32:07 +00:00
Dominique Leuenberger
e810bf0edc Accepting request 555127 from devel:languages:python:Factory
- version bump to 2017.12.07.9d4e9eb
  * Fix macro usage for rpm 4.14

OBS-URL: https://build.opensuse.org/request/show/555127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=10
2017-12-10 17:15:01 +00:00
Dominique Leuenberger
7c592b2f04 Accepting request 517250 from devel:languages:python:Factory
- 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

OBS-URL: https://build.opensuse.org/request/show/517250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=9
2017-08-22 09:04:58 +00:00
Dominique Leuenberger
52cd2c5b81 Accepting request 508139 from devel:languages:python:Factory
- version bump to 2017.06.29.107ac7a
- fix skip_python2 in environment where python2 is not actually present

OBS-URL: https://build.opensuse.org/request/show/508139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=8
2017-07-11 06:34:26 +00:00
Dominique Leuenberger
0d842ffed9 Accepting request 506276 from devel:languages:python:Factory
- 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)

OBS-URL: https://build.opensuse.org/request/show/506276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=7
2017-07-04 11:33:16 +00:00
Dominique Leuenberger
e7c986168e Accepting request 494698 from devel:languages:python:Factory
- 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
- 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)

OBS-URL: https://build.opensuse.org/request/show/494698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=6
2017-05-20 08:07:38 +00:00
Dominique Leuenberger
044c4f41d7 Accepting request 487612 from devel:languages:python:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/487612
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=5
2017-04-19 16:10:19 +00:00
Dominique Leuenberger
01e87a9f03 Accepting request 479619 from devel:languages:python:Factory
- 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

OBS-URL: https://build.opensuse.org/request/show/479619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=4
2017-03-17 14:00:07 +00:00
Dominique Leuenberger
51cd8af28a Accepting request 460270 from devel:languages:python:Factory
- 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

OBS-URL: https://build.opensuse.org/request/show/460270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=3
2017-02-27 17:41:29 +00:00
Dominique Leuenberger
b80184b0ee Accepting request 459271 from devel:languages:python:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/459271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=2
2017-02-21 12:31:03 +00:00
5 changed files with 24 additions and 5 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">c146b29d5b88a2d8e3e94a6454abb97cd6643237</param></service></servicedata>
<param name="changesrevision">6ae645f7d1e17a9c25f0f167e0ffdfeeeb1c5c09</param></service></servicedata>

BIN
python-rpm-macros-20240618.c146b29.tar.xz (Stored with Git LFS)

Binary file not shown.

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

Binary file not shown.

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
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

View File

@ -17,7 +17,7 @@
Name: python-rpm-macros
Version: 20240618.c146b29
Version: 20241120.6ae645f
Release: 0
Summary: RPM macros for building of Python modules
License: WTFPL