Vít,
On 2013-07-04 15:31, Vít Ondruch wrote:
Dne 2.7.2013 18:48, Philip Rhoades napsal(a):
> Vít,
>
>
> On 2013-07-02 15:47, Vít Ondruch wrote:
>> Dne 2.7.2013 00:27, Philip Rhoades napsal(a):
>>> Vít,
>>>
>>>
>>> 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 are
>>>>> still the same . .
>>>>
>>>> Have you rebuild your SRPM actually? That must works. Show us your
>>>> SRPM.
>>>
>>>
>>> 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?
BTW gem with .tar.gz? Looks extraordinary. I would not recommend to
follow this path.
But with:
rpmbuild -ba rubygem-devise.spec
I still get the original problems:
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/makerpm/rpmbuild/BUILDROOT/rubygem-devise-2.2.4-1.fc18.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise/confirmations_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise/omniauth_callbacks_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise/passwords_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise/registrations_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise/sessions_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise/unlocks_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/helpers/devise_helper.rb
/usr/share/gems/gems/devise-2.2.4/app/mailers/devise/mailer.rb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/_links.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/confirmations/new.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/mailer/confirmation_instructions.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/mailer/reset_password_instructions.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/mailer/unlock_instructions.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/passwords/edit.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/passwords/new.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/registrations/edit.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/registrations/new.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/sessions/new.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/shared/_links.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/unlocks/new.html.erb
/usr/share/gems/gems/devise-2.2.4/config/locales/en.yml
/usr/share/gems/gems/devise-2.2.4/devise.png
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise/confirmations_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise/omniauth_callbacks_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise/passwords_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise/registrations_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise/sessions_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise/unlocks_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/controllers/devise_controller.rb
/usr/share/gems/gems/devise-2.2.4/app/helpers/devise_helper.rb
/usr/share/gems/gems/devise-2.2.4/app/mailers/devise/mailer.rb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/_links.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/confirmations/new.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/mailer/confirmation_instructions.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/mailer/reset_password_instructions.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/mailer/unlock_instructions.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/passwords/edit.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/passwords/new.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/registrations/edit.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/registrations/new.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/sessions/new.html.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/shared/_links.erb
/usr/share/gems/gems/devise-2.2.4/app/views/devise/unlocks/new.html.erb
/usr/share/gems/gems/devise-2.2.4/config/locales/en.yml
/usr/share/gems/gems/devise-2.2.4/devise.png
Thanks,
Phil.
--
Philip Rhoades
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil(a)pricom.com.au