Bug 808401 - Fix major_version in epiphany spec file
Summary: Fix major_version in epiphany spec file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: epiphany
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-30 10:38 UTC by Mohamed El Morabity
Modified: 2012-04-20 09:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-20 09:07:23 UTC
Type: ---


Attachments (Terms of Use)
Proposed fix (1.01 KB, patch)
2012-03-30 17:08 UTC, Debarshi Ray
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.