%define name fakecgipm %define version 3.10 %define release 1 Vendor: danno Packager: danno Distribution: dannoOS URL: http://www.internet2.edu BuildArchitectures: noarch Summary: A fake package so that rpm thinks we have "java" Name: %{name} Version: %{version} Release: %{release} Group: internet2 Source: %{name}-%{version}.tar.gz BuildRoot: /tmp/%{name}-%{version} License: GPL Provides: cgi.pm = 3.10 Requires: perl = 5.8.5-12.1 %description A placeholder package to tell RPM that we have installed our own CGI.pm version - this should prevent future perl upgrades from installing and overwriting it since we depend on a specific version of perl. To upgrade perl, you'll need to rebuild this RPM with a new spec file containing the appropriate version of perl, then upgrade perl, then rerun CPAN to install CGI.pm. %prep %setup %build %install %clean #/bin/rm fakejava-install-a-file-for-me %files #%defattr(0755,root,root) #/fakejava-install-a-second-file %pre %post %preun %postun %changelog