#3 Do not generate Provides for python-dateutil, vobject, defusedxml, passlib
Merged 2 years ago by pbiering. Opened 2 years ago by sneininger.
https://pagure.io/radicale-pullrequest.git epel8  into  epel8

Do not generate Provides for python-dateutil, vobject, defusedxml, passlib
Simon Neininger • 2 years ago  
radicale.spec
file modified
+7 -1
@@ -1,6 +1,9 @@

  %global selinux_types %(%{__awk} '/^#[[:space:]]*SELINUXTYPE=/,/^[^#]/ { if ($3 == "-") printf "%s ", $2 }' /etc/selinux/config 2>/dev/null)

  %global selinux_variants %([ -z "%{selinux_types}" ] && echo mls targeted || echo %{selinux_types})

  

+ # Do not generate Provides for python-dateutil, vobject, defusedxml, passlib

+ %global __provides_exclude_from ^%{python3_sitelib}/(dateutil|python_dateutil|vobject|defusedxml|passlib).*$

+ 

  # unfortunately, radicale major version upgrades are breakable updates, therefore

  # Fedora >= 31: introduce radicale3

  # EL7: introduce radicale2 & radicale3 (planned)
@@ -48,7 +51,7 @@

  

  Name:             radicale

  Version:          %{radicale_version}

- Release:          13%{?dist}

+ Release:          14%{?dist}

  Summary:          A simple CalDAV (calendar) and CardDAV (contact) server

  License:          GPLv3+

  URL:              https://radicale.org
@@ -642,6 +645,9 @@

  

  

  %changelog

+ * Wed Dec 16 2020 Simon Neininger <simon@neininger.net> - 3.0.6-14

+ - Do not generate Provides for python-dateutil, vobject, defusedxml, passlib

+ 

  * Sun Nov 08 2020 Peter Bieringer <pb@bieringer.de> - 3.0.6-13

  - Only SELinux relabel log directory if existing

  - Remove no longer required/supported log directory from SELinux file context

no initial comment

Do not generate Provides for python-dateutil, vobject, defusedxml, passlib

Reason: Previously, Provides like `python3dist(python-dateutil)' were generated.
The python-dateutil version shipped in python38-radicale3 is newer than the
one shipped in python3-dateutil, so it gets preferred by dnf when
installing `python3dist(python-dateutil)'. This breaks the build of other packages
that use Python 3.6 in EPEL-8 with dependencies like `BuildRequires: python3dist(python-dateutil)'.

Provides in previous version 3.0.6-13:
$ rpm -qPp python38-radicale3-3.0.6-13.el8.noarch.rpm
python3.8dist(defusedxml) = 0.6.0
python3.8dist(passlib) = 1.7.2
python3.8dist(python-dateutil) = 2.8.1
python3.8dist(radicale) = 3.0.6
python3.8dist(vobject) = 0.9.6.1
python38-radicale3 = 3.0.6-13.el8
python3dist(defusedxml) = 0.6.0
python3dist(passlib) = 1.7.2
python3dist(python-dateutil) = 2.8.1
python3dist(radicale) = 3.0.6
python3dist(vobject) = 0.9.6.1

Provides with this commit, version 3.0.6-14:
$ rpm -qPp python38-radicale3-3.0.6-14.el8.noarch.rpm
python3.8dist(radicale) = 3.0.6
python38-radicale3 = 3.0.6-14.el8
python3dist(radicale) = 3.0.6

Pull-Request has been merged by pbiering

2 years ago
Metadata