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
|
|
|
#
|
2014-02-24 10:15:14 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products 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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
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
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Development/Tools/Building
|
2012-11-12 13:33:34 +01:00
|
|
|
# we need the full perl because of XML Parsing and utf-8
|
|
|
|
Requires: perl
|
2014-07-25 19:49:19 +02:00
|
|
|
Version: 13.2+git20140725.f7886d5
|
2011-12-11 22:57:42 +01:00
|
|
|
Release: 0
|
2011-07-22 16:42:37 +02:00
|
|
|
Url: http://gitorious.org/opensuse/brp-check-suse/
|
|
|
|
#
|
|
|
|
# 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
|
2011-12-11 22:57:42 +01:00
|
|
|
This package contains all suse scripts called in the
|
|
|
|
build root checking or in parts implemeting SUSE policies.
|
2008-09-04 16:00:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-12-11 22:57:42 +01:00
|
|
|
%ifnarch x86_64 s390x ppc64
|
|
|
|
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)
|
|
|
|
%doc COPYING
|
|
|
|
/usr/lib/rpm/*
|
|
|
|
|
|
|
|
%changelog
|