dependency problem with my (first) RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: xen-tools-4.3.1-1.fc18.noarch
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,
Dario

-- 
<<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))

%description
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.

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

%build
#

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

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

%files
%defattr(-,root,root)

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

# binaries
%{_bindir}/xen-create-image
%{_bindir}/xen-create-nfs
%{_bindir}/xen-delete-image
%{_bindir}/xen-list-images
%{_bindir}/xen-update-image 
%{_bindir}/xt-create-xen-config
%{_bindir}/xt-customize-image
%{_bindir}/xt-guess-suite-and-mirror
%{_bindir}/xt-install-image

# lib
%{_libdir}/xen-tools

# modules
%{_datadir}/perl5/Xen/Tools.pm
%{_datadir}/perl5/Xen/Tools

# man pages
%{_mandir}/man8/xen-create-image.8*
%{_mandir}/man8/xen-delete-image.8*
%{_mandir}/man8/xen-resize-guest.8*
%{_mandir}/man8/xt-create-xen-config.8*
%{_mandir}/man8/xt-guess-suite-and-mirror.8*
%{_mandir}/man8/xen-create-nfs.8*
%{_mandir}/man8/xt-install-image.8*
%{_mandir}/man8/xt-customize-image.8*
%{_mandir}/man8/xen-update-image.8*
%{_mandir}/man8/xen-list-images.8*

%doc AUTHORS BUGS ChangeLog KNOWN_BUGS LICENSE NEWS README SUPPORT TODO



%changelog
* Sat Mar 30 2013 Dario Faggioli <raistlin@xxxxxxxx> - 4.3.1-1
- initial RPM release

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

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux