Description of problem: It is not possible to install the .ppc.rpm and the .ppc64.rpm packages of postgis at the same time, because of file conflicts. This affects me on the PowerPC platform, but I believe it will also be a problem in x86_64 which is also a biarch architecture. Version-Release number of selected component (if applicable): postgis-1.3.3-1.fc9 How reproducible: Always Steps to Reproduce: 1. Grab postgis-1.3.3-1.fc9.ppc.rpm and postgis-1.3.3-1.fc9.ppc64.rpm from the Everything repository 2. sudo rpm -ivh postgis-1.3.3-1.fc9.ppc.rpm postgis-1.3.3-1.fc9.ppc64.rpm Actual results: file /usr/share/pgsql/contrib/lwpostgis.sql from install of postgis-1.3.3-1.fc9.ppc conflicts with file from package postgis-1.3.3-1.fc9.ppc64 file /usr/share/pgsql/contrib/lwpostgis_upgrade.sql from install of postgis-1.3.3-1.fc9.ppc conflicts with file from package postgis-1.3.3-1.fc9.ppc64 Expected results: Successful installation of both packages.
It looks like the problem files do need to differ (because they are referencing the modules located in /usr/lib64 or /usr/lib). So the best method of dealing with this is probably to rename them in the spec file. Something like this at the end of install should work:: if [ "%{_libdir}" = "/usr/lib64" ] ; then mv %{buildroot}%{_datadir}/pgsql/contrib/lwpostgis.sql %{buildroot}%{_datadir}/pgsql/contrib/lwpostgis-64.sql mv %{buildroot}%{_datadir}/pgsql/contrib/lwpostgis_upgrade.sql %{buildroot}%{_datadir}/pgsql/contrib/lwpostgis_upgrade-64.sql fi Note that I haven't tested that thoroughly as I don't have an x86_64 at the moment.
I will take a look at this tonight. sorry for the delay.
Ok, pushed to -devel and back branches.
postgis-1.3.3-2.fc9 has been submitted as an update for Fedora 9
postgis-1.3.3-2.fc8 has been submitted as an update for Fedora 8
Hi, I just verified the fix: % sudo rpm -ivh postgis-1.3.3-2.fc9.ppc* Preparing... ########################################### [100%] 1:postgis ########################################### [ 50%] 2:postgis ########################################### [100%] % rpm -qa | grep postgis postgis-1.3.3-2.fc9.ppc64 postgis-1.3.3-2.fc9.ppc Thanks!
Thanks. I am now closing this bug.
postgis-1.3.3-2.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
postgis-1.3.3-2.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.