1
0
brp-check-suse/brp-check-suse.spec

63 lines
1.6 KiB
RPMSpec

#
# spec file for package brp-check-suse (Version 1.0)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
# norootforbuild
Name: brp-check-suse
License: Artistic License .. ; GPLv2+
Group: Development/Tools/Building
AutoReqProv: on
Summary: build root policy check scripts
Version: 1.0
Release: 32
Source0: %{name}-%{version}.tar.bz2
Patch0: brp-check-suse-fix_mail.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global provfind sh -c "grep -v 'brp-desktop.data' | %__find_provides"
%global __find_provides %provfind
%description
build root policy check scripts
%prep
%setup -q
%patch0
%build
# nothing to do
%install
install -d $RPM_BUILD_ROOT/usr/lib/rpm
install -d $RPM_BUILD_ROOT/etc/rpm
cp -a brp-* $RPM_BUILD_ROOT/usr/lib/rpm
cp -a macros.* $RPM_BUILD_ROOT/etc/rpm
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc COPYING
/etc/rpm/*
/usr/lib/rpm/*
%changelog