Bug 2314414

Summary: Package doesn't provide python3dist(xapian) >= 1.4
Product: [Fedora] Fedora Reporter: Michal Konecny <mkonecny>
Component: xapian-bindingsAssignee: Christiano Anderson <chris>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: adel.gadllah, chris, denis.arnaud_fedora, ibiam, mkonecny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-03 14:10:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Konecny 2024-09-24 10:21:02 UTC
I tried to package xapian-haystack backend for Fedora (see https://copr.fedorainfracloud.org/coprs/zlopez/xapian-haystack/). The build was successful, but the install failed with:
```
Failed to resolve the transaction:
Problem: conflicting requests
  - nothing provides python3dist(xapian) >= 1.4 needed by python3-xapian-haystack-3.1.0-2.fc42.noarch from @commandline
```

I built it also for EPEL9, when I was able to install it without issue.

Reproducible: Always

Steps to Reproduce:
1. Download package from https://download.copr.fedorainfracloud.org/results/zlopez/xapian-haystack/fedora-rawhide-x86_64/08064813-python-xapian-haystack/python3-xapian-haystack-3.1.0-2.fc42.noarch.rpm
2. dnf install python3-xapian-haystack-3.1.0-2.fc42.noarch.rpm
Actual Results:  
Failed to resolve the transaction:
Problem: conflicting requests
  - nothing provides python3dist(xapian) >= 1.4 needed by python3-xapian-haystack-3.1.0-2.fc42.noarch from @commandline

Expected Results:  
Package is installed

Comment 1 Michal Konecny 2024-10-03 14:10:08 UTC
I was able to solve this by using `Requires: python3-xapian >= 1.4` instead of `Requires: python3dist(xapian) >= 1.4`. With that I was able to install the built package on rawhide and epel9 both.