gnucash-docs-2.0.1.tar.gz
Robert Heller
heller at deepsoft.com
Mon Jan 1 09:07:42 EST 2007
At Mon, 1 Jan 2007 20:35:33 +1100 Doug Laidlaw <laidlaws at hotkey.net.au> wrote:
>
> The new RPM specification needs LICENSE: instead of Copyright. In a .spec
> file, this appears as
>
> LICENSE: GPL #(for example)
>
> Change Copyright to License. If you don't have a .spec file, I don't know
> what you should do.
There is a .spec file (actually .spec.in) in the tar file. You would
unpack the tar file:
tar xzvf gnucash-docs-2.0.1.tar.gz
Then edit the .spec.in file
cd gnucash-docs-2.0.1
emacs gnucash-docs.spec.in
<fix the copyright / LICENSE problem -- it will be near the beginning of
the file>
^X^S (Save the file)
^X^C (exit emacs)
Then do:
./configure
make dist
This makes a fresh tarball.
mv gnucash-docs-2.0.1.tar.gz ..
cd ..
rm -rf gnucash-docs-2.0.1
Now you should be able to rebuild it:
rpmbuild -tb gnucash-docs-2.0.1.tar.gz
>
> Doug.
>
> On Monday 01 January 2007 15:13, Graeme Nichols wrote:
> > Hello Folks,
> >
> > Sorry to bother you all again but when I try to build a binary .rpm
> > package from the above tarball I get the following:
> >
> > [root at barney download]# rpmbuild -tb gnucash-docs-2.0.1.tar.gz
> > error: Legacy syntax is unsupported: copyright
> > error: line 8: Unknown tag: Copyright: GNU Free Documentation License
> > [root at barney download]#
> >
> > I can build ./configure etc but I would prefer to install from a binary
> > .rpm package if I can.
> >
> > I have fixed the problem I had with rpmbuild building the binary .rpm
> > file of gnucash-2.0.3 so it shouldn't be an rpmbuild problem
> >
> > Has anyone got any ideas?
>
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller at deepsoft.com -- Contract Programming: C/C++, Tcl/Tk
More information about the gnucash-user
mailing list