Title: Re: [Sisuite-devel] systemimager.spec patch
Hi Brian:
 
Andrea found that it does not work with 2.03 and I tested 2.05 and it worked, so I think it is safe to assume that we need at least 2.05.  I have adjusted my patch accordingly and have attached it here again.
 
Thanks,
 
Bernard


From: [EMAIL PROTECTED] on behalf of Brian Elliott Finley
Sent: Wed 20/07/2005 4:49 PM
To: [EMAIL PROTECTED]
Cc: sisuite-devel@lists.sourceforge.net
Subject: Re: [Sisuite-devel] systemimager.spec patch

Thanks, Andrea, and Bernard,

Attached is the Changelog from the perl-XML-Simple source.  Any chance
you guys could have a look and see if you can tell how far back we can go?



Andrea Righi wrote:

> I've successfully tested si_monitor with perl-XML-Simple-2.12 (on a
> Mandrake 10.1) and unsuccessfully with perl-XML-Simple-1.08... so at
> least I think you can specify >=2.12..
>
> Regards,
> -Andrea
>
> Bernard Li wrote:
>
>> Hey Brian:
>>
>> I am not sure when the 'ForceArray' functionality was introduced in
>> perl-XML-Simple, but as long as the dependency on the version is
>> correct, I have no problem with your modification.
>>
>> Thanks,
>>
>> Bernard
>>
>>> -----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
>>> ------------------------------------------------------
>>>
>>>
>>
>>
>>
>> -------------------------------------------------------
>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>> from IBM. Find simple to follow Roadmaps, straightforward articles,
>> informative Webcasts and more! Get everything you need to get up to
>> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
>> _______________________________________________
>> Sisuite-devel mailing list
>> Sisuite-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sisuite-devel
>>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Sisuite-devel mailing list
> Sisuite-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sisuite-devel
>
>

--
------------------------------------------------------
 Brian Elliott Finley           Mobile:  630.631.6621
 gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52
------------------------------------------------------

Index: systemimager.spec
===================================================================
--- systemimager.spec   (revision 3196)
+++ 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.05, 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,11 @@
 process.
 
 %changelog
+* Sat Jul 23 2005 Bernard Li <[EMAIL PROTECTED]>
+- Updated Copyright -> License (deprecated)
+- Added requirement for perl-TermReadKey
+- Updated requirement for perl-XML-Simple to >= 2.05
+
 * 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

Reply via email to