Re: gnorpm spec file



On Wed, Sep 20, 2000 at 11:25:01AM -0400, Rebecca Ore wrote:
> I got this error message when trying to build gnorpm-0.95 from the
> recently released tarball:
> 
> -rw-r--r-- alan/users    34691 2000-08-21 07:26:13 gnorpm/liblog
> + STATUS=0
> + [ 0 -ne 0 ]
> + cd gnorpm-0.95
> /var/tmp/rpm-tmp.33846: gnorpm-0.95: No such file or directory
> Bad exit status from /var/tmp/rpm-tmp.33846 (%prep)
> 
> Any suggestions?  I'm generally using Helix-Gnome, but thought it
> might be nice to have this latest gnorpm.


tar xzf gnorpm-0.95.tar.gz
rm gnorpm-0.95.tar.gz
mv gnorpm gnorpm-0.95
cd gnorpm-0.95
 .... fix spec file (see below) ....
cd ../
tar xzf gnorpm-0.95.tar.gz gnorpm-0.95
rpm -ta gnorpm-0.95.tar.gz


Changes in gnorpm.spec:
I had to remove
  %{prefix}/share/locale/*/LC_MESSAGES/gnorpm.mo
line. That would not install translations. May be you
would be able to fix it in a right way. I did not have
enough time.

 If  "rpm -ta gnorpm-0.95.tar.gz" compile gnorpm and installs
it in /var/tmp/gnorpm-root, but does not create rpm file
then compare 
%files
%{prefix}/bin/gnorpm
%{prefix}/share/gnome/help/gnorpm/C/*
%{prefix}/share/gnome/apps/System/gnorpm.desktop
%{prefix}/share/locale/*/LC_MESSAGES/gnorpm.mo
%config %{prefix}/share/gnorpmrc
%config %{prefix}/share/gnorpmrc.*
%config %{prefix}/share/mime-info/gnorpm.keys
%doc AUTHORS NEWS README

with output of "find /var/tmp/gnorpm-root -type f"

 Sergey





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