[Ilugc] Creating a dummy RPM package

  • From: vprajan@xxxxxxxxx (Pushparajan V)
  • Date: Mon Sep 25 14:37:45 2006

On 9/25/06, Binand Sethumadhavan <binand@xxxxxxxxx> wrote:

On 25/09/06, Pushparajan V <vprajan@xxxxxxxxx> wrote:
"whether is it possible to create a fake RPM file which can be
installed and uninstalled without creating any files in the host
system?.."

Didn't realize that you are installing a non-RPM package...

To create such a fake RPM file, first ensure that you have the
rpm-build package installed. Then, save this text somewhere as
dummy.spec:

=== cut here ===
Summary: Dummy Package to provide tomcat5
Name: dummy-tomcat
Version: 1.0
Release: 1
Group: System Environment/Base
License: Beerware
BuildArch: noarch
Provides: tomcat5, tomcat5-admin-webapps

%description

This meta-package fools other packages to think you have tomcat5 installed

%files
=== cut here ===


I followed the above steps and got the dummy RPM.
Thanks..


-- 
"Life is very short.
What is the need for living for ourselves?
Lets live for others.
Our life will be longer than we believe :-)"

Rajan VP

<a href="http://deadend.wordpress.com";>  My Technical Mind </a>
<a href="http://vprajan.blogspot.com";>  My Creative Mind </a>

Other related posts: