From beab057094dd2feb3ebe3451daf9b5a712fed487 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 26 Jan 2011 12:44:07 +0100 Subject: [PATCH] speed up build - skip std rpm postprocessing --- bootstrapfs.spec | 6 ++++++ noderepo.spec | 6 ++++++ slicerepo.spec | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/bootstrapfs.spec b/bootstrapfs.spec index f67f367..a588f13 100644 --- a/bootstrapfs.spec +++ b/bootstrapfs.spec @@ -11,6 +11,12 @@ #%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %define release %{taglevel}%{?date:.%{date}} +# we don't really need the standard postinstall process from rpm that +# strips files and byte-compiles python files. all files in this +# package are comming from other rpm files and they've already went +# through this post install processing. - baris +%define __os_install_post %{nil} + Vendor: PlanetLab Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} diff --git a/noderepo.spec b/noderepo.spec index 0cd1986..6399924 100644 --- a/noderepo.spec +++ b/noderepo.spec @@ -14,6 +14,12 @@ #%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %define release %{taglevel}%{?date:.%{date}} +# we don't really need the standard postinstall process from rpm that +# strips files and byte-compiles python files. all files in this +# package are comming from other rpm files and they've already went +# through this post install processing. - baris +%define __os_install_post %{nil} + Vendor: OneLab Packager: PlanetLab Europe Distribution: PlanetLab %{plrelease} diff --git a/slicerepo.spec b/slicerepo.spec index 1c0a194..0665afe 100644 --- a/slicerepo.spec +++ b/slicerepo.spec @@ -14,6 +14,12 @@ #%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %define release %{taglevel}%{?date:.%{date}} +# we don't really need the standard postinstall process from rpm that +# strips files and byte-compiles python files. all files in this +# package are comming from other rpm files and they've already went +# through this post install processing. - baris +%define __os_install_post %{nil} + Vendor: OneLab Packager: PlanetLab Europe Distribution: PlanetLab %{plrelease} -- 2.43.0