[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-devel] one-line fix: RPM build from tarball
From: |
Paul Jenner |
Subject: |
[Adonthell-devel] one-line fix: RPM build from tarball |
Date: |
28 Feb 2002 20:28:18 +0000 |
Hi.
Currently adonthell (0.3.2 as opposed to CVS which I haven't tried)
can't be built as an RPM direct from the distributed tarball with "rpm
-ta" as it does not contain the spec file.
A quick one line fix is:
<patch>
diff -Naur adonthell-0.3.2.orig/Makefile.am adonthell-0.3.2/Makefile.am
--- adonthell-0.3.2.orig/Makefile.am Thu Feb 28 20:24:30 2002
+++ adonthell-0.3.2/Makefile.am Thu Feb 28 20:24:53 2002
@@ -1,7 +1,8 @@
SUBDIRS = src doc
EXTRA_DIST = NEWBIE autogen.sh README.BeOS README.FreeBSD autogen.sh \
debian/README.debian debian/adonthell.6 debian/changelog
debian/control \
- debian/copyright debian/dirs debian/rules adonthell.spec.in
+ debian/copyright debian/dirs debian/rules adonthell.spec.in \
+ adonthell.spec
install-data-local:
if test ! -e $(gamedatadir)/games ; then \
</patch>
In other words, adding adonthell.spec to the EXTRA_DIST should mean that
"make dist" or "make distcheck" includes it in the distribution. The
resulting tarball can then be built direct as an RPM with "rpm -ta
<tarball>".
I hope this helps,
Paul
- [Adonthell-devel] one-line fix: RPM build from tarball,
Paul Jenner <=