[Box Backup] rpmbuild for Fedora 12 does not work

Chris Wilson chris at qwirx.com
Fri Apr 30 18:15:42 BST 2010


Hi Lee,

On Fri, 30 Apr 2010, lchalupa at seelink.org wrote:

> Hello.  Trying to install boxbackup. Getting error.
> 
> $ rpmbuild -ta boxbackup-0.11rc7.tgz
> 
> This is the error I'm getting....
> 
> + install -m 644 VERSION.txt/root/rpmbuild/BUILDROOT/boxbackup-0.11rc7-1.fc12.i386/usr/share/doc/boxbackup-0
> .11rc7
> + install -m 644 ExceptionCodes.txt/root/rpmbuild/BUILDROOT/boxbackup-0.11rc7-1.fc12.i386/usr/share/doc/boxbackup-0
> .11rc7
> + install -m 644 LICENSE.txt/root/rpmbuild/BUILDROOT/boxbackup-0.11rc7-1.fc12.i386/usr/share/doc/boxbackup-0
> .11rc7
> install: cannot stat `LICENSE.txt': No such file or directory
> error: Bad exit status from /var/tmp/rpm-tmp.Fwn0sB (%install)
> 
> I'm stuck.

Thanks for reporting the problem. It will be fixed in the next release 
candidate and 0.11 final. In the mean time, you can untar the distribution 
tarball, cd into boxbackup-0.11rc7, edit contrib/rpm/boxbackup.spec, and 
find the following lines at around line 108:

install -m 644 LICENSE.txt \
         $RPM_BUILD_ROOT%{_docdir}/%{ident}

and replace them with the following four lines:

install -m 644 LICENSE-GPL.txt \
         $RPM_BUILD_ROOT%{_docdir}/%{ident}
install -m 644 LICENSE-BSD.txt \
         $RPM_BUILD_ROOT%{_docdir}/%{ident}

This same change will be in the next release. Thanks again.

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


More information about the Boxbackup mailing list