I noticed that in revised haskell guidelines [1], there is mentioned the
ghc-rpm-macros package, which provides macros.ghc file, which in turns
provides some useful macros for packaging of Haskell packages. In Ruby,
we provide similar macro files in ruby-devel and rubygems-devel
subpackages respectively. Perl has their macros directly in the rpm
package itself.
This seems to be a bit inconsistent to me. So my question is: shouldn't
we standardize some best practices with regards of RPM macros? For
example for Ruby, we placed the macros into -devel subpackages, because
we believe that it is just development dependency. Any opinions?
It depends what you need to do. Part of Perl macros is in a special
package perl-srpm-macros, which is required by redhat-rpm-config. We
should have all macros defined in perl-srpm-macros in buildroot
everytime, which was one of our issues during annual rebuild.
Marcela
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
07-23-2012, 05:49 AM
Jens Petersen
RPM macros
> It depends what you need to do. Part of Perl macros is in a special
> package perl-srpm-macros, which is required by redhat-rpm-config. We
> should have all macros defined in perl-srpm-macros in buildroot
> everytime, which was one of our issues during annual rebuild.
That's interesting since we also have a couple of ghc srpm arch related
macros added to fedora's redhat-rpm-macros package, which then of course
needed to be in a different package for EPEL...
Jens
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging