/
yast2-registration.spec
99 lines (82 loc) · 2.87 KB
/
yast2-registration.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#
# spec file for package yast2-registration
#
# Copyright (c) 2019 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 http://bugs.opensuse.org/
#
Name: yast2-registration
Version: 4.1.20
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
# Y2Packager::ProductLicense
Requires: yast2 >= 4.0.63
# "dupAllowVendorChange" option in Pkg.SetSolverFlags()
Requires: yast2-pkg-bindings >= 3.1.34
# N_() method
Requires: yast2-ruby-bindings >= 3.1.12
# SUSE::Connect::YaST.list_installer_updates
Requires: rubygem(suse-connect) >= 0.2.37
# NOTE: Workaround for bsc#947482, SUSEConnect is actually not needed by the
# YaST registration module, it is used just to install the Connect dependencies.
#
# TODO: Remove it once the SUSEConnect dependencies are properly moved to the
# suse-connect gem.
Requires: SUSEConnect >= 0.2.37
Requires: yast2-add-on >= 3.1.8
Requires: yast2-slp >= 3.1.9
# packager/product_patterns.rb
Requires: yast2-packager >= 3.1.95
Requires: yast2-update >= 3.1.36
# Y2Packager::ProductLicense
BuildRequires: update-desktop-files
BuildRequires: yast2 >= 4.0.63
BuildRequires: yast2-devtools >= 3.1.39
BuildRequires: yast2-slp >= 3.1.9
BuildRequires: rubygem(rspec)
BuildRequires: rubygem(suse-connect) >= 0.3.11
BuildRequires: rubygem(yast-rake) >= 0.2.5
# updated product renames
BuildRequires: yast2-packager >= 4.0.40
BuildRequires: yast2-update >= 3.1.36
BuildArch: noarch
# SUSEConnect does not build for i586 and s390 and is not supported on those architectures
# bsc#1088552
ExcludeArch: %ix86 s390
Summary: YaST2 - Registration Module
License: GPL-2.0-only
Group: System/YaST
Url: https://github.com/yast/yast-registration
%description
The registration module to register products and/or to fetch an update
source (mirror) automatically.
%prep
%setup -n %{name}-%{version}
%build
%check
%yast_check
%install
%yast_install
%files
%defattr(-,root,root)
%{yast_ybindir}/*
%{yast_desktopdir}/*.desktop
%{yast_clientdir}/*.rb
%{yast_ydatadir}/registration
%{yast_schemadir}/autoyast/rnc/*.rnc
%{yast_libdir}/registration
%{yast_libdir}/yast
%{yast_libdir}/yast/suse_connect.rb
%{yast_icondir}
%doc %{yast_docdir}
%license COPYING
%changelog