Changeset 352 for trunk/pbs_python.spec


Ignore:
Timestamp:
08/31/15 09:47:56 (9 years ago)
Author:
dennis
Message:

The version number is somewhat automated, next step is actually to combine Makefile Makefile.rpm and force the user to use the pbs_python.spec file or the debian way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pbs_python.spec

    r346 r352  
    44
    55Name: pbs_python
    6 Version: 4.6.1
    7 Release: 1%{?dist}
    86License: See LICENSE
    97Group: Development/Libraries
     
    2927%build
    3028%configure
    31 %{__python} setup.py build
     29#%{__python} setup.py build
    3230
    3331%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
     32make 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
    3837
    3938%clean
     
    4847
    4948%changelog
     49* Mon Aug 31 2015 Dennis Stam <dennis.stam@surfsara.nl>
     50- Simplified the rpm build process, version is set by the Makefile
    5051* Tue Mar 24 2010 Ramon Bastiaans <ramon.bastiaans@sara.nl>
    5152- Updates for new version
Note: See TracChangeset for help on using the changeset viewer.