On 07/04/2013 09:50 PM, Philip Rhoades wrote:
On 2013-07-04 15:31, Vít Ondruch wrote:
> Dne 2.7.2013 18:48, Philip Rhoades napsal(a):
>> On 2013-07-02 15:47, Vít Ondruch wrote:
>>> Dne 2.7.2013 00:27, Philip Rhoades napsal(a):
>>>> On 2013-07-01 16:52, Vít Ondruch wrote:
>>>>> Dne 30.6.2013 17:17, Philip Rhoades napsal(a):
>>>>>> I tried changing the sections as you suggested but the errors
>>>>>> still the same . .
>>>>> Have you rebuild your SRPM actually? That must works. Show us your
>>>> It seems that is not getting built either:
>>> You can build SRPM from .spec file using "fedpkg --dist f20 srpm".
>> Whatever dir I execute that in, I get something like:
>> Could not execute srpm: dirx is not a valid repo: [Errno 2] No such
>> file or directory: 'dirx/sources'
> It complains you don't have the "sources" file in your directory.
> "touch sources" should fix this issue.
OK, the src.rpm now builds OK.
>> BTW, that should be f18 in my case I think.
>> Since the gem file has a tar.gz format, I thought that should go in
>> the SOURCES dir - should I actually find the devise tar.gz file and
>> put that there?
> fedpkg is looking for sources in the same directory as the .spec file,
> no SOURCES directory is needed.
Seems confusing - why are unnecessary dirs being created?
If you followed this guide , then when you ran rpmdev-setuptree, it
should have created the ~/rpmbuild directory and a set of
subdirectories. One of them is SOURCES. With this structure you use
rpmbuild. This is one tool of the 'many' you can use to build a package.
fedpkg is a different one, which I am not familiar with yet.
rpmbuild -ba rubygem-devise.spec
I still get the original problems:
Checking for unpackaged file(s): /usr/lib/rpm/check-files
error: Installed (but unpackaged) file(s) found:
Can you please post somewhere your spec file? Mine is here so that
you can compare.
FAS : axilleas
GPG : 0xABF99BE5