Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: fill default macroses per new packaging guidelines #284

Open
ignatenkobrain opened this issue Sep 9, 2015 · 2 comments
Open

python: fill default macroses per new packaging guidelines #284

ignatenkobrain opened this issue Sep 9, 2015 · 2 comments

Comments

@ignatenkobrain
Copy link
Contributor

like %py3_build for build section

@ignatenkobrain
Copy link
Contributor Author

the same for %install: %py3_install

@onionka
Copy link
Member

onionka commented Nov 7, 2015

This may be a problem, because we expand those macros to use it to build and install project for further analysis. See what you get, when these are expanded:

$ rpm --eval %py3_install

CFLAGS="-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic" /usr/bin/python3 setup.py  install -O1 --skip-build --root ~/rpmbuild/BUILDROOT/%{name}-%{version}-%{release}.x86_64 

$ rpm --eval %py3_build

CFLAGS="-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic" /usr/bin/python3 setup.py  build --executable="/usr/bin/python3 -s" 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants