Rex Dieter wrote:

> 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.

As a followup, it would appear that COPR is starting to define macros:
copr_projectname
copr_username
(as well as redefining 'vendor')

So the urgency to do this in epel specifically is less, but I still think it 
is a good idea.

-- Rex

_______________________________________________
epel-devel mailing list
epel-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/epel-devel

Reply via email to