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. 32
      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

32
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
Summary: Boot/Root Filesystem Distribution testing and creation. # various rpm system from running, and interacting badly with the
Name: gbootroot # spec. This great when you want to maintain packages that run
Version: %{version} # everywhere, and don't relish the idea of having to compile hundreds
Release: %{release} # of packages every time you do a release. However, efforts on the
Copyright: GPL # parts of individuals to make packages specific to various
# was Utilities/System or Development/System # distributions are greatly appreciated.
Group: Development/Other
Source: http://prdownloads.sourceforge.net/gbootroot/gbootroot-%{version}.tar.gz %define __os_install_post %{nil}
URL: http://gbootroot.sourceforge.net
Distribution: BootRoot
Vendor: Free Software Summary: Boot/Root Filesystem Distribution testing and creation.
Packager: Jonathan Rosenbaum <freesource@users.sourceforge.net> 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
<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