forked from cms-sw/cmsdist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
alertscollector.spec
32 lines (22 loc) · 990 Bytes
/
alertscollector.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
### RPM cms alertscollector 0.9.25
# private repository tests
#Source0: git://github.com/zdenekmaxa/WMCore?obj=alertscollector/HEAD&export=%n&output=/%n.tar.gz
# realversion can be taken from above, but has to correspond to a GIT tag
Source0: git://github.com/dmwm/WMCore?obj=master/%realversion&export=%n&output=/%n.tar.gz
# download tip of a branch (problem with added username and username's hash ...)
#Source0: https://github.com/zdenekmaxa/WMCore/tarball/alertscollector
# Source0: https://maxa.home.cern.ch/maxa/alertscollector.tgz
BuildRequires: python cherrypy py2-setuptools py2-sphinx
%prep
%setup -b 0 -n %n
%build
python setup.py build_system -s alertscollector
%install
# cannot stat alertscollector directory
#cp -r alertscollector/* %i
python setup.py install_system -s alertscollector --prefix=%i
find %i -name '*.egg-info' -exec rm {} \;
# Generate dependencies-setup.{sh,csh} so init.{sh,csh} picks full environment.
# no dependencies
%post
# empty post section