Ask Your Question

vamega's profile - activity

2015-05-09 00:59:54 -0500 received badge  Popular Question (source)
2012-10-14 00:40:24 -0500 marked best answer Packaging RPM where SOURCE0 basename != source archive name.

Where exactly does rpmbuild complain?

I'm not sure if I'm reading your question correctly, but it sounds like you might be running into a common "gotcha" with the %setup macro.

By default %setup assumes that the top-level directory within the source tarball is the "Name-Version" of the package, for example "subversion-1.6.18". If the "Name" attribute of the package is non-standard (e.g. "subversion16"), this macro's default will get confused and erroneously look for a directory called e.g. subversion16-1.6.18 (note that extra "16")

The way to fix it is to pass the "-n" parameter to %setup, for something like this:

%setup -n subversion-%{version}

See http://www.rpm.org/max-rpm/s1-rpm-inside-macros.html for more information

Hope this is helpful

2012-08-06 10:25:33 -0500 commented answer libpq-fe.h missing

Thanks for the method on how to install the package for a missing file. I'd upvote you, but my reputation on this site is still a tad too low.

2012-07-01 22:06:26 -0500 answered a question Cannot install Fedora 17 on my pc

The free space method is not want you want to use. If there is not data on the hard disk, try using the "Use Entire Disk" option.

I think this might be caused by the confusion between "Free Space" and unallocated space. If it's showing up as free in Windows, it doesn't imply that the space is unallocated. The partition needs to be resized, so that the space is actually unallocated, rather than simply free.

2012-07-01 22:06:13 -0500 answered a question Cannot install Fedora 17 on my pc

The free space method is not want you want to use. If there is not data on the hard disk, try using the "Use Entire Disk" option.

I think this might be caused by the confusion between "Free Space" and unallocated space. If it's showing up as free in Windows, it doesn't imply that the space is unallocated. The partition needs to be resized, so that the space is actually unallocated, rather than simply free.

2012-06-18 22:50:55 -0500 asked a question Packaging RPM where SOURCE0 basename != source archive name.

I'm trying to package subversion 1.6 for fedora 17, and I've created the specfile and everything builds fine under mock, however in order to avoid conflicts with the subversion version in the fedora repositories, I'd like to name my package subverion16.

I can't seem to do this, as rpmbuild complains that the basename of the url (the svn upstream location) in my SOURCE0 is subversion-1.6.18.tar.bz2 while it is expecting subversiontr-1.6-18.tar.bz2.

Is there a better alternative to simply removing the URL, and pointing to a local archive?

2012-06-18 22:45:02 -0500 answered a question Fedora linux download

Because you need to be at a lower level than an operating system to install another operating system. I don't believe it's possible for an operating system to be installed from within another OS, as that would involve changing BIOS boot order among other things.

If you lack a CD/DVD drive, then the easiest thing to do would be to create a bootable USB drive. You can make this from the ISO files, as described here.