Description of problem: Currently the epiphany package does not provide nor own %{_libdir}/epiphany/%{version}/extensions. This leads to a lot of problems for packages that want to put something in there like gwget and gget. They need to at least own the extensions folder to make sure it is there and does not get unowned upon uninstall. Because the folder is versioned they also have to own %{_libdir}/epiphany/%{version}. This causes additional problems on epiphany upgrades. See bug # 478504 for more discussion. So basically we need to a) provide/own the extensions folder and b) get rid of the version. Here is my suggestion, it is similar to what we are doing with Mozilla/Firefox plugins: 1. Add something like "Provides: epiphany(abi) = %{epimajor}", so the epiphany-extensions, gget and gwget can require epiphany(abi) 2. Make epiphany own %{_libdir}/epiphany/ %{_libdir}/epiphany/plugins %{_libdir}/epiphany/extensions %{_libdir}/epiphany/%{version} %{_libdir}/epiphany/%{version}/plugins -> %{_libdir}/epiphany/plugins %{_libdir}/epiphany/%{version}/extensions -> %{_libdir}/epiphany/extensions Thoughts, opinions, objections?
Created attachment 328993 [details] proposed patch Suggested patch to fix this. Built in koji as http://koji.fedoraproject.org/koji/taskinfo?taskID=1052136
Build in Rawhide http://koji.fedoraproject.org/koji/taskinfo?taskID=1052223
epiphany-2.24.2.1-2.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/epiphany-2.24.2.1-2.fc10
Matej, thanks for reacting so fast, but you fix does not work: rpm -qpl epiphany-2.24.2.1-2.fc10.i386.rpm | grep lib /usr/lib/epiphany /usr/lib/epiphany/2.24 /usr/lib/epiphany/2.24.2.1 /usr/lib/epiphany/2.24.2.1/extensions /usr/lib/epiphany/2.24.2.1/plugins /usr/lib/epiphany/2.24/plugins /usr/lib/epiphany/2.24/plugins/libdesktopfileplugin.so /usr/lib/epiphany/extensions /usr/lib/epiphany/plugins As you can see now we have two plugin and extension folders. So we need to use something like: ... %define gnome_doc_utils_ver 0.3.2 %define epi_major_ver 2.24 Summary: Web browser for GNOME Name: epiphany Version: 2.24.2.1 Release: 5%{?dist} ... Provides: epiphany(abi) = %{epi_major_ver} <--important for our packages .. # directories for plugins and extensions mkdir -p $RPM_BUILD_ROOT%{_libdir}/epiphany/%{epi_major_ver}/{plugins,extensions} ln -sf %{epi_major_ver}/plugins $RPM_BUILD_ROOT%{_libdir}/epiphany/plugins ln -sf %{epi_major_ver}/extensions $RPM_BUILD_ROOT%{_libdir}/epiphany/extensions
epiphany-2.24.2.1-2.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update epiphany'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-0395
epiphany-2.24.2.1-3.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/epiphany-2.24.2.1-3.fc10
epiphany-2.24.2.1-3.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update epiphany'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-0588
epiphany-2.24.2.1-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.