From ccf483d186c0f497e2428d219207a497620c4fa7 Mon Sep 17 00:00:00 2001 From: freesource Date: Fri, 14 Feb 2003 05:35:34 +0000 Subject: [PATCH] Making the specs even better. This time avoiding post scripts specific to various rpm flavors. --- pkg/rpm/gbootroot-mdk.spec | 10 ++++++++++ pkg/rpm/gbootroot.spec | 32 +++++++++++++++++++------------- 2 files changed, 29 insertions(+), 13 deletions(-) diff --git a/pkg/rpm/gbootroot-mdk.spec b/pkg/rpm/gbootroot-mdk.spec index d5ac9d4..cf099cd 100644 --- a/pkg/rpm/gbootroot-mdk.spec +++ b/pkg/rpm/gbootroot-mdk.spec @@ -28,6 +28,16 @@ %define buildd_dir /gbootroot-%{version} %define filelist %{base_dir}/pkg/rpm/filelist +# This line prevents alternative post scripts that are specific to +# various rpm system from running, and interacting badly with the +# spec. This great when you want to maintain packages that run +# everywhere, and don't relish the idea of having to compile hundreds +# of packages every time you do a release. However, efforts on the +# parts of individuals to make packages specific to various +# distributions are greatly appreciated. + +%define __os_install_post %{nil} + Summary: Boot/Root Filesystem Distribution testing and creation. Name: gbootroot diff --git a/pkg/rpm/gbootroot.spec b/pkg/rpm/gbootroot.spec index 1b704ec..f0daa51 100644 --- a/pkg/rpm/gbootroot.spec +++ b/pkg/rpm/gbootroot.spec @@ -28,19 +28,25 @@ %define buildd_dir /gbootroot-%{version} %define filelist %{base_dir}/pkg/rpm/filelist - -Summary: Boot/Root Filesystem Distribution testing and creation. -Name: gbootroot -Version: %{version} -Release: %{release} -Copyright: GPL -# was Utilities/System or Development/System -Group: Development/Other -Source: http://prdownloads.sourceforge.net/gbootroot/gbootroot-%{version}.tar.gz -URL: http://gbootroot.sourceforge.net -Distribution: BootRoot -Vendor: Free Software -Packager: Jonathan Rosenbaum +# This line prevents alternative post scripts that are specific to +# various rpm system from running, and interacting badly with the +# spec. This great when you want to maintain packages that run +# everywhere, and don't relish the idea of having to compile hundreds +# of packages every time you do a release. However, efforts on the +# parts of individuals to make packages specific to various +# distributions are greatly appreciated. + +%define __os_install_post %{nil} + + +Summary: Boot/Root Filesystem Distribution testing and creation. +Name: gbootroot Version: %{version} Release: %{release} Copyright: GPL +# was Utilities/System or Development/System Group: Development/Other +Source: +http://prdownloads.sourceforge.net/gbootroot/gbootroot-%{version}.tar.gz +URL: http://gbootroot.sourceforge.net Distribution: BootRoot Vendor: +Free Software Packager: Jonathan Rosenbaum + # Place icon in rpm sources directory prior to build