Miro Hrončok
438faf7c86
Fix the py_byte_compile macro to work on Python 2
...
See https://bugzilla.redhat.com/show_bug.cgi?id=1484993
Inspired by Terje Røsten's workaround from that bugzilla
2018-04-10 11:58:45 +02:00
Tomas Orsava
2e3d372310
Fix syntax error in %py_byte_compile macro (rhbz#1433569)
2018-04-10 11:58:45 +02:00
Charalampos Stratakis
5208f057c1
Update macros.pybytecompile to 3.6
...
Rename the macros.pybytecompile3.5 file to macros.pybytecompile3.6
2018-04-10 11:58:45 +02:00
Charalampos Stratakis
3af7df6454
Update %py_byte_compile macro
2018-04-10 11:58:45 +02:00
Robert Kuska
99ca83f054
Rename macros to 3.5
2018-04-10 11:58:45 +02:00
Matej Stuchlik
bcfeb6a0b1
Update macros.pybytecompile to 3.4
2018-04-10 11:58:45 +02:00
dmalcolm
739136717f
Introduce macros.pybytecompile
2018-04-10 11:58:45 +02:00
Tomas Orsava
6cc8000e14
Fix the %py_dist_name macro
...
..to not convert dots (".") into dashes, so that submodules can be
addressed as well
Resolves: rhbz#1564095
2018-04-06 11:48:08 +02:00
Jan Pokorný
4904408b2f
macros.python*: make LDFLAGS propagated whenever CFLAGS are
...
This is to ensure the right linker flags get propagated into binaries
accompanying python packages whenever distutils (or similar, env.
variables provided build flags aware) module is delegated to build them
(e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1541106 ). Instead of
using "%{__global_ldflags}" as the seed for the respective env. variable
one-off application, which would be a direct parallel to "%{optflags}"
seeding CFLAGS, use rather "${RPM_LD_FLAGS}" and "${RPM_OPT_FLAGS}",
as these are not directly bound to macros out of rpm proper (like
it would have been, e.g., on redhat-rpm-config package otherwise).
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
2018-03-23 13:33:48 +01:00
Fedora Release Engineering
9f912209e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 10:39:49 +00:00
Igor Gnatenko
ec476c84cc
add macros to enable dependency generator
...
References: https://fedoraproject.org/wiki/Changes/EnablingPythonGenerators
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-19 15:52:58 +01:00
Tomas Orsava
69b720ea4f
Revert "Add platform-python macros"
...
This reverts commit cb52c18aa9
.
2017-11-28 11:51:43 +01:00
Ville Skyttä
8d3d1dde64
macros.python*: Use -Es/-I to invoke macro scriptlets
...
To avoid environment and user dir influence.
https://bugzilla.redhat.com/show_bug.cgi?id=1506355
2017-10-26 13:31:35 +03:00
Iryna Shcherbina
cb52c18aa9
Add platform-python macros
2017-08-14 14:54:13 +02:00
Fedora Release Engineering
b58450b1f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-07-27 11:44:18 +00:00
Michal Cyprian
a59818afd0
Revert "Switch %%__python3 to /usr/libexec/system-python"
...
- The Fedora Change https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe
was postponed
- This reverts commit d019d2fd4d
2017-03-03 13:52:35 +01:00
Michal Cyprian
d019d2fd4d
Switch %%__python3 to /usr/libexec/system-python
2017-02-20 13:41:26 +01:00
Fedora Release Engineering
063c3984a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-02-11 10:23:28 +00:00
Michal Cyprian
d0fdb0d759
Add --no-deps option to py_install_wheel macros
2017-01-23 18:52:17 +01:00
Tomas Orsava
123ad4b49f
Added macros for Build/Requires tags using Python dist tags
...
https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2017-01-17 10:28:13 +01:00
Orion Poplawski
516c55eed7
Fix typo in changelog
2016-11-24 07:59:27 -07:00
Orion Poplawski
5ca1f525e5
Make expaned macros start on the same line as the macro
2016-11-24 07:53:47 -07:00
Orion Poplawski
a73eb24716
Fix %py3_install_wheel (bug #1395953 )
2016-11-16 21:32:46 -07:00
Orion Poplawski
e7af332922
Add missing sleeps to other build macros
...
- Fix build_egg macros
- Add %py_build_wheel and %py_install_wheel macros
2016-11-16 16:28:31 -07:00
Orion Poplawski
bad56e0efe
Bump release and add %changelog entry
2016-11-15 16:26:40 -07:00
Orion Poplawski
f798c43354
Add %py_build_egg and %py_install_egg macros
2016-11-15 16:23:27 -07:00
Orion Poplawski
6ce524f21d
Allow multiple args to %py_build/install macros
2016-11-15 16:18:39 -07:00
Orion Poplawski
29e6636ccd
Tidy up macro formatting
2016-11-15 16:16:16 -07:00
Orion Poplawski
59b1647971
Use %rpmmacrodir
2016-08-24 16:47:08 -06:00
Orion Poplawski
81fee785df
Do not generate useless Obsoletes with %{?_isa}
2016-07-12 11:14:21 -06:00
Orion Poplawski
c30072e570
Make python-rpm-macros require python-srpm-macros (bug #1335860 )
2016-05-13 14:20:24 -06:00
Jason Tibbitts
af37c22835
Add single-second sleeps to work around setuptools bug.
2016-05-12 13:28:05 -05:00
Fedora Release Engineering
c09d56c2fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-02-04 20:51:34 +00:00
Orion Poplawski
2b90e4a07b
Fix typo in %python_provide
2016-01-14 20:50:53 -07:00
Orion Poplawski
49ccad99b2
Revert "Move srpm macros to macros.0python-srpm to be defined before other macros"
...
This reverts commit 1a6f8f12f8
.
2016-01-14 20:49:29 -07:00
Orion Poplawski
34f5f4c7a4
Fix typo in %python_provide
2016-01-14 20:48:47 -07:00
Orion Poplawski
1a6f8f12f8
Move srpm macros to macros.0python-srpm to be defined before other macros
2016-01-14 20:40:15 -07:00
Orion Poplawski
2553290f93
Better error message from %python_provide
2016-01-14 20:34:31 -07:00
Orion Poplawski
f16464f0b6
Handle noarch python sub-packages (bug #1290900 )
2016-01-14 16:17:51 -07:00
Orion Poplawski
608a3b9b3b
Handle python3_other_pkgversion in python_provide; Drop duplicate py3_other macros from macros.python
2016-01-14 15:35:47 -07:00
Orion Poplawski
cbf9c3d9a6
Move py3_other macros to srpm-macros
2016-01-14 15:32:18 -07:00
Orion Poplawski
b2fc537309
Do not use %{?_isa} in obsoletes/provides for noarch sub-packages
2016-01-14 15:25:24 -07:00
Orion Poplawski
b3d3b56869
Fix python2/3-rpm-macros package names
2016-01-13 10:54:20 -07:00
Orion Poplawski
18473ee340
Fix date in %changelog
2016-01-13 08:59:38 -07:00
Orion Poplawski
9a282dffb2
Fix date in %changelog
2016-01-13 08:59:03 -07:00
Orion Poplawski
ec28c775cd
Initial import
2016-01-12 16:52:28 -07:00
Fedora Release Engineering
4f749574d5
Initial setup of the repo
2016-01-12 23:33:17 +00:00