2008-09-04 16:00:00 +02:00
|
|
|
#
|
2011-04-29 01:48:29 +02:00
|
|
|
# spec file for package brp-check-suse
|
2008-09-04 16:00:00 +02:00
|
|
|
#
|
2018-09-10 15:00:51 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2008-09-04 16:00:00 +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.
|
|
|
|
|
2018-11-06 15:37:44 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-09-04 16:00:00 +02:00
|
|
|
#
|
|
|
|
|
2012-03-11 20:06:28 +01:00
|
|
|
|
2008-09-04 16:00:00 +02:00
|
|
|
Name: brp-check-suse
|
2011-01-10 18:37:51 +01:00
|
|
|
AutoReqProv: off
|
2011-12-11 22:57:42 +01:00
|
|
|
Summary: Build root policy check scripts
|
2018-09-10 15:00:51 +02:00
|
|
|
# we need the full perl because of XML Parsing and utf-8
|
|
|
|
License: GPL-2.0-or-later
|
2011-12-11 22:57:42 +01:00
|
|
|
Group: Development/Tools/Building
|
2012-11-12 13:33:34 +01:00
|
|
|
Requires: perl
|
2018-11-06 15:37:44 +01:00
|
|
|
Version: 84.87+git20181106.224b37d
|
2011-12-11 22:57:42 +01:00
|
|
|
Release: 0
|
2014-07-30 14:44:06 +02:00
|
|
|
Url: https://github.com/openSUSE/brp-check-suse
|
2011-07-22 16:42:37 +02:00
|
|
|
#
|
|
|
|
# Note: don't rebuild this manually. Instead submit your patches
|
2014-02-24 10:15:14 +01:00
|
|
|
# for inclusion in the git repo at https://github.com/openSUSE/brp-check-suse
|
2011-07-22 16:42:37 +02:00
|
|
|
#
|
2014-02-24 10:15:14 +01:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2008-09-04 16:00:00 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-04-13 00:51:41 +02:00
|
|
|
%global provfind sh -c "grep -v 'brp-desktop.data' | %__find_provides"
|
|
|
|
%global __find_provides %provfind
|
2008-09-04 16:00:00 +02:00
|
|
|
|
|
|
|
%description
|
2018-09-10 15:00:51 +02:00
|
|
|
This package contains all suse scripts called in the
|
2011-12-11 22:57:42 +01:00
|
|
|
build root checking or in parts implemeting SUSE policies.
|
2008-09-04 16:00:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2018-09-10 15:00:51 +02:00
|
|
|
%ifnarch x86_64 s390x ppc64 aarch64
|
2011-12-11 22:57:42 +01:00
|
|
|
rm brp-65-lib64-linux
|
|
|
|
%endif
|
2008-09-04 16:00:00 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
# nothing to do
|
|
|
|
|
|
|
|
%install
|
2011-12-11 22:57:42 +01:00
|
|
|
install -d $RPM_BUILD_ROOT/usr/lib/rpm/brp-suse.d
|
|
|
|
mv brp*data $RPM_BUILD_ROOT/usr/lib/rpm/
|
|
|
|
cp -a brp-* $RPM_BUILD_ROOT/usr/lib/rpm/brp-suse.d
|
2008-09-04 16:00:00 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2018-09-10 15:00:51 +02:00
|
|
|
%license COPYING
|
2008-09-04 16:00:00 +02:00
|
|
|
/usr/lib/rpm/*
|
|
|
|
|
|
|
|
%changelog
|