Accepting request 532126 from science:HPC:EnvMod

- Add _service to fetch github files

OBS-URL: https://build.opensuse.org/request/show/532126
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=9
This commit is contained in:
Nicolas Morey-Chaisemartin 2017-10-06 08:32:55 +00:00 committed by Git OBS Bridge
parent a3481b4809
commit 091b5fa428
3 changed files with 31 additions and 5 deletions

20
_service Normal file
View File

@ -0,0 +1,20 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/openSUSE/hpc.git</param>
<param name="package-meta">no</param>
<param name="exclude">.git</param>
<param name="filename">suse-hpc</param>
<param name="versionformat">0.1.%h</param>
<param name="revision">960d92268df13a0806254c325e3e72e135268c77</param>
<param name="extract">general/dlinfo.c</param>
<param name="extract">general/macros.hpc</param>
<param name="extract">general/hpc_elf.pl</param>
<param name="extract">general/hpc_elf.attr</param>
<param name="extract">general/hpc_elflib.attr</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">suse-hpc*.tar</param>
<param name="compression">gz</param>
</service>
</services>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 6 08:09:44 UTC 2017 - nmoreychaisemartin@suse.com
- Add _service to fetch github files
-------------------------------------------------------------------
Thu Oct 5 12:31:55 UTC 2017 - eich@suse.com

View File

@ -16,17 +16,18 @@
#
%define git_ver .960d922
Summary: SUSE HPC Environment
License: BSD-3-Clause
Group: Productivity/Clustering/Computing
Name: suse-hpc
Version: 0.1
Release: 0
Source0: https://raw.githubusercontent.com/openSUSE/hpc/master/general/macros.hpc
Source1: https://raw.githubusercontent.com/openSUSE/hpc/master/general/dlinfo.c
Source2: https://raw.githubusercontent.com/openSUSE/hpc/master/general/hpc_elf.pl
Source3: https://raw.githubusercontent.com/openSUSE/hpc/master/general/hpc_elf.attr
Source4: https://raw.githubusercontent.com/openSUSE/hpc/master/general/hpc_elflib.attr
Source0: macros.hpc
Source1: dlinfo.c
Source2: hpc_elf.pl
Source3: hpc_elf.attr
Source4: hpc_elflib.attr
Source5: LICENSE
Url: http://www.suse.com/hpc
BuildRoot: %{_tmppath}/%{name}-%{version}-build