Skip to content

Commit

Permalink
initial support for using Jenkins CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Feb 18, 2016
1 parent 59712e3 commit 64eb11b
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions package/yast2-registration.spec
Expand Up @@ -48,7 +48,7 @@ Requires: yast2-update >= 3.1.19

BuildRequires: yast2 >= 3.1.26
BuildRequires: update-desktop-files
BuildRequires: yast2-devtools >= 3.1.6
BuildRequires: yast2-devtools >= 3.1.39
BuildRequires: rubygem(yast-rake) >= 0.2.5
BuildRequires: rubygem(rspec)
BuildRequires: rubygem(suse-connect) >= 0.2.22
Expand All @@ -58,6 +58,13 @@ BuildRequires: yast2-update >= 3.1.19

BuildArch: noarch

# FIXME: it seems can we cannot move it to macros.yast, the yast-rake-ci is not
# installed into the chroot, the build fails...
%bcond_with yast_run_ci_tests
%if %{with yast_run_ci_tests}
BuildRequires: rubygem(yast-rake-ci)
%endif

Summary: YaST2 - Registration Module
Url: https://github.com/yast/yast-registration

Expand All @@ -76,12 +83,10 @@ Authors:
%build

%check
rake test:unit
%yast_check

%install
rake install DESTDIR="%{buildroot}"
%suse_update_desktop_file customer_center

%yast_install

%files
%defattr(-,root,root)
Expand Down

0 comments on commit 64eb11b

Please sign in to comment.