RE: RPM build errors

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

 



Thanks for the help.
I tried that, not much difference apart from file paths. BTW I do get
some stuff created, in /var/tmp/bind-buildroot/usr/share/doc/bind-9.2.3
I get all my doc files as spec'd with %doc README COPYRIGHT EXCLUDED FAQ
CHANGES
'usr' is the only directory under bind-buildroot.

My %install is 
%install
make install DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/etc/logrotate.d/named
/etc/rc.d/init.d/named
/etc/rndc.conf
/etc/rndc.key
/etc/sysconfig/named
/usr/lib/libisccc.so.0
/usr/lib/libisccc.so.0.0.1
/usr/lib/libisccfg.so.1
/usr/lib/libisccfg.so.1.0.0
/usr/sbin/dns-keygen
/usr/sbin/dnssec-keygen
/usr/sbin/dnssec-makekeyset
/usr/sbin/dnssec-signkey
/usr/sbin/dnssec-signzone
/usr/sbin/lwresd
/usr/sbin/named
/usr/sbin/named-bootconf
/usr/sbin/named-checkconf
/usr/sbin/named-checkzone
/usr/sbin/rndc
/usr/sbin/rndc-confgen
/usr/share/man/man5/named.conf.5.gz
/usr/share/man/man5/rndc.conf.5.gz
/usr/share/man/man8/dnssec-keygen.8.gz
/usr/share/man/man8/dnssec-makekeyset.8.gz
/usr/share/man/man8/dnssec-signkey.8.gz
/usr/share/man/man8/dnssec-signzone.8.gz
/usr/share/man/man8/lwresd.8.gz
/usr/share/man/man8/named-checkconf.8.gz
/usr/share/man/man8/named-checkzone.8.gz
/usr/share/man/man8/named.8.gz
/usr/share/man/man8/rndc-confgen.8.gz
/usr/share/man/man8/rndc.8.gz
/var/named
/var/run/named
%defattr(-,root,root)
%doc README COPYRIGHT EXCLUDED FAQ CHANGES
%changelog

Also, alongside /var/tmp/bind-buildroot/usr/share/doc/bind-9.2.3 there
is another directory called
/var/tmp/bind-buildroot/usr/share/doc/bind-9.2.3? which seems to have
nearly everything in it, e.g.

[mhull@mars tmp]$ ls bind-buildroot?/tmp
bind9.2.3
[mhull@mars tmp]$ ls bind-buildroot?/tmp/bind9.2.3
bin  include  lib  man  sbin
[mhull@mars tmp]$ ls bind-buildroot?/tmp/bind9.2.3/bin
dig  host  isc-config.sh  nslookup  nsupdate

Whats going on?


Martin


-----Original Message-----
From: rpm-list-admin@xxxxxxxxxx [mailto:rpm-list-admin@xxxxxxxxxx] On
Behalf Of Jeff Johnson
Sent: 29 January 2004 16:53
To: rpm-list@xxxxxxxxxx
Subject: Re: RPM build errors

On Thu, Jan 29, 2004 at 04:49:28PM -0000, martin.dm.hull@xxxxxx wrote:
> Hmm no replies?
> 
> I've got a bit further with a spec like this (ok I chopped a bit out)
> 
>  
> 
> BuildRoot: %{_builddir}/%{name}-buildroot

Try
     BuildRoot: %{_tmppath}/%{name}-buildroot

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@xxxxxxxxxx (jbj@xxxxxxx)
Chapel Hill, NC


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux