On Tue, Feb 15, 2011 at 03:03:52PM +0800, Lyre wrote:Why do we need another RPM specfile ? Can't you just make your
> * libvirt-php.obs.spec: this file should works for Fedora 14,
> Â openSuSE 11.3, and SLES 11 SP1 on openSuSE Build Service or
> Â localhost.
> * Makefile.am: added EXTRA_DIST = libvirt-php.obs.spec
> ---
> ÂMakefile.am     Â|  Â2 +
> Âaclocal.m4 Â Â Â Â Â | Â Â4 +-
> Âlibvirt-php.obs.spec | Â 80 ++++++++++++++++++++++++++++++++++++++++++++++++++
> Â3 files changed, 84 insertions(+), 2 deletions(-)
> Âcreate mode 100644 libvirt-php.obs.spec
changes to the existing php-libvirt.spec ?
Regards,
Daniel
--
|: http://berrange.com   Â-o-  Âhttp://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org       Â-o-       http://virt-manager.org :|
|: http://autobuild.org    -o-     http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org    -o-    http://live.gnome.org/gtk-vnc :|
Hi Daniel:
The problem was, I'm not quite sure what to do with this spec file.
Currently, It may be better to name the spec file libvirt-php.spec.
This spec file contains many if...else for compatibility, some macros such as %{php_zend_api} are not acceptable in SLES. The original php-libvirt.spec may be preferred for Fedora.
At last, I intend to use the openSuSE Build Service for easier deployment. It will be easier for me to maintain this file if it is rejected.
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list