2011-05-25 15:35:37 +02:00
|
|
|
#
|
|
|
|
# spec file for package obs-service-source_validator
|
|
|
|
#
|
2023-05-03 10:33:39 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2011-05-25 15:35:37 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-12-06 09:30:05 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-05-25 15:35:37 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-05-25 14:17:05 +02:00
|
|
|
Name: obs-service-source_validator
|
2023-05-03 10:33:39 +02:00
|
|
|
Version: 0.29
|
2022-09-20 21:35:56 +02:00
|
|
|
Release: 0
|
2011-05-25 14:17:05 +02:00
|
|
|
Summary: An OBS source service: running all the osc source-validator checks
|
2018-05-15 15:34:23 +02:00
|
|
|
License: GPL-2.0-or-later
|
2012-02-13 20:48:30 +01:00
|
|
|
Group: Development/Tools/Building
|
2020-12-11 11:30:32 +01:00
|
|
|
URL: https://github.com/openSUSE/obs-service-source_validator
|
2013-06-18 14:57:00 +02:00
|
|
|
# use osc service dr to update
|
2022-09-20 21:35:56 +02:00
|
|
|
Source: %{name}-%{version}.tar.zst
|
|
|
|
BuildRequires: build
|
|
|
|
BuildRequires: zstd
|
|
|
|
Requires: %{_bindir}/xmllint
|
|
|
|
Requires: build
|
|
|
|
Requires: patch
|
|
|
|
Requires: perl-TimeDate
|
|
|
|
Provides: osc-source_validator = %{version}
|
|
|
|
Obsoletes: osc-source_validator <= 0.1
|
|
|
|
BuildArch: noarch
|
2013-06-30 09:30:41 +02:00
|
|
|
%if 0%{?suse_version}
|
2013-06-18 14:57:00 +02:00
|
|
|
Requires: gpg2
|
2013-06-30 09:30:41 +02:00
|
|
|
%else
|
|
|
|
# Fedora
|
|
|
|
Requires: gnupg2
|
|
|
|
%endif
|
2014-05-27 17:30:11 +02:00
|
|
|
%if 0%{?suse_version} > 1210 || 0%{?centos_version} > 500
|
2012-02-29 09:36:03 +01:00
|
|
|
Requires: rpm-build
|
|
|
|
%endif
|
2011-05-25 14:17:05 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
This is a source service for openSUSE Build Service.
|
|
|
|
|
2012-03-19 16:00:14 +01:00
|
|
|
This service runs all checks as required by openSUSE:Factory project. This can be used
|
2011-05-25 14:17:05 +02:00
|
|
|
to guarantee that all checks succeed also on the service side. This plugin can be
|
|
|
|
used via project wide defined services.
|
|
|
|
|
|
|
|
%prep
|
2012-03-19 16:00:14 +01:00
|
|
|
%setup -q
|
2011-05-25 14:17:05 +02:00
|
|
|
|
|
|
|
%build
|
2017-07-27 21:15:00 +02:00
|
|
|
:
|
2011-05-25 14:17:05 +02:00
|
|
|
|
|
|
|
%install
|
2018-06-26 10:30:25 +02:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/licenses
|
2022-09-20 21:35:56 +02:00
|
|
|
%make_install
|
2011-05-25 14:17:05 +02:00
|
|
|
|
2018-06-14 17:26:34 +02:00
|
|
|
%check
|
2022-09-20 21:35:56 +02:00
|
|
|
%make_build test
|
2018-06-14 17:26:34 +02:00
|
|
|
|
2011-05-25 14:17:05 +02:00
|
|
|
%files
|
2018-06-25 16:55:06 +02:00
|
|
|
%license COPYING
|
2018-06-26 10:23:40 +02:00
|
|
|
%if 0%{?suse_version} <= 1320
|
|
|
|
%dir %{_datadir}/licenses
|
|
|
|
%endif
|
2022-09-20 21:35:56 +02:00
|
|
|
%dir %{_prefix}/lib/obs
|
|
|
|
%{_prefix}/lib/obs/service
|
2011-05-25 15:35:37 +02:00
|
|
|
|
|
|
|
%changelog
|