Policy re Gems that don't have RPMs yet? - devise attempt

Philip Rhoades phil at pricom.com.au
Fri Jul 5 18:38:30 UTC 2013


On 2013-07-05 07:19, Axilleas Pipinellis wrote:
>> 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
> ...snip
> Can you please post somewhere your spec file? Mine is here[1] so that
> you can compare.

Although the Gem RPMS you have produced seem to be working fine, now 
that I have started this exercise I will persist with trying to make the 
Devise RPM . .

I have downloaded your spec file so I can see how far I get with that - 
after some minor editing, it seems the next requirement is to install 
gems to fulfill:

   BuildRequires: rubygem(minitest)
   BuildRequires: rubygem(activerecord)
   BuildRequires: rubygem(rake)
   BuildRequires: rubygem(multi_json)



Philip Rhoades

GPO Box 3411
Sydney NSW	2001
E-mail:  phil at pricom.com.au

More information about the ruby-sig mailing list