- Timestamp:
- 08/31/15 09:47:56 (9 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.rpm.in
r346 r352 3 3 RELEASE=1 4 4 5 #PYTHON_VERSION=2.36 5 PYTHON_VERSION=$(shell python -c "import re;import sys;print re.match('(?P<major>\d\.\d)',sys.version).group('major')") 7 #LIBDIR=/usr/lib648 6 LIBDIR=$(shell if [ `uname -p` = 'x86_64' ]; then echo /usr/lib64; else echo /usr/lib; fi) 9 7 -
trunk/configure
r316 r352 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.69 for pbs-python 4. 4.1.3 # Generated by GNU Autoconf 2.69 for pbs-python 4.6.1. 4 4 # 5 5 # … … 577 577 PACKAGE_NAME='pbs-python' 578 578 PACKAGE_TARNAME='pbs-python' 579 PACKAGE_VERSION='4. 4.1'580 PACKAGE_STRING='pbs-python 4. 4.1'579 PACKAGE_VERSION='4.6.1' 580 PACKAGE_STRING='pbs-python 4.6.1' 581 581 PACKAGE_BUGREPORT='' 582 582 PACKAGE_URL='' … … 585 585 ac_subst_vars='LTLIBOBJS 586 586 LIBOBJS 587 pbs_python_version 587 588 pkgpyexecdir 588 589 pkgpythondir … … 1185 1186 # This message is too long to be a string in the A/UX 3.1 sh. 1186 1187 cat <<_ACEOF 1187 \`configure' configures pbs-python 4. 4.1 to adapt to many kinds of systems.1188 \`configure' configures pbs-python 4.6.1 to adapt to many kinds of systems. 1188 1189 1189 1190 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1246 1247 if test -n "$ac_init_help"; then 1247 1248 case $ac_init_help in 1248 short | recursive ) echo "Configuration of pbs-python 4. 4.1:";;1249 short | recursive ) echo "Configuration of pbs-python 4.6.1:";; 1249 1250 esac 1250 1251 cat <<\_ACEOF … … 1318 1319 if $ac_init_version; then 1319 1320 cat <<\_ACEOF 1320 pbs-python configure 4. 4.11321 pbs-python configure 4.6.1 1321 1322 generated by GNU Autoconf 2.69 1322 1323 … … 1335 1336 running configure, to aid debugging if configure makes a mistake. 1336 1337 1337 It was created by pbs-python $as_me 4. 4.1, which was1338 It was created by pbs-python $as_me 4.6.1, which was 1338 1339 generated by GNU Autoconf 2.69. Invocation command line was 1339 1340 … … 1883 1884 1884 1885 1885 ac_config_files="$ac_config_files Makefile setup.py" 1886 pbs_python_version="$(cat release.json | awk -F'\"' '/\"version\"/ {print $4}')" 1887 1888 1889 ac_config_files="$ac_config_files Makefile Makefile.rpm setup.py" 1886 1890 1887 1891 cat >confcache <<\_ACEOF … … 2427 2431 # values after options handling. 2428 2432 ac_log=" 2429 This file was extended by pbs-python $as_me 4. 4.1, which was2433 This file was extended by pbs-python $as_me 4.6.1, which was 2430 2434 generated by GNU Autoconf 2.69. Invocation command line was 2431 2435 … … 2480 2484 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 2481 2485 ac_cs_version="\\ 2482 pbs-python config.status 4. 4.12486 pbs-python config.status 4.6.1 2483 2487 configured by $0, generated by GNU Autoconf 2.69, 2484 2488 with options \\"\$ac_cs_config\\" … … 2591 2595 case $ac_config_target in 2592 2596 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 2597 "Makefile.rpm") CONFIG_FILES="$CONFIG_FILES Makefile.rpm" ;; 2593 2598 "setup.py") CONFIG_FILES="$CONFIG_FILES setup.py" ;; 2594 2599 -
trunk/configure.in
r348 r352 36 36 AM_PATH_PYTHON 37 37 38 AC_SUBST(pbs_python_version, "$(cat release.json | awk -F'\"' '/\"version\"/ {print $4}')") 39 38 40 AC_OUTPUT( 39 Makefile 41 Makefile 42 Makefile.rpm 40 43 setup.py 41 44 ) -
trunk/pbs_python.spec
r346 r352 4 4 5 5 Name: pbs_python 6 Version: 4.6.17 Release: 1%{?dist}8 6 License: See LICENSE 9 7 Group: Development/Libraries … … 29 27 %build 30 28 %configure 31 %{__python} setup.py build29 #%{__python} setup.py build 32 30 33 31 %install 34 %{__python} ./setup.py install --prefix $RPM_BUILD_ROOT%{_prefix} ; 35 %{__mkdir_p} $RPM_BUILD_ROOT%{_prefix}/bin 36 %{__install} -m0655 examples/sara_nodes.py ${RPM_BUILD_ROOT}%{_prefix}/bin/sara_nodes 37 %{__install} -m0655 examples/new_rack_pbsmon.py ${RPM_BUILD_ROOT}%{_prefix}/bin/pbsmon 32 make install DESTDIR=$RPM_BUILD_DIR 33 #%{__python} ./setup.py install --prefix $RPM_BUILD_ROOT%{_prefix} ; 34 #%{__mkdir_p} $RPM_BUILD_ROOT%{_prefix}/bin 35 #%{__install} -m0655 examples/sara_nodes.py ${RPM_BUILD_ROOT}%{_prefix}/bin/sara_nodes 36 #%{__install} -m0655 examples/new_rack_pbsmon.py ${RPM_BUILD_ROOT}%{_prefix}/bin/pbsmon 38 37 39 38 %clean … … 48 47 49 48 %changelog 49 * Mon Aug 31 2015 Dennis Stam <dennis.stam@surfsara.nl> 50 - Simplified the rpm build process, version is set by the Makefile 50 51 * Tue Mar 24 2010 Ramon Bastiaans <ramon.bastiaans@sara.nl> 51 52 - Updates for new version -
trunk/setup.py.in
r347 r352 88 88 setup ( 89 89 name = 'pbs_python', 90 version = ' 4.6.1',90 version = '@pbs_python_version@' 91 91 description = 'openpbs/torque python interface', 92 92 license = 'LGPLV3',
Note: See TracChangeset
for help on using the changeset viewer.