Re: error in building a RPM file

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

 



On Wed, Mar 21, 2012 at 5:23 PM, Ranjan Maitra <maitra@xxxxxxxxxxx> wrote:
> Dear friends,
>
> OK, playing with a different spec file (attached), I get the following
> error:
>
>
> $ rpmbuild -ba wbar.spec
<snip output>
>
> Question: why does it not do the /usr/bin/gzip? Shouldn't it do
> that first, or alternatively use /bin/tar -zxf?

rpmbuild doesn't understand query strings, so it thinks the file you
want is "detail?name=wbar_2.3.0.orig.tar.gz".

Ordinarily, when you have weird download URLs like this, you should
just use "Source0: %{name}-%{version}.tar.gz" and specify the actual
download URL in a comment.  (The comment isn't strictly necessary for
personal packages, but is required by the Fedora Packaging
Guidelines.)

In this instance, however, the URL you are using is an information
page about the download, not the download itself.  The actual download
URL is http://wbar.googlecode.com/files/wbar_2.3.0.orig.tar.gz and RPM
will understand that just fine.

> There might be other problems also, but at this point, I am stuck here.

One other thing I noticed is the use of `make install-strip`.  RPM
will strip the debugging symbols for you and create a debuginfo
package, which might be useful someday if^H^Hwhen it crashes, so you
should probably just `make install` here.

-T.C.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux