Hello Everyone,

I created an (my first!) RPM of this software
http://www.xen-tools.org/software/xen-tools/ but I'm having some issues
when trying to install it.

Before anyone ask, yes, the long term plan is to follow all the usual
step to get the package officially accepted in Fedora, but I'd like to
have it "working" before starting to do that. :-)

So, xen-tools is just a collection of perl scripts, but having the
package I'm making depend from perl is driving me nuts! :-O Spec file is
attached (I've run it through rpmlint, and I know it have some issues,
but still...) and here's what I get when I tr to install the result of
`rpmbuild -ba xen-tools.spec':

# yum install ../RPMS/noarch/xen-tools-4.3.1-1.fc18.noarch.rpm 
Loaded plugins: langpacks, presto, refresh-packagekit
Examining ../RPMS/noarch/xen-tools-4.3.1-1.fc18.noarch.rpm: 
Marking ../RPMS/noarch/xen-tools-4.3.1-1.fc18.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package xen-tools.noarch 0:4.3.1-1.fc18 will be installed
--> Processing Dependency: perl(any) for package: xen-tools-4.3.1-1.fc18.noarch
--> Processing Dependency: perl(any) for package: xen-tools-4.3.1-1.fc18.noarch
--> Finished Dependency Resolution
Error: Package: xen-tools-4.3.1-1.fc18.noarch (/xen-tools-4.3.1-1.fc18.noarch)
           Requires: perl(any)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I googled for this quite a bit, but I don't seem to be able to find
anything explaining how to make that "Requires: perl(any)" go
away... :-(

Any ideas?

Thanks a lot and Regards,

<<This happens because I choose it to happen!>> (Raistlin Majere)
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

Name:           xen-tools
Version:        4.3.1
Release:        1%{?dist}
Summary:        Set of tools to manage Debian based Xen virtual servers
Group:          Applications/System

License:        GPLv2 or Artistic
URL:            http://www.xen-tools.org/software/xen-tools/
Source0:        http://www.xen-tools.org/software/xen-tools/%{name}-%{version}.tar.gz

BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
#BuildRequires:  perl(ExtUtils::MakeMaker)

Requires:       debootstrap
Requires:       perl
Requires:       perl(Text::Template)
Requires:       perl(Config::IniFiles)
Requires:       perl(File::Which)
Requires:       perl(File::Slurp)
Requires:       perl(Data::Dumper)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

xen-tools is a collection of simple Perl scripts which allow you to
easily create new guest Xen domains upon your Debian GNU/Linux host.

Once installed and configured you can create a new Xen instance in a
matter of minutes. Each new Xen domain will be complete with:

 * All networking details setup, with either multiple
   static IP addresses or DHCP.
 * An installation of OpenSSH.
 * An arbitrary set of partitions.

Your new instance will be completed by having the user accounts from
your guest system copied over, and you may optionally boot the
image as soon as it has been created.

%setup -q -n %{name}-%{version}


rm -rf %{buildroot}
make prefix=%{buildroot} install

# hack! how about moving all these stuff to libexec?
mv %{buildroot}/usr/lib %{buildroot}%{_libdir}


# config files
%config(noreplace) %{_sysconfdir}/xen-tools

# binaries

# lib

# modules

# man pages


* Sat Mar 30 2013 Dario Faggioli <raist...@linux.it> - 4.3.1-1
- initial RPM release

Attachment: signature.asc
Description: This is a digitally signed message part

xen mailing list

Reply via email to