Changeset 187


Ignore:
Timestamp:
05/06/09 13:55:39 (15 years ago)
Author:
bas
Message:

New build system for rpm package, thanks to Michel Jouvin

Location:
trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/CHANGES

    r184 r187  
     1=========== 3.0.2
     2        - New build system for rpm packages, make -f Makefile.rpm
     3          Author: Michel Jouvin <jouvin add lal dot in2p3 dot fr>
     4          Applied: Bas van der Vlies
     5
    16=========== 3.0.1
    27        - PBSQuery
  • trunk/pbs_python.spec

    r184 r187  
    11Summary: This package contains the pbs python module.
    22Name: pbs_python
    3 Version: 3.0.1
    4 Release: 2anl
     3Version: %{prodversion}
     4Release: %{prodrelease}
    55License: See LICENSE
    66Group: Development/Libraries
     
    88BuildRoot: /var/tmp/%{name}-buildroot
    99
    10 %define libdir /usr/lib
    11 %define python python2.4
    1210
    1311%description
     
    2220
    2321%install
     22echo %{pythonlib}
     23echo %{libdir}
    2424python ./setup.py install --prefix $RPM_BUILD_ROOT/usr ;
    2525
     
    3030%defattr(-,root,root,0755)
    3131%doc README TODO examples
    32 %{libdir}/%{python}/site-packages/pbs.pth
    33 %{libdir}/%{python}/site-packages/pbs/*
     32%{libdir}/%{pythonlib}/site-packages/pbs.pth
     33%{libdir}/%{pythonlib}/site-packages/pbs/*
    3434
    3535%changelog
     36* Tue May  5 2009 Michel Jouvin <jouvin@lal.in2p3.fr>
     37- Rework spec file to make it generic with respect to platforms, python version... Intended to be used with Makefile.rpm
    3638* Sun Mar  9 2008 Michael Sternberg <sternberg@anl.gov>
    3739- libdir and python defines
  • trunk/setup.py.in

    r173 r187  
    4747
    4848setup ( name = 'pbs_python',
    49         version = '2.9.8',
     49        version = '3.0.2',
    5050        description = 'openpbs/torque python interface',
    5151        author = 'Bas van der Vlies',
  • trunk/src/pbs.py

    r179 r187  
    534534  Returns the pbs python interface version as a string.
    535535  """
    536   return '3.0.0'
     536  return '3.0.2'
    537537
    538538# A useful dict with error codes to text
Note: See TracChangeset for help on using the changeset viewer.