Re: [systemd-devel] Creating a Release Tarball

2014-03-01 Thread Tom Gundersen
On Sat, Mar 1, 2014 at 8:36 AM, Justin Brown justin.br...@fandingo.org wrote:
 commands to prep the repository before creating the tarball. Could
 someone enlighten me what steps need to be taken before building the
 RPM?

$ make distcheck

should create a tarball for you.

Cheers,

Tom
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Creating a Release Tarball

2014-03-01 Thread Lennart Poettering
On Sat, 01.03.14 01:36, Justin Brown (justin.br...@fandingo.org) wrote:

 Sorry for this very basic question, but I've hit a wall and can't
 figure what I need to do. I'm getting started on trying to do some
 systemd development. The most natural way for me to compile systemd is
 to use the Fedora RPM spec to create an RPM and install that on a test
 machine. I've pulled the systemd-210.tar.xz and used that to build
 RPMs based on the Fedora 20 systemd package. That's easy enough.
 
 The problem that I have is taking the systemd git repository and
 turning that into a tarball that the RPM spec file can use. In
 particular, it fails -- at least initially -- because there are lots
 of files missing in doc/. I'm assuming that I need to run some
 commands to prep the repository before creating the tarball. Could
 someone enlighten me what steps need to be taken before building the
 RPM?
 
 1. ??
 2. tar cJf systemd-210.tar.xz systemd-210/
 3. mv systemd-210.tar.xz ~/rpmbuild/SOURCES/
 4. rpmbuild -bb ~/rpmbuild/SPECS/systemd.spec


git clone git://anongit.freedesktop.org/systemd/systemd systemd
cd systemd
./autogen.sh c
make distcheck

This will generate the .xz tarball for you.

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel