On Thu, Feb 17, 2011 at 06:31:36PM +0100, Remi Collet wrote:
Le 17/02/2011 13:09, Joe Orton a écrit :
> We could just make the mmn include the arch for httpd, to avoid changing
> all mod_* packages, as far as I can tell.
>
> httpd
> Provides: httpd-mmn = 20051115-x86-64, httpd-mmn = 20051115
Sounds really good for me.
OK cool, I'll make this change for f15+master.
>
> /usr/include/httpd/.mmn contains 20051115-x86-64
>
> so all future mod_* package rebuilds pick up the arch-specific mmn
> without change, and httpd is backwards-compat with old packages.
Yes :)
And of course, old provides can be removed when value change from 20051115
Yup.
I have make first changes / tests on php package (only a test package
of
php 5.3.6RC1 on my repository)
This imply quite a lot of (but simple) changes :
https://github.com/remicollet/remirepo/commit/79885a3e6bad3fa13c81e5cde9c...
Looks great, thanks, please go ahead and push when you're ready.
One issue that these bits:
sed -e "s/@PHP_APIVER@/%{apiver}-%{?__isa}/"
are going to have unexpected outcome for older RPM without __isa
defined. Maybe at the top use:
%if %{?__isa:1}
%define isasuffix -%{__isa}
%else
%define isasuffix %nil
%endif
and use that in place of -%{?__isa} throughout?
Regards, Joe