This commit is contained in:
parent
7240a2715a
commit
de4ee4163c
11
check-debuginfo.diff
Normal file
11
check-debuginfo.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- checks/01-check-debuginfo.orig 2009-07-27 16:52:05.000000000 +0200
|
||||
+++ checks/01-check-debuginfo 2009-07-27 16:52:09.000000000 +0200
|
||||
@@ -5,7 +5,7 @@
|
||||
fast=
|
||||
test -x /usr/lib/rpm/rpmi && fast="--nodigest --nosignature"
|
||||
|
||||
-RPMS=`find $BUILD_ROOT/usr/src/packages/RPMS -name "*-debuginfo-*.rpm"`
|
||||
+RPMS=`find $BUILD_ROOT/usr/src/packages/RPMS -name "*-debuginfo-*.rpm" -o -name "*-debugsource-*.rpm"`
|
||||
test -z "$RPMS" && exit 0
|
||||
for rpm in $RPMS ; do
|
||||
HAS_DEBUG=
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 27 16:53:13 CEST 2009 - rguenther@suse.de
|
||||
|
||||
- also remove empty debugsource packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 24 16:45:44 CEST 2009 - coolo@novell.com
|
||||
|
||||
|
@ -24,12 +24,13 @@ Group: Development/Tools/Building
|
||||
AutoReqProv: on
|
||||
Summary: post checks for build after rpms have been created
|
||||
Version: 1.0
|
||||
Release: 62
|
||||
Release: 63
|
||||
PreReq: aaa_base permissions sed
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Source1: suse-buildsystem.sh
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch: check-debuginfo.diff
|
||||
|
||||
%description
|
||||
some scripts to check for problems like test-installing the newly
|
||||
@ -44,6 +45,7 @@ it may not be a good idea to install this to a running system:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch
|
||||
|
||||
%build
|
||||
# nothing to do
|
||||
|
Loading…
Reference in New Issue
Block a user