1
0
Commit Graph

102 Commits

Author SHA256 Message Date
89ae06e2e9 Accepting request 700010 from home:mcepl:branches:devel:languages:python:Factory
- Update to version 20190430.5260267:
  * Yet another attempt to preserve $PYTHONPATH set in the environment.
  * Document also %pytest_arch
  * Document %pytest in README.md

OBS-URL: https://build.opensuse.org/request/show/700010
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=72
2019-05-02 06:52:33 +00:00
b70b322242 Update changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=70
2019-04-08 13:16:14 +00:00
Tomáš Chvátal
0697b98d43 - Update to version 20190402.c88be49:
* Add missing $ expansion on the pytest call

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=68
2019-04-02 11:26:39 +00:00
Tomáš Chvátal
683a5219f3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=66 2019-03-15 14:21:35 +00:00
Tomáš Chvátal
89ef67a629 - 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/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=65
2019-03-15 14:18:50 +00:00
Tomáš Chvátal
8217d029dc - Update to version 20190307.81ca329:
* We should preserve existing PYTHONPATH.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=63
2019-03-07 13:41:19 +00:00
fd3006512c 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
2019-03-07 12:30:28 +00:00
Tomáš Chvátal
130a10ae53 - Update to version 20190307.fbaed33 bsc#1128323:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=61
2019-03-07 11:53:09 +00:00
d20380c108 Accepting request 682429 from home:mcepl:branches:devel:languages:python:Factory
- Update to version 20190307.fbaed33:
  * Add --ignore to pytest calls to ignore build directories.

OBS-URL: https://build.opensuse.org/request/show/682429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=60
2019-03-07 11:28:40 +00:00
f0fe3d70f2 Accepting request 678061 from home:mcepl:branches:devel:languages:python:Factory
- Update to version 20190221.08f1194:
  * Actually make pytest into function to capture arguments as well
  * Add pytest definitions.

OBS-URL: https://build.opensuse.org/request/show/678061
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=58
2019-02-21 18:01:46 +00:00
16065f444b Accepting request 660112 from home:TheBlackCat:branches:devel:languages:python:Factory
- Use upstream-recommended %{_rpmconfigdir}/macros.d directory for the rpm macros.
- Include license and readme.

OBS-URL: https://build.opensuse.org/request/show/660112
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=56
2018-12-20 00:22:56 +00:00
Thomas Bechtold
483e584ac6 - Update to version 20181211.ab6f37c:
* Fix an issue with epoch printing having too many \
  * Remove packaging/ dir

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=54
2018-12-11 11:28:03 +00:00
Tomáš Chvátal
93226b672f Accepting request 656934 from home:tbechtold:branches:devel:languages:python:Factory
- 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/656934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=53
2018-12-11 09:04:08 +00:00
910298bfe6 Accepting request 644178 from home:sjamgade:branches:devel:languages:python:misc
- version bump to 2018.08.15.ada6d63

OBS-URL: https://build.opensuse.org/request/show/644178
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=51
2018-10-25 13:27:42 +00:00
Jan Matejek
9e80abb153 - version bump to 2017.12.22.d9968ab
* better fix for macro usage in rpm 4.14

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=49
2017-12-22 15:57:56 +00:00
Tomáš Chvátal
fb6ecba85c - version bump to 2017.12.07.9d4e9eb
* Fix macro usage for rpm 4.14

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=47
2017-12-07 19:57:07 +00:00
Jan Matejek
68874d93e7 - 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/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=45
2017-08-16 16:47:20 +00:00
Jan Matejek
f782bd9400 Accepting request 507105 from home:matejcik:rpm-macros-build-test
- 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/507105
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=42
2017-06-29 15:12:11 +00:00
Jan Matejek
8efb361daa Accepting request 505434 from home:matejcik:rpm-macros-build-test
- 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/505434
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=41
2017-06-21 13:59:23 +00:00
Jan Matejek
063020faf6 Accepting request 494239 from home:matejcik:rpm-macros-build-test
- 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)

OBS-URL: https://build.opensuse.org/request/show/494239
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=39
2017-05-10 12:48:58 +00:00
Jan Matejek
dbb3a6f950 Accepting request 485836 from devel:languages:python:singlespec
- 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

OBS-URL: https://build.opensuse.org/request/show/485836
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=37
2017-04-05 13:56:57 +00:00
Jan Matejek
85b02d02c0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=36 2017-03-24 12:18:02 +00:00
Jan Matejek
7978b8b3f7 Accepting request 482345 from devel:languages:python:singlespec
- 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

OBS-URL: https://build.opensuse.org/request/show/482345
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=35
2017-03-23 18:14:03 +00:00
Jan Matejek
c86dae63d2 Accepting request 479280 from devel:languages:python:singlespec
- 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

OBS-URL: https://build.opensuse.org/request/show/479280
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=33
2017-03-14 15:36:44 +00:00
Jan Matejek
487627f094 Accepting request 477967 from devel:languages:python:singlespec
- support "Supplements" and "Enhances" tags
- support packageand() expression
- fix handling of %name in requires

OBS-URL: https://build.opensuse.org/request/show/477967
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=32
2017-03-09 14:16:58 +00:00
Jan Matejek
314510a701 Accepting request 477754 from devel:languages:python
- make macros more resilient to missing %python_subpackages
- expand %python_bin_suffix properly

OBS-URL: https://build.opensuse.org/request/show/477754
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=31
2017-03-08 13:19:34 +00:00
Jan Matejek
3c3c4cbba6 Accepting request 460219 from devel:languages:python:singlespec
- let %python_module expand *all* its arguments, not just the first
  (so that %{python_module x >= 1.0} works as intended)

OBS-URL: https://build.opensuse.org/request/show/460219
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=29
2017-02-24 14:11:16 +00:00
Jan Matejek
9479633648 Accepting request 459721 from devel:languages:python:singlespec
- 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/459721
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=28
2017-02-22 15:22:30 +00:00
Jan Matejek
e5fe30145b - update service, use repository and tarball name "python-rpm-macros"
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=26
2017-02-13 14:53:41 +00:00
Jan Matejek
e118e8db5a Accepting request 455307 from devel:languages:python:singlespec
- introduce %python_prefix

OBS-URL: https://build.opensuse.org/request/show/455307
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=25
2017-02-07 16:33:09 +00:00
Jan Matejek
8304758f33 Accepting request 455015 from home:jengelh:branches:devel:languages:python:Factory
- Set RPM group

OBS-URL: https://build.opensuse.org/request/show/455015
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=24
2017-02-07 16:30:08 +00:00
Jan Matejek
c02376f89e revert whatever the heck osc did right now
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=23
2017-01-11 14:33:56 +00:00
Jan Matejek
37936d9339 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=22 2017-01-11 14:31:44 +00:00
Jan Matejek
141acf062f - change service version generator to use "1.0.git" instead of "1.0git"
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=21
2017-01-11 14:30:13 +00:00
Dominique Leuenberger
92b9381a7c Accepting request 449218 from devel:languages:python:Factory
new python macro definitions,
prerequisite for new python submission

OBS-URL: https://build.opensuse.org/request/show/449218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=1
2017-01-11 10:56:11 +00:00
Jan Matejek
c6c0c932f3 Accepting request 449179 from devel:languages:python:singlespec
- rework %python_alternative and remove support for %python_alternative_man
- tell service to compress the tar file

OBS-URL: https://build.opensuse.org/request/show/449179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=19
2017-01-08 11:35:47 +00:00
Jan Matejek
1cec63d883 - set service to localonly mode
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=18
2017-01-06 14:54:47 +00:00
Jan Matejek
7fbefafca2 - current macro version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=17
2017-01-03 15:07:16 +00:00
Jan Matejek
cf4e1516d7 trigger service run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=16
2016-12-07 13:58:43 +00:00
Jan Matejek
563868941d trigger service run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=15
2016-12-06 14:21:51 +00:00
Jan Matejek
6f362811ca trigger service run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=14
2016-12-02 15:24:23 +00:00
Jan Matejek
1361d9374d trigger service run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=13
2016-12-02 14:31:52 +00:00
Jan Matejek
15025d28b9 trigger service run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=11
2016-12-01 15:40:35 +00:00
Jan Matejek
ef0c2c8baa trigger service run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=10
2016-12-01 14:54:43 +00:00
Jan Matejek
bc0186939d trigger service run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=9
2016-11-29 15:40:47 +00:00
Jan Matejek
30829aba32 trigger service run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=8
2016-11-25 14:40:45 +00:00
Jan Matejek
dd22614fb6 trigger service run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=7
2016-11-25 13:25:50 +00:00
Jan Matejek
607f843e6e trigger service run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=6
2016-11-25 13:14:01 +00:00
Jan Matejek
ee9e0fe186 trigger service run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=5
2016-11-24 15:50:49 +00:00
Jan Matejek
db54fe583d trigger service run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=4
2016-11-24 15:44:32 +00:00