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
|
|
|
#
|
2021-01-15 10:05:11 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
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
|
2021-06-07 09:45:09 +02:00
|
|
|
Version: 84.87+git20210607.252083e
|
2011-12-11 22:57:42 +01:00
|
|
|
Release: 0
|
2020-02-15 11:37:23 +01:00
|
|
|
URL: https://github.com/openSUSE/brp-check-suse
|
2020-05-04 17:28:08 +02:00
|
|
|
BuildRequires: gcc-c++
|
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
|
2020-08-17 16:57:08 +02:00
|
|
|
build root checking or in parts implementing SUSE policies.
|
2008-09-04 16:00:00 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2020-05-04 17:28:08 +02:00
|
|
|
make -C prg-brp-symlink
|
2008-09-04 16:00:00 +02:00
|
|
|
|
|
|
|
%install
|
2020-05-04 17:28:08 +02:00
|
|
|
install -D -m 755 prg-brp-symlink/brp-symlink $RPM_BUILD_ROOT/%_bindir/brp-symlink.prg
|
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
|
|
|
|
2020-05-04 17:28:08 +02:00
|
|
|
%check
|
|
|
|
make -C prg-brp-symlink check
|
|
|
|
|
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/*
|
2020-05-04 17:28:08 +02:00
|
|
|
%_bindir/brp-symlink.prg
|
2008-09-04 16:00:00 +02:00
|
|
|
|
|
|
|
%changelog
|