<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Rpm on Saleem Ansari</title>
    <link>/tags/rpm/</link>
    <description>Recent content in Rpm on Saleem Ansari</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>(c) 2024 Saleem Ansari</copyright>
    <lastBuildDate>Mon, 05 Mar 2012 00:00:00 +0000</lastBuildDate>
    <atom:link href="/tags/rpm/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>A bug in RPM ? ( for rubygem-sprockets and rubygem-tilt )</title>
      <link>/2012/03/05/a-bug-in-rpm-for-rubygem-sprockets-and-rubygem-tilt/</link>
      <pubDate>Mon, 05 Mar 2012 00:00:00 +0000</pubDate>
      <guid>/2012/03/05/a-bug-in-rpm-for-rubygem-sprockets-and-rubygem-tilt/</guid>
      <description>I packaged Rails 3.1.0 and its dependencies few days back for Fedora 16. The repository configuration file is as below:&#xA;[rails3] name=rails3 baseurl=http://tuxdna.fedorapeople.org/packaging/rubygems/f16/ enabled=1 gpgcheck=0 Now when I installed Rails 3.1.0, I got into a in issue:&#xA;$ sudo yum install rubygem-rails-3.1.0 ...OUTPUT SKIPPED... --&amp;gt; Running transaction check ---&amp;gt; Package rubygem-polyglot.noarch 0:0.3.3-1.fc16 will be installed ---&amp;gt; Package rubygem-sprockets.noarch 0:2.0.3-1.fc16 will be installed --&amp;gt; Processing Dependency: rubygem(tilt) &amp;lt; 1.3.0 for package: rubygem-sprockets-2.</description>
    </item>
    <item>
      <title>Problems with Ruby GEM to RPM</title>
      <link>/2012/03/04/problems-with-ruby-gem-to-rpm/</link>
      <pubDate>Sun, 04 Mar 2012 00:00:00 +0000</pubDate>
      <guid>/2012/03/04/problems-with-ruby-gem-to-rpm/</guid>
      <description>I can&amp;rsquo;t emphasize more the importance of packaging RPMs ( or any other packaging system ), as I already did it in an earlier post.&#xA;Same arguments apply to Ruby Gems as well. That is to say, Ruby Gems already have a gem command to install and update packages. However it is still not a complete packaging system in itself.&#xA;Consider the situation where you need to install a gem called A which dependes on B and C.</description>
    </item>
    <item>
      <title>Ruby GEM to RPM all in one go</title>
      <link>/2012/02/22/ruby-gem-to-rpm-all-in-one-go/</link>
      <pubDate>Wed, 22 Feb 2012 00:00:00 +0000</pubDate>
      <guid>/2012/02/22/ruby-gem-to-rpm-all-in-one-go/</guid>
      <description>This is my first attempt at building RPM packages for Ruby GEMS. https://gist.github.com/1885411&#xA;Requirements:&#xA;yum install rpmdevtools yum install ruby rubygems rubygem-gem2rpm How to run:&#xA;$ ruby make_rpms.rb -t ~/tmp/rpm-gem-packaging/ -n mechanize -r 2.2.1 This will download the gem and dependencies and generate SRPM and RPM files in the following folder:&#xA;~/tmp/rpm-gem-packaging/rpmbuild/ NOTE: The status of SUCCESS and FAILURE can be seen in the file:&#xA;~/tmp/rpm-gem-packaging/rpmbuild/status.txt Check for RPM and SRPM files which were generated:</description>
    </item>
    <item>
      <title>Packaging Java JARs as RPM packages</title>
      <link>/2012/01/27/packaging-java-jars-as-rpm-packages/</link>
      <pubDate>Fri, 27 Jan 2012 00:00:00 +0000</pubDate>
      <guid>/2012/01/27/packaging-java-jars-as-rpm-packages/</guid>
      <description>At JUDCon 2012, I had a discussion and argument with Jaikiran Pai and Ravi Maurya on &amp;ldquo;Packaging Java JARs as RPM packages&amp;rdquo;.&#xA;Well it is not just RPM, it could be any package management system ( eg. dpkg, protage etc. ), doesn&amp;rsquo;t matter as long as it serves the purpose of:&#xA;How is all this achieved in Java world? Simple. Just package all the required JARs in a single JAR or WAR or an EAR for that matter.</description>
    </item>
    <item>
      <title>Fast alternative to yum whatprovides</title>
      <link>/2011/11/12/fast-alternative-to-yum-whatprovides/</link>
      <pubDate>Sat, 12 Nov 2011 00:00:00 +0000</pubDate>
      <guid>/2011/11/12/fast-alternative-to-yum-whatprovides/</guid>
      <description>If yum whatprovides /path/to/file is slow for you, try a faster alternative:&#xA;rpm -q --whatprovides /path/to/file For example:&#xA;$ rpm -q --whatprovides /usr/bin/clibrary speech-dispatcher-0.7.1-5.fc15.x86_64 rpm is quite fast and yum is too slow. Get back to basics!</description>
    </item>
    <item>
      <title>How to setup mock quickly?</title>
      <link>/2011/11/12/how-to-setup-mock-quickly/</link>
      <pubDate>Sat, 12 Nov 2011 00:00:00 +0000</pubDate>
      <guid>/2011/11/12/how-to-setup-mock-quickly/</guid>
      <description>How to setup mock quickly?&#xA;yum install mock The default configuration is already set for you:&#xA;ls -l /etc/mock/default.cfg If not then this will do:&#xA;sudo ln -s /etc/mock/fedora-15-x86_64.cfg /etc/mock/default.cfg As is clearly stated in mock(1) man page, you need to add the relevant user to mock group:&#xA;sudo /usr/sbin/usermod -a -G mock $USER Thats all for the setup.&#xA;Now lets use it:&#xA;mock --init # this populates the build root with the required pacakges and repositories mock --rebuild hello-2.</description>
    </item>
  </channel>
</rss>
