[stgt] Facilitate building RPM packages

Florian Haas florian.haas at linbit.com
Fri Sep 11 08:10:37 CEST 2009


On 2009-09-11 01:36, FUJITA Tomonori wrote:
> On Tue,  8 Sep 2009 11:18:56 +0200
> Florian Haas <florian.haas at linbit.com> wrote:
> 
>> Hello everyone,
>>
>> here's a small set of patches to facilitate building tgt RPM
>> packages. Largely inspired by the spec file created by Mike Christie
>> for the scsi-target-utils package in RHEL. The sysconfig file and tgtd
>> init script are unchanged from RHEL. Mike, hope that's OK with you.
>>
>> Overall diffstat:
>>
>> conf/sysconfig.tgtd |    2 +
>> conf/targets.conf   |    2 +
>> scripts/tgtd.init   |  150 +++++++++++++++++++++++++++++++++++++++++++++++++++
>> tgt.spec            |  113 ++++++++++++++++++++++++++++++++++++++
>> usr/Makefile        |    2 +-
>>
>> 5 files changed, 268 insertions(+), 1 deletions(-)
> 
> I think that distributions people don't want their package files in a
> mainline (IIRC, a debian developer said it). As I correctly
> understand, it's much easier for them to update their package files
> freely without bothering maintainers.

Yes, Debian does have this policy. I don't think it applies to RHEL or
CentOS though; besides if package maintainers want, they can always
replace the spec with their own. Mike -- your thoughts?

I just find it complicated to have to manually merge the spec from RHEL
with my own local git checkout, just to build reasonably up to date tgt
packages.

Cheers,
Florian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20090911/29e3a518/attachment-0001.sig>


More information about the stgt mailing list