File yast2-alternatives.spec of Package yast2-alternatives

# spec file for package yast2-alternatives
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           yast2-alternatives
Version:        4.0.0
Release:        0
Summary:        YaST2 - Manage Update-alternatives switching
License:        GPL-2.0
Group:          System/Yast
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  yast2
BuildRequires:  yast2-devtools
BuildRequires:  yast2-ruby-bindings
# For install
BuildRequires:  rubygem(yast-rake)
# For test
BuildRequires:  rubygem(rspec)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

A YaST2 module to manage update alternatives switching
%setup -n %{name}-%{version}


rake test:unit

rake install DESTDIR=%{buildroot}




openSUSE Build Service is sponsored by