blob: b796059c40b84e1967b0ba9b9c51e33a3926a9ad (
plain)
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
|
#
# spec file for package rpmlint-Factory
#
# Copyright (c) 2013 SUSE LINUX Products 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: rpmlint-tizen
Requires: rpmlint-mini
Summary: Rpm correctness checker - Tizen Trunk configuration
License: GPL-2.0+
Group: System/Packages
Version: 1.0
Release: 0
Url: http://rpmlint.zarb.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source1: COPYING
Source2: config
Source3: config.strict
BuildArch: noarch
%description
Rpmlint is a tool to check common errors on rpm packages. This package
provides the configuration specific for SUSE Factory.
%package strict
Summary: Confict only applying to openSUSE:Factory itself
Group: System/Packages
%description strict
Forbid invalid licenses
%prep
cp %{SOURCE1} .
%build
%install
install -m 644 -D %{SOURCE2} $RPM_BUILD_ROOT/etc/rpmlint/factory.config
install -m 644 -D %{SOURCE3} $RPM_BUILD_ROOT/etc/rpmlint/factory-strict.config
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,0755)
%doc COPYING
%dir /etc/rpmlint
/etc/rpmlint/factory.config
%files strict
%defattr(-,root,root,0755)
%dir /etc/rpmlint
/etc/rpmlint/factory-strict.config
%changelog
|