[Fedora-packaging] Mention %{_sharedstatedir} difference on RPMMacros for EPEL

Toshio Kuratomi a.badger at gmail.com
Tue Feb 9 18:45:43 UTC 2010


On Tue, Feb 09, 2010 at 02:20:44PM +0100, Ralf Corsepius wrote:
> On 02/09/2010 12:58 PM, Till Maas wrote:
> > Hiyas,
> >
> > I noticed that the RPMMacros page does not mention that
> > %{_sharestatedir} expands to %{_prefix}/com on CentOS
> This would be "simply plain wrong".
> 
> The GNU Standards define it as:
> 
> sharedstatedir'
>       The directory for installing architecture-independent data files
>       which the programs modify while they run.
> 
> On Fedora it evaluates to /var/lib, which is a meaningful setting.
> 
> %{_prefix}/com matches to the default the GNU Standards describe, but in 
> a distro's constext, this would seem to be "simply plain wrong" to me == 
> I consider the setting on CentOS to be a bug.
> 
It is, but it's not something that's going to change within the release.
We need to ducment the difference so people porting a Fedora package to
EPEL-5 know not to rely on %{_sharestatedir} there.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/packaging/attachments/20100209/b3318216/attachment.bin 


More information about the packaging mailing list