Flavio Leitner <[email protected]> writes:

> On Sat, Jun 03, 2017 at 11:09:57AM -0400, Aaron Conole wrote:
>> According to the packaging guidelines found at
>> https://fedoraproject.org/wiki/PackagingDrafts:Python3EPEL, when
>> specifying a python3 package, use the %{python3_pkgversion} macro to get
>> the appropriate suffix.
>
> This looks incomplete because the package's name remains python3-openvswitch
> where it should have been python%{python3_pkgversion}-openvswitch.
> Same issue with the requires for that subpackage.

Makes sense.  I'll fix it up, and test.

Thanks Flavio!

> Thanks,
> fbl
>  
>> Fixes: db8dcbaf1c57 ("packaging: Make Fedora spec file CentOS compatible")
>> CC: Leif Madsen <[email protected]>
>> CC: Timothy Redaelli <[email protected]>
>> Signed-off-by: Aaron Conole <[email protected]>
>> ---
>>  rhel/openvswitch-fedora.spec.in | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/rhel/openvswitch-fedora.spec.in 
>> b/rhel/openvswitch-fedora.spec.in
>> index 9fc5f27..95533aa 100644
>> --- a/rhel/openvswitch-fedora.spec.in
>> +++ b/rhel/openvswitch-fedora.spec.in
>> @@ -132,7 +132,7 @@ License: ASL 2.0
>>  BuildArch: noarch
>>  Requires: python3
>>  Requires: python3-six
>> -%{?python_provide:%python_provide python3-openvswitch = 
>> %{version}-%{release}}
>> +%{?python_provide:%python_provide
>> python%{python3_pkgversion}-openvswitch = %{version}-%{release}}
>>  
>>  %description -n python3-openvswitch
>>  Python bindings for the Open vSwitch database
>> -- 
>> 2.9.4
>> 
>> _______________________________________________
>> dev mailing list
>> [email protected]
>> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to