[EPEL-devel] epel-release: consider adding %epel macro ?

Rex Dieter rdieter at math.unl.edu
Fri Oct 31 12:38:58 UTC 2014


Rex Dieter wrote:

> Rex Dieter wrote on Oct 16:
> 
>> I'd like to be able to conditionalize some package features depending on
>> if
>> epel repo is enabled or not.  One way to accomplish that goal is if epel-
>> release defined some macro, say, something like %{epel}, similar to
>> %{feodra} or %{rhel}
>> 
>> (I don't care what the macro is named, as long as the bikeshed remains
>> blue)
>> 
>> My primary motivation is to simplify the task of doing something like:
>> https://copr.fedoraproject.org/coprs/rdieter/kde4/
>> where I currently end up patching various .spec files (mostly to enable
>> features due to having epel available), and I'd like to be able to
>> minimize having to do that.
>> 
>> thoughts?
> 
> ping, any comment or objection?
> 
> I'll work on a patch for epel-release to implement a %{epel} macro, in
> case anyone was waiting for implementation details.

Here's the epel-release patch as promised (epel7 branch), attached.

-- Rex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-implement-epel-macro.patch
Type: text/x-patch
Size: 1848 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/epel-devel/attachments/20141031/9d32221a/attachment.bin>


More information about the epel-devel mailing list