#4 Add Conflicts with lower versions of pybind11-devel
Merged 3 years ago by jussilehtola. Opened 3 years ago by torsava.
rpms/ torsava/pybind11 epel8-pr  into  epel8

file modified
+13 -1
@@ -15,7 +15,7 @@ 

  

  Name:    pybind11

  Version: 2.4.3

- Release: 2%{?dist}

+ Release: 3%{?dist}

  Summary: Seamless operability between C++11 and Python

  License: BSD

  URL:	 https://github.com/pybind/pybind11
@@ -63,6 +63,15 @@ 

  # For dir ownership

  Requires: cmake

  

+ # This package does not have namespaced file locations, so if the pybind11-devel

+ # package is also built for a different Python stack in RHEL or inside some

+ # module, the files between the two packages will conflict. Therefore, each

+ # pybind11-devel package should conflict with any other of lower version. That

+ # way all packages will conflict among each other, but if there's an update in

+ # the future that makes the package non-conflicting, the future versions can

+ # stop the conflicts.

+ Conflicts:  %{name}-devel < %{version}-%{release}

+ 

  %description devel

  %{base_description}

  
@@ -168,6 +177,9 @@ 

  %endif

  

  %changelog

+ * Fri Jan 29 2021 Tomas Orsava <torsava@redhat.com> - 2.4.3-3

+ - Add Conflicts with lower versions of pybind11-devel

+ 

  * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.3-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

no initial comment

Pull-Request has been merged by jussilehtola

3 years ago