gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] 3.2 release is imminent


From: Michael R. Davis
Subject: Re: [gpsd-dev] 3.2 release is imminent
Date: Fri, 21 Oct 2011 18:52:52 -0700 (PDT)

Eric,

>> Is there an RC tar ball that I can test the RPM build on?  Or has this already been tested?
> You can build one with "scons dist".

We added "dia" and "chrpath" as required build dependancies.

I also get this error on a fresh git pull.

scons: *** [dist] Source `packaging/rpm/gpsd.spec' not found, needed by target `dist'.
scons: building terminated because of errors.

So, I added the thrid glob to this line but a find would be smarter.

templated = glob.glob("*.in") + glob.glob("*/*.in") + glob.glob("*/*/*.in")

Can you add these two lines to the RPM spec?

$ diff -u packaging/rpm/gpsd.spec.in ../gpsd.spec.in
--- packaging/rpm/gpsd.spec.in    2011-10-21 21:33:44.741113869 -0400
+++ ../gpsd.spec.in    2011-10-21 21:28:30.888705972 -0400
@@ -12,9 +12,11 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: bluez-libs-devel
+BuildRequires: chrpath
 BuildRequires: dbus-devel
 BuildRequires: dbus-glib-devel
 BuildRequires: desktop-file-utils
+BuildRequires: dia
 BuildRequires: gcc-c++
 BuildRequires: libXaw-devel
 BuildRequires: ncurses-devel

It builds on Fedora 16 Beta with these three changes.  But, I did not test this build as my devices are all in use at the moment.

$ scons dist
$ rpmbuild -ta gpsd-3.2.tar.gz

Thanks,
Mike


mrdvt92

reply via email to

[Prev in Thread] Current Thread [Next in Thread]