Bug 229116

Summary: %{pyver} is undefined, but the requirement isn't needed
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: mod_pythonAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ahanwate, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.3.1-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-20 12:48:12 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:
Bug Depends On:    
Bug Blocks: 2269112    

Description Robert Scheck 2007-02-17 11:25:35 UTC
Description of problem:
> rpm -qp --requires http://download.fedora.redhat.com/pub/fedora/linux/core/
development/i386/os/Fedora/RPMS/mod_python-3.3.1-2.i386.rpm | grep python
config(mod_python) = 3.3.1-2
libpython2.5.so.1.0
python(abi) = 2.5
python-abi = %{pyver}
> 

Version-Release number of selected component (if applicable):
mod_python-3.3.1-2

Actual results:
%{pyver} is undefined, but the requirement itself isn't needed.

Expected results:
Either define %{pyver} or drop the requirement as it is more or less redundant 
because of the self-generated by rpm one:

--- mod_python.spec     2007-02-16 18:47:47.000000000 +0100
+++ mod_python.spec.rsc 2007-02-17 12:24:44.000000000 +0100
@@ -13,7 +13,7 @@
 Group: System Environment/Daemons
 BuildRequires: httpd-devel >= 2.0.40-6, python, python-devel
 Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn || echo missing)
-Requires: python-abi = %{pyver}, httpd >= 2.0.40
+Requires: httpd >= 2.0.40
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

 %description

Comment 1 Robert Scheck 2007-02-20 12:48:12 UTC
Fixed by Jeremy in today's Rawhide in 3.3.1-3, closing now.

Comment 2 Lon Hohberger 2024-04-04 17:15:26 UTC
*** Bug 2269113 has been marked as a duplicate of this bug. ***