-
Notifications
You must be signed in to change notification settings - Fork 39
/
elrepopackage.spec
37 lines (31 loc) · 1.05 KB
/
elrepopackage.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Name: eos-citrine-repo
Version: 1
Release: 1
Url: http://cern.ch/eos/
Summary: EOS YUM repository definition for the 'citrine' releases
License: none
Group: Applications/System
BuildArch: noarch
%description
This package contains the YUM configuration for the EOS 'citrine'
releases and their third-party dependencies. RPMs are signed with
http://storage-ci.web.cern.ch/storage-ci/storageci.key
%install
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/
cat <<EOFrepo >${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/eos-citrine.repo
[eos-citrine]
name=EOS binaries from EOS project, citrine branch
baseurl=http://cern.ch/storage-ci/eos/citrine/tag/el-\$releasever/\$basearch/
enabled=1
gpgcheck=1
priority=10
[eos-citrine-deps]
name=EOS dependencies from EOS project, citrine branch
baseurl=http://cern.ch/storage-ci/eos/citrine-depend/el-\$releasever/\$basearch/
enabled=1
gpgcheck=0
priority=10
EOFrepo
%files
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/yum.repos.d/eos-citrine.repo