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
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
1a6f8f12f8
Move srpm macros to macros.0python-srpm to be defined before other macros
2016-01-14 20:40:15 -07:00
Orion Poplawski
f16464f0b6
Handle noarch python sub-packages (bug #1290900 )
2016-01-14 16:17:51 -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