Browse Source

Making the specs even better. This time avoiding post scripts

specific to various rpm flavors.
master
freesource 22 years ago
parent
commit
ccf483d186
  1. 10
      pkg/rpm/gbootroot-mdk.spec
  2. 28
      pkg/rpm/gbootroot.spec

10
pkg/rpm/gbootroot-mdk.spec

@ -28,6 +28,16 @@
%define buildd_dir /gbootroot-%{version} %define buildd_dir /gbootroot-%{version}
%define filelist %{base_dir}/pkg/rpm/filelist %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. Summary: Boot/Root Filesystem Distribution testing and creation.
Name: gbootroot Name: gbootroot

28
pkg/rpm/gbootroot.spec

@ -28,19 +28,25 @@
%define buildd_dir /gbootroot-%{version} %define buildd_dir /gbootroot-%{version}
%define filelist %{base_dir}/pkg/rpm/filelist %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. Summary: Boot/Root Filesystem Distribution testing and creation.
Name: gbootroot Name: gbootroot Version: %{version} Release: %{release} Copyright: GPL
Version: %{version} # was Utilities/System or Development/System Group: Development/Other
Release: %{release} Source:
Copyright: GPL http://prdownloads.sourceforge.net/gbootroot/gbootroot-%{version}.tar.gz
# was Utilities/System or Development/System URL: http://gbootroot.sourceforge.net Distribution: BootRoot Vendor:
Group: Development/Other Free Software Packager: Jonathan Rosenbaum
Source: http://prdownloads.sourceforge.net/gbootroot/gbootroot-%{version}.tar.gz <freesource@users.sourceforge.net>
URL: http://gbootroot.sourceforge.net
Distribution: BootRoot
Vendor: Free Software
Packager: Jonathan Rosenbaum <freesource@users.sourceforge.net>
# Place icon in rpm sources directory prior to build # Place icon in rpm sources directory prior to build

Loading…
Cancel
Save