2009-02-04 04:29:06 +01:00
|
|
|
#
|
2011-02-28 15:31:09 +01:00
|
|
|
# spec file for package build-compare
|
2009-02-04 04:29:06 +01:00
|
|
|
#
|
2016-01-04 10:41:00 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2009-02-04 04:29:06 +01: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: build-compare
|
2012-02-16 15:18:23 +01:00
|
|
|
Summary: Build Result Compare Script
|
2012-01-10 14:19:57 +01:00
|
|
|
License: GPL-2.0+
|
2009-02-04 04:29:06 +01:00
|
|
|
Group: Development/Tools/Building
|
2015-02-04 17:13:15 +01:00
|
|
|
Url: https://github.com/openSUSE/build-compare
|
2016-10-12 16:46:18 +02:00
|
|
|
Version: 20161012T163739.10c9ac7
|
2012-02-16 15:18:23 +01:00
|
|
|
Release: 0
|
2010-09-21 13:12:14 +02:00
|
|
|
Source1: COPYING
|
|
|
|
Source2: same-build-result.sh
|
2015-02-12 12:10:09 +01:00
|
|
|
Source3: pkg-diff.sh
|
2010-09-21 13:12:14 +02:00
|
|
|
Source4: functions.sh
|
|
|
|
Source5: srpm-check.sh
|
2016-04-06 09:18:23 +02:00
|
|
|
%if 0%{?suse_version}
|
2016-04-06 09:12:31 +02:00
|
|
|
Requires: bash
|
|
|
|
Requires: coreutils
|
|
|
|
Requires: diffutils
|
|
|
|
Requires: file
|
|
|
|
Requires: gawk
|
|
|
|
Requires: grep
|
|
|
|
Requires: rpm
|
|
|
|
Requires: sed
|
|
|
|
%endif
|
2009-02-04 04:29:06 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
2015-02-03 18:05:52 +01:00
|
|
|
#!BuildIgnore: build-compare
|
2009-02-04 04:29:06 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains scripts to find out if the build result differs
|
|
|
|
to a former build.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2014-11-24 13:18:21 +01:00
|
|
|
%setup -q -c -T
|
2009-02-04 04:29:06 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/build/ $RPM_BUILD_ROOT/%_defaultdocdir/%name
|
2010-09-21 13:12:14 +02:00
|
|
|
install -m 0755 %SOURCE2 %SOURCE3 %SOURCE4 %SOURCE5 $RPM_BUILD_ROOT/usr/lib/build/
|
|
|
|
install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/%_defaultdocdir/%name/
|
2009-02-04 04:29:06 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %_defaultdocdir/%name
|
|
|
|
/usr/lib/build
|
|
|
|
|
|
|
|
%changelog
|