- allow /usr/src/parrot in parrot-devel

OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=17
This commit is contained in:
Michael Schröder 2010-02-19 11:23:38 +00:00 committed by Git OBS Bridge
parent 6041c0cc77
commit 226abf1b68
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,19 @@
--- ./checks/04-check-filelist.orig 2009-08-10 00:17:17.000000000 +0000
+++ ./checks/04-check-filelist 2010-02-19 10:59:17.000000000 +0000
@@ -125,6 +125,16 @@ if [ ! -z "$ALL_RPMS" ] ; then
;;
esac
;;
+ /usr/src/parrot*)
+ case $RPM_NAME in
+ parrot-devel)
+ ;;
+ *)
+ echo "$RPM_NAME: \"$LINE\" may only be packaged in the parrot-devel package"
+ UNVALID_FILE_FOUND=true
+ ;;
+ esac
+ ;;
# exceptions for CVS/RCS/liveeval
/usr/share/doc/howto/en/txt/RCS|\
/usr/share/YaST2/data/devtools/*|\

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 19 12:00:32 CET 2010 - mls@suse.de
- allow /usr/src/parrot in parrot-devel
-------------------------------------------------------------------
Sat Feb 6 17:31:27 CET 2010 - detlef@links2linux.de

View File

@ -29,6 +29,7 @@ PreReq: aaa_base permissions sed
Source0: %{name}-%{version}.tar.bz2
Source1: suse-buildsystem.sh
Patch0: %{name}-umount.patch
Patch1: %{name}-parrot.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -46,6 +47,7 @@ it may not be a good idea to install this to a running system:
%prep
%setup -q
%patch0 -p1
%patch1
%build
# nothing to do