[nylug-talk] Anyone know how to build an RPM that isn't from a tarball?
Steven Lembark
lembark at wrkhors.com
Fri Mar 28 14:23:16 EDT 2008
Last time I looked at this (mid 90's) it was
simple. Today it's complicated.
That "progress"
I have a single piece of content that belongs
in, say, /etc/foo/release. The RPM will have
a bunch of Reauired/Prereq entries for things
that have to come along with that release.
The install is simply:
%install
[ -d %{install_dir} ] || mkdir -p %{install_dir};
echo %{version} > %{install_file};
Now I'm having problems becuse there is no
Source0. This is true: there is no source
file.
If I side-step this issue by echoing the
version into %{_topdir}/SOURCES/release-file
then rpmbuild blows up telling me that the
release file doesn't look like a tarball!!!
Is there any way to make the current versions
of rpmbuild generate a source-less RPM with
nothing but a spec file or at least take an
empty (or simple text line) path and not try
to unzip or untar it?
thanx
--
Steven Lembark +1 888 359 3508
Workhorse Computing 85-09 90th St
lembark at wrkhors.com Woodhaven, NY 11421
More information about the nylug-talk
mailing list