Am 29.11.2010 12:40, schrieb Thorsten Kukuk:
On Fri, Nov 26, Christian wrote:
Am 26.11.2010 09:46, schrieb Thorsten Kukuk:
What is the proposed or good way to write spec files, which works on Fedora, Mandriva and RHEL, too?
This could be extended with the perl_make_install macro. Next question would be. das rpm of Fedora, Mandriva, RHEL read macros from /etc/rpm/... ?
I have submitted a new perl-macros package, which has %perl_make_install as macro and has another name on non-openSUSE distributions, to avoid a file name conflict on Fedora.
ok, thx, just accepted by coolo :)
I the above mentioned will work, then it is just easy to modify cpanspec.
Ok, additional, cpanspec needs to add the following two build requires:
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More)
hmm, on suse these packages are provided by perl. cpanspec will write these if you use 'cpanspec -o' -o, --old Be more compatible with old RHL/FC releases. With this option enabled, the generated spec file * Defines perl_vendorlib or perl_vendorarch. * Includes explicit dependencies for core Perl modules. * Uses "%check || :" instead of just %check. * Includes a hack to remove LD_RUN_PATH from Makefile.
Thorsten
-- Christian --------------------------------------------------- Der ultimative shop für Sportbekleidung und Zubehör http://www.sc24.de --------------------------------------------------- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org