rpms/flumotion/devel flumotion.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Ralf Corsepius
rc040203 at freenet.de
Thu Apr 21 17:00:32 UTC 2005
- Previous message (by thread): rpms/flumotion/devel flumotion.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/flumotion/devel flumotion.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
On Thu, 2005-04-21 at 12:40 -0400, Thomas Vander Stichele wrote:
> Requires(post): openssl
> %post
> /sbin/chkconfig --add flumotion
> # generate a default .pem certificate ?
> PEM_FILE="%{_sysconfdir}/flumotion/default.pem"
> if ! test -e ${PEM_FILE}
> then
> sh %{_datadir}/ssl/certs/make-dummy-cert ${PEM_FILE}
This is not quite correct.
%{_datadir} is a property of this package, this scriptlet however is
expecting /usr/share/ssl/certs/make-dummy-cert (A property currently
being provided by openssl)
Therefore I'd recommend you to change
Requires(post): openssl
into
Requires(post): /usr/share/ssl/certs/make-dummy-cert
and to use
/usr/share/ssl/certs/make-dummy-cert instead of
%{_datadir}/ssl/certs/make-dummy-cert
This might seem negligible to you, but it makes a substantial difference
should the location of make-dummy-cert change, or openssl be replaced by
another package.
Ralf
- Previous message (by thread): rpms/flumotion/devel flumotion.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/flumotion/devel flumotion.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list