Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 93998b4

Browse files
committed
Updated SPEC file from OBS
1 parent cea25e1 commit 93998b4

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

gridengine.spec

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Name: gridengine
2020
Version: 8.1.9
2121
Release: 1
2222
Summary: Son of Grid engine
23-
License: (SISSL and BSD and LGPLv3+ and MIT) and GPLv3+ and GFDL and others
23+
License: SISSL and BSD-3-Clause and LGPL-3.0-or-later and MIT and GPL-3.0-or-later and GFDL-1.1
2424
Url: https://github.com/grisu48/gridengine
2525
Source: gridengine-8.1.9.tar.gz
2626
BuildRequires: gcc
@@ -46,6 +46,8 @@ BuildRequires: libXt-devel
4646
BuildRequires: motif-devel
4747
BuildRequires: xorg-x11-devel
4848
BuildRequires: ncurses-devel
49+
# Required for tumbleweed only and we do not support Tumbleweed here
50+
#BuildRequires: libtirpc-devel
4951
Requires: insserv-compat
5052
BuildRoot: %{_tmppath}/%{name}-%{version}-build
5153

@@ -57,32 +59,29 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
5759

5860
%build
5961
cd sge-8.1.9/source
60-
./scripts/bootstrap.sh -no-secure -no-remote
61-
./aimk -no-herd -no-secure -no-remote
62+
./scripts/bootstrap.sh -no-secure
63+
./aimk -no-herd -no-secure -no-java
6264

6365
%install
64-
export SGE_ROOT="$PWD/opt/sge"
65-
export SGE_ROOT="%{buildroot}/opt/sge"
66+
export SGE_ROOT="%{buildroot}/usr/local/bin/sge"
6667
cd sge-8.1.9/source
6768
mkdir -p "$SGE_ROOT"
6869
echo 'y'| scripts/distinst -local -allall -noexit `dist/util/arch`
6970

70-
7171
%post
7272
%postun
7373

7474
%files
75-
%attr(-,root,root) /opt/sge
76-
%attr(640,root,root) /opt/sge/examples/drmaa/*.c
77-
%attr(640,root,root) /opt/sge/include/*
78-
%attr(640,root,root) /opt/sge/pvm/src/*
79-
%attr(640,root,root) /opt/sge/util/resources/loadsensors/*.c
80-
%attr(750,root,root) /opt/sge/install*
81-
%attr(750,root,root) /opt/sge/install*
82-
%attr(750,root,root) /opt/sge/bin/*
83-
%attr(750,root,root) /opt/sge/utilbin/*
84-
/opt/sge/*
85-
#%license COPYING
75+
%attr(-,root,root) /usr/local/bin/sge
76+
%attr(640,root,root) /usr/local/bin/sge/examples/drmaa/*.c
77+
%attr(640,root,root) /usr/local/bin/sge/include/*
78+
%attr(640,root,root) /usr/local/bin/sge/pvm/src/*
79+
%attr(640,root,root) /usr/local/bin/sge/util/resources/loadsensors/*.c
80+
%attr(750,root,root) /usr/local/bin/sge/install*
81+
%attr(750,root,root) /usr/local/bin/sge/install*
82+
%attr(750,root,root) /usr/local/bin/sge/bin/*
83+
%attr(750,root,root) /usr/local/bin/sge/utilbin/*
84+
/usr/local/bin/sge/*
8685
#%doc README
8786

8887
%changelog

0 commit comments

Comments
 (0)