Opened 15 years ago

Closed 14 years ago

#3101 closed defect (fixed)

gdal.spec out of date

Reported by: hicksa Owned by: warmerdam
Priority: normal Milestone: 1.8.0
Component: default Version: unspecified
Severity: major Keywords:
Cc:

Description

gdal.spec has not been updated since version 1.3.0 and the two required patch files (gdal-install.patch and gdal-ldflags.patch) are not included in the source file.

This would make it substantially easier to generate RPM packages.

Change History (4)

comment:1 by Even Rouault, 15 years ago

Actually, I'm wondering if we should not remove gdal.spec from GDAL source tree.

.spec files are the responsibility of whatever distro uses them and depend on various parameters proper to the distro, so it makes little sense to maintain an upstream one. You can always fetch the gdal.spec used by Fedora for example : http://cvs.fedoraproject.org/viewvc/rpms/gdal/devel/

comment:2 by hicksa, 15 years ago

Actually the gdal.spec we require is for CentOS 5.3, I think the Fedora one could be used...

in reply to:  2 comment:3 by hicksa, 14 years ago

Replying to hicksa:

Actually the gdal.spec we require is for CentOS 5.3, I think the Fedora one could be used...

Ok, tried this a while ago, and forgot to post the result.

There is inconsistancy in package naming between Fedora and RHEL/CentOS, so the Fedora spec file isn't correct.

but it looks like all I need to do is correct the dependencies, and track down the packages which aren't in the CentOS repository...

comment:4 by Even Rouault, 14 years ago

Milestone: 1.6.41.8.0
Resolution: fixed
Status: newclosed

r19207 /trunk/gdal/gdal.spec: Removing gdal.spec as unmaintained by us. Content depends on each distribution (#3101)

Note: See TracTickets for help on using tickets.