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
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
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
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
42dd7cf24f
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=2
2016-11-24 15:03:23 +00:00