-----Original Message-----
From: Brian Elliott Finley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 20, 2005 7:43
To: Bernard Li
Cc: sisuite-devel@lists.sourceforge.net
Subject: Re: [Sisuite-devel] systemimager.spec patch
Bernard,
With regard to perl-XML-Simple:
* Is it possible to require perl-XML-Simple ">= 2" or ">= 2.00".
SuSE 9.3, for example, is only on 2.12, while SuSE 9.0
is on 2.08:
o
http://mirror.mcs.anl.gov/pub/suse/i386/9.3/suse/i586/perl-XML
-Simple-2.12-3.i586.rpm
o
http://mirror.mcs.anl.gov/pub/suse/i386/9.0/suse/i586/perl-XML
-Simple-2.08-39.i586.rpm
Bernard Li wrote:
Hi guys:
The attached patch mainly adds new RPM dependencies from si_monitor,
also added %configure command (I thought this was necessary, but was
not in Erich's spec file, not sure if it's required...?)
Summary from my changelog:
- Updated Copyright -> License (deprecated)
- Added %configure command
- Added requirement for perl-TermReadKey
- Updated requirement for perl-XML-Simple to >= 2.14
Thanks,
Bernard
-------------------------------------------------------------
-----------
Index: systemimager.spec
===================================================================
--- systemimager.spec (revision 3192)
+++ systemimager.spec (working copy)
@@ -15,7 +15,7 @@
Name: %name
Version: %ver
Release: %rel
-Copyright: GPL
+License: GPL
Group: Applications/System
Source0:
http://download.sourceforge.net/systemimager/%{name}-%{ver}.tar.bz2
BuildRoot: /tmp/%{name}-%{ver}-root
@@ -35,13 +35,13 @@
Summary: Software that automates Linux installs, software
distribution, and production deployment.
Version: %ver
Release: %rel
-Copyright: GPL
+License: GPL
Group: Applications/System
BuildRoot: /tmp/%{name}-%{ver}-root
Packager: dann frazier <[EMAIL PROTECTED]>
URL: http://systemimager.org/
Distribution: System Installation Suite
-Requires: rsync >= 2.4.6, systemimager-common = %{version},
perl-AppConfig, dosfstools, /sbin/chkconfig, perl, perl-XML-Simple
+Requires: rsync >= 2.4.6, systemimager-common = %{version},
perl-AppConfig, dosfstools, /sbin/chkconfig, perl,
perl-XML-Simple >= 2.14, perl-TermReadKey
AutoReqProv: no
%description server
@@ -66,7 +66,7 @@
Summary: Software that automates Linux installs, software
distribution, and production deployment.
Version: %ver
Release: %rel
-Copyright: GPL
+License: GPL
Group: Applications/System
BuildRoot: /tmp/%{name}-%{ver}-root
Packager: dann frazier <[EMAIL PROTECTED]>
@@ -97,7 +97,7 @@
Summary: Software that automates Linux installs, software
distribution, and production deployment.
Version: %ver
Release: %rel
-Copyright: GPL
+License: GPL
Group: Applications/System
BuildRoot: /tmp/%{name}-%{ver}-root
Packager: dann frazier <[EMAIL PROTECTED]>
@@ -128,7 +128,7 @@
Summary: Software that automates Linux installs, software
distribution, and production deployment.
Version: %ver
Release: %rel
-Copyright: GPL
+License: GPL
Group: Applications/System
BuildRoot: /tmp/%{name}-%{ver}-root
Packager: dann frazier <[EMAIL PROTECTED]>
@@ -161,7 +161,7 @@
Summary: Software that automates Linux installs, software
distribution, and production deployment.
Version: %ver
Release: %rel
-Copyright: GPL
+License: GPL
Group: Applications/System
BuildRoot: /tmp/%{name}-%{ver}-root
Packager: dann frazier <[EMAIL PROTECTED]>
@@ -191,6 +191,12 @@
process.
%changelog
+* Wed Jul 20 2005 Bernard Li <[EMAIL PROTECTED]>
+- Updated Copyright -> License (deprecated)
+- Added %configure command
+- Added requirement for perl-TermReadKey
+- Updated requirement for perl-XML-Simple to >= 2.14
+
* Sun Dec 19 2004 Josh Aas <[EMAIL PROTECTED]>
- Here is another patch for RPM building. With this patch,
you should be
able to make an srpm, install it, build from the spec
file ("rpmbuild
@@ -301,6 +307,8 @@
%prep
%setup -q
+%configure
+
make -j11 get_source
# Only build everything if on x86, this helps with PPC build issues
--
------------------------------------------------------
Brian Elliott Finley Mobile: 630.631.6621
gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52
------------------------------------------------------