diff --git a/qpid-proton.spec b/qpid-proton.spec index 37f8f34..864fc25 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -1,4 +1,4 @@ -%global proton_datadir %{_datadir}/proton-%{version} +%global proton_datadir %{_datadir}/proton %global __provides_exclude_from ^%{proton_datadir}/examples/.*$ %global __requires_exclude_from ^%{proton_datadir}/examples/.*$ @@ -22,7 +22,7 @@ Patch0: proton.patch Source1: licenses.xml -%global proton_licensedir %{_licensedir}/proton-%{version} +%global proton_licensedir %{_licensedir}/proton %{!?_licensedir:%global license %doc} %{!?_licensedir:%global proton_licensedir %{proton_datadir}}