Bug 808401

Summary: Fix major_version in epiphany spec file
Product: [Fedora] Fedora Reporter: Mohamed El Morabity <pikachu.2014>
Component: epiphanyAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: debarshir, gecko-bugs-nobody, rob.townley
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-20 09:07:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Proposed fix none

Description Mohamed El Morabity 2012-03-30 10:38:48 UTC
Description of problem:
The epiphany spec file defines a %{major_version} macro to create and own the
extensions folders in /usr/lib*/epiphany/:
 mkdir -p
$RPM_BUILD_ROOT%{_libdir}/epiphany/%{major_version}/{plugins,extensions}
 ln -sf %{major_version}/plugins $RPM_BUILD_ROOT%{_libdir}/epiphany/plugins
 ln -sf %{major_version}/extensions
$RPM_BUILD_ROOT%{_libdir}/epiphany/extensions

In F17 spec, %{major_version} is set to 3.3 whereas it should be 3.4 (as for
the current Epiphany major version in the repos).

Not a critical issue, but it would help me to fix the epiphany-extensions to
work with epiphany 3.4 (extensions would be installed in
%{_libdir}/epiphany/3.4/extensions/, with %{_libdir}/epiphany/3.4/ supposed to
be owned by epiphany). Moreover, the epiphany-extensions may depend on the virtual Provides "epiphany(abi)", whose version is set too to %{major_version}

Comment 1 Debarshi Ray 2012-03-30 17:08:14 UTC
Created attachment 574043 [details]
Proposed fix

Comment 2 Mohamed El Morabity 2012-04-20 09:07:23 UTC
Fixed in epiphany-3.4.1-1.fc17