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

61 lines
1.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package brp-check-suse
#
# Copyright (c) 2011 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: GPLv2+
Group: Development/Tools/Building
AutoReqProv: off
Summary: build root policy check scripts
Version: 1.0
Release: 44
Source0: %{name}-%{version}.tar.bz2
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
%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