Re: Creating a dummy RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 07, 2006 at 02:22:18PM -0700, James Colannino wrote:
> Hi everyone.  I've been googling around, but haven't found a good answer 
> to this problem yet.  I'm looking to create a dummy RPM whose purpose on 
> the system is really nothing more than to be installed and to show up in 
> RPM queries (I don't want it to actually install any files.)
> 
> How exactly should I go about this?  I've played around with creating a 
> spec file, but so far I haven't gotten anything to work.  Thanks :)

A dummy rpm is just an rpm without any files.

Like:
--- BEGIN SPEC ---
Summary:        dummy package
Name:	        dummy
Version:	1
Release:	0
License:	Dummy License
Packager:	Luciano Rocha <luciano@xxxxxxxxxxx>
Vendor:		Dummies Incorporated
Group:		Networking/Daemons
URL:		http://www.dontbeadummy.org/
Requires:	python perl ruby
BuildArch:	noarch

%description
This is a dummy package.

%files

%changelog
* Wed Aug 24 2005 Luciano Rocha <luciano@xxxxxxxxxxx> 0
- dummy
--- END SPEC ---

Save the previous lines and create the binary package with:
rpmbuild -bb spec

-- 
lfr
0/0

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux