rpms/epylog/devel epylog.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael Schwendt bugs.michael at gmx.net
Sat Apr 23 07:17:34 UTC 2005


On Fri, 1 Apr 2005 09:16:14 -0500, Konstantin Ryabitsev (icon) wrote:

> Author: icon
> 
> Update of /cvs/extras/rpms/epylog/devel

> %{!?_perl_vendorlib: %define _perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)}
>

Without leading underscore, %perl_vendorlib and %perl_vendorarch (and
more) come predefined for some longer time.

> Version:        1.0.3
> Release:        1
> Epoch:          0

Epoch slipped in here by accident.

> %package perl
> Summary:        Perl module for writing external Epylog modules
> Group:          Development/Libraries
> Requires:       epylog
> Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
> 

Regardless of whether package update tools like Yum are used, sub-packages
ought to "Requires: %name = %version-%release" to always be in sync with
the main package.

> %install
> rm -rf %{buildroot}
> make install DESTDIR=%{buildroot}
> ##
> # Remove installed docs
> #
> rm -rf %{buildroot}%{_defaultdocdir}
> ##
> # Move docs to doc
> #
> mv AUTHORS ChangeLog INSTALL LICENSE README doc/

Moving these files breaks --short-circuit installs, better copy them.
 
> %dir %{_localstatedir}/lib/epylog
> %dir %{_datadir}/epylog
> %{_datadir}/epylog/modules/*

And "modules" directory is not included here.




More information about the fedora-extras-commits mailing list