/[packages]/cauldron/openqa/current/SPECS/openqa.spec
ViewVC logotype

Diff of /cauldron/openqa/current/SPECS/openqa.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 914074 by doktor5000, Thu Dec 24 12:39:27 2015 UTC revision 916624 by doktor5000, Mon Dec 28 20:46:30 2015 UTC
# Line 18  Line 18 
18  %global openqa_services openqa-webui.service openqa-gru.service openqa-websockets.service openqa-scheduler.service  %global openqa_services openqa-webui.service openqa-gru.service openqa-websockets.service openqa-scheduler.service
19  %global openqa_worker_services openqa-worker.target openqa-worker@.service openqa-slirpvde.service openqa-vde_switch.service  %global openqa_worker_services openqa-worker.target openqa-worker@.service openqa-slirpvde.service openqa-vde_switch.service
20    
 %if %{undefined tmpfiles_create}  
 %global tmpfiles_create() \  
 systemd-tmpfiles --create %{?*} >/dev/null 2>&1 || :  
 %{nil}  
 %endif  
   
21  Name:           openqa  Name:           openqa
22  Version:        %{github_version}  Version:        %{github_version}
23  Release:        %mkrel 2%{?github_date:.%{github_date}git%{shortcommit}}  Release:        %mkrel 3%{?github_date:.%{github_date}git%{shortcommit}}
24  Summary:        The openQA web-frontend, scheduler and tools  Summary:        The openQA web-frontend, scheduler and tools
25  License:        GPLv2+  License:        GPLv2+
26  Group:          Development/Tools  Group:          Development/Tools
# Line 43  Patch1:         0001-the-sqlite-database Line 37  Patch1:         0001-the-sqlite-database
37  # https://github.com/os-autoinst/openQA/commit/ab76b525eb9d436ecc5f3395cd7de89a0e272e86  # https://github.com/os-autoinst/openQA/commit/ab76b525eb9d436ecc5f3395cd7de89a0e272e86
38  Patch2:         0001-replace-tabs-with-spaces.patch  Patch2:         0001-replace-tabs-with-spaces.patch
39  Patch3:         0002-Improve-web-UI-branding-mechanism-drop-topbar-in-pla.patch  Patch3:         0002-Improve-web-UI-branding-mechanism-drop-topbar-in-pla.patch
40    Requires(pre):    rpm-helper >= %{rpmhelper_required_version}
41    Requires(post):   rpm-helper >= %{rpmhelper_required_version}
42  Requires(post): sqlite3-tools  Requires(post): sqlite3-tools
43  BuildRequires:  os-autoinst  BuildRequires:  os-autoinst
44  Requires:       openqa-common = %{version}  Requires:       openqa-common = %{version}
# Line 160  sed -i -e 's,/etc/apache2/ssl.key,%{_sys Line 156  sed -i -e 's,/etc/apache2/ssl.key,%{_sys
156  %check  %check
157  # we don't really need the tidy test  # we don't really need the tidy test
158  rm -f t/00-tidy.t  rm -f t/00-tidy.t
159  #  
 #make test  
160  %make test  %make test
 #prove -r  
161    
162  %install  %install
163  %make_install  %make_install
# Line 201  mkdir %{buildroot}%{_localstatedir}/lib/ Line 195  mkdir %{buildroot}%{_localstatedir}/lib/
195  rm -rf %{buildroot}%{_sysconfdir}/apparmor.d  rm -rf %{buildroot}%{_sysconfdir}/apparmor.d
196    
197  %pre  %pre
198  getent group geekotest >/dev/null || groupadd -r geekotest  %_pre_useradd geekotest /var/lib/openqa /sbin/nologin
 getent passwd geekotest >/dev/null || \  
     useradd -r -g geekotest -d /var/lib/openqa -s /sbin/nologin \  
     -c "openQA user" geekotest  
 exit 0  
199    
200  %pre worker  %pre worker
201  getent group _openqa-worker >/dev/null || groupadd -r _openqa-worker  # (doktor5000) fedora seems to use qemu group to control qemu access
202  # (doktor5000) we don't have a qemu group, check if permissions of normal user suffice  # we don't have a qemu group, check if permissions of normal system user suffice
203  getent passwd _openqa-worker >/dev/null || \  %_pre_useradd _openqa-worker /dev/null /sbin/nologin
     useradd -r -g _openqa-worker -d /dev/null -s /sbin/nologin \  
     -c "openQA worker" _openqa-worker  
 exit 0  
204    
205  %post  %post
206  # install empty log file (see above for reasoning)  # install empty log file (see above for reasoning)

Legend:
Removed from v.914074  
changed lines
  Added in v.916624

  ViewVC Help
Powered by ViewVC 1.1.30