Accepting request 46744 from home:elvigia:branches:devel:languages:python:Factory
OBS-URL: https://build.opensuse.org/request/show/46744 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=79
This commit is contained in:
parent
2fd585396f
commit
961d461e98
@ -160,6 +160,11 @@ autoreconf -f -i . # Modules/_ctypes/libffi
|
|||||||
# prevent make from trying to rebuild asdl stuff, which requires existing
|
# prevent make from trying to rebuild asdl stuff, which requires existing
|
||||||
# python installation
|
# python installation
|
||||||
touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h
|
touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h
|
||||||
|
# use just gcc instead of [GCC 4.5.0 20100604 [gcc-4_5-branch revision 160292]..
|
||||||
|
echo '#define COMPILER "[GCC]"' >> pyconfig.h.in
|
||||||
|
# use a compilation date equivalent to the source tarball.
|
||||||
|
printf '#define DATE "%s %s %s"\n' $(date -u -r %{SOURCE0} +"%b %d %Y") >> pyconfig.h.in
|
||||||
|
printf '#define TIME "%s"\n' $(date -u -r %{SOURCE0} +"%T") >> pyconfig.h.in
|
||||||
########################################
|
########################################
|
||||||
# configure
|
# configure
|
||||||
########################################
|
########################################
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 31 02:51:56 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Provide "fake" build enviroment information
|
||||||
|
* build date replaced by source tarball modify date
|
||||||
|
* compiler string replaced by "GCC"
|
||||||
|
* This is intended to avoid republishing the packages
|
||||||
|
over and over again.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 26 11:42:44 UTC 2010 - jmatejek@novell.com
|
Thu Aug 26 11:42:44 UTC 2010 - jmatejek@novell.com
|
||||||
|
|
||||||
|
11
python.spec
11
python.spec
@ -202,6 +202,11 @@ autoreconf -f -i . # Modules/_ctypes/libffi
|
|||||||
# prevent make from trying to rebuild asdl stuff, which requires existing
|
# prevent make from trying to rebuild asdl stuff, which requires existing
|
||||||
# python installation
|
# python installation
|
||||||
touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h
|
touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h
|
||||||
|
# use just gcc instead of [GCC 4.5.0 20100604 [gcc-4_5-branch revision 160292]..
|
||||||
|
echo '#define COMPILER "[GCC]"' >> pyconfig.h.in
|
||||||
|
# use a compilation date equivalent to the source tarball.
|
||||||
|
printf '#define DATE "%s %s %s"\n' $(date -u -r %{SOURCE0} +"%b %d %Y") >> pyconfig.h.in
|
||||||
|
printf '#define TIME "%s"\n' $(date -u -r %{SOURCE0} +"%T") >> pyconfig.h.in
|
||||||
########################################
|
########################################
|
||||||
# configure
|
# configure
|
||||||
########################################
|
########################################
|
||||||
@ -380,11 +385,9 @@ install -m 644 %{S:3} %{S:4} $RPM_BUILD_ROOT/etc/profile.d
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post -p /sbin/ldconfig
|
||||||
%{run_ldconfig}
|
|
||||||
|
|
||||||
%postun
|
%postun -p /sbin/ldconfig
|
||||||
%{run_ldconfig}
|
|
||||||
|
|
||||||
%files idle
|
%files idle
|
||||||
%defattr(644, root, root, 755)
|
%defattr(644, root, root, 755)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user