[Bug 183256] Add requires and provides filtering to the Perl template

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Add requires and provides filtering to the Perl template


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=183256


ville.skytta@xxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |fedora-extras-
                   |                            |list@xxxxxxxxxx




------- Additional Comments From ville.skytta@xxxxxx  2006-02-27 15:41 EST -------
(In reply to comment #0)
> If you think that's too much to clutter the template with then I understand;
> I'll try to get it added to the wiki in any case.

Personally I do think it's too much as this stuff is relatively rarely needed
anyway, but let's see if folks on fedora-extras-list have differing opinions. 
There's also the same stuff for filtering spurious perl(...) autodependencies,
but luckily that's even more rare.

Some nitpickery about the suggested boilerplate:

> cat <<XXX > %{name}-prov

This should be "... << \XXX ..." (note the backslash) to prevent too early shell
variable expansion (such as with "$*" below).  And EOF sounds better than XXX to me.

> #!/bin/sh
> %{__perl_provides} $* | sed -e '/perl(unwanted_provide)/d'

No sed in perl packages, for god's sake! :)  I'd personally use grep -v.

> XXX
> %define __perl_provides %{_builddir}/%{name}-%{version}/%{name}-prov

%{name}-%{version} practically never works for perl module packages in this
context, but needs to be Foo-Bar-%{version}.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux