1
0
brp-check-suse/brp-check-suse.spec
Stephan Kulow bba6f347b0 Accepting request 108715 from home:dimstar:libgrss
Accept the entire xdg icon name space... this fixes tracker-extras build for example. And ye: This fix HAS been submitted to github more than 2 weeks ago... still, we need it finally fixed in Factory

OBS-URL: https://build.opensuse.org/request/show/108715
OBS-URL: https://build.opensuse.org/package/show/Base:System/brp-check-suse?expand=0&rev=32
2012-03-11 19:06:28 +00:00

67 lines
1.9 KiB
RPMSpec

#
# spec file for package brp-check-suse
#
# Copyright (c) 2012 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/
#
Name: brp-check-suse
AutoReqProv: off
Summary: Build root policy check scripts
License: GPL-2.0+
Group: Development/Tools/Building
Version: 1.0
Release: 0
Url: http://gitorious.org/opensuse/brp-check-suse/
#
# Note: don't rebuild this manually. Instead submit your patches
# for inclusion in the git repo!
#
# git clone git://gitorious.org/opensuse/brp-check-suse.git
# cd post-build-checks
# make package
#
Source0: %{name}-%{version}.tar.bz2
Patch0: brp-check-xdg-menus.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global provfind sh -c "grep -v 'brp-desktop.data' | %__find_provides"
%global __find_provides %provfind
%description
This package contains all suse scripts called in the
build root checking or in parts implemeting SUSE policies.
%prep
%setup -q
%patch0 -p1
%ifnarch x86_64 s390x ppc64
rm brp-65-lib64-linux
%endif
%build
# nothing to do
%install
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
%files
%defattr(-, root, root)
%doc COPYING
/usr/lib/rpm/*
%changelog