[mythtv] Building rpms for master
John Pilkington
J.Pilk at tesco.net
Sat Sep 6 21:20:24 UTC 2014
On 06/09/14 16:25, Richard Shaw wrote:
> On Sat, Sep 6, 2014 at 9:12 AM, John Pilkington <J.Pilk at tesco.net
> <mailto:J.Pilk at tesco.net>> wrote:
>
> The specfile at
>
> https://github.com/MythTV/__packaging/blob/master/rpm/__mythtv.spec
> <https://github.com/MythTV/packaging/blob/master/rpm/mythtv.spec>
>
> includes
> Source0: http://www.mythtv.org/mc/__mythtv-%{version}.tar.bz2
> <http://www.mythtv.org/mc/mythtv-%{version}.tar.bz2>
> Source1: http://www.mythtv.org/mc/__mythplugins-%{version}.tar.bz2
> <http://www.mythtv.org/mc/mythplugins-%{version}.tar.bz2>
>
> I have mythtv-master.tar.gz, downloaded yesterday from
>
> https://codeload.github.com/__MythTV/mythtv/tar.gz/master
> <https://codeload.github.com/MythTV/mythtv/tar.gz/master>
>
>
> If you look there on the www side (not codeload) you'll see two folders,
> mythtv and mythplugins, you need to get archives of those separately or
> you can use my spec from RPM Fusion which I only use the one archive but
> you'll need to adapt it for master.
>
> Thanks,
> Richard
Thanks for that, Richard. I found the two pages but only
https://github.com/MythTV/mythtv
appears to have a download option, which gives a single zip file and
unpacks, twice, to give the full works as before - but, of course, updated.
It still fails looking for the VERSION file which I find at
/home/john/rpmbuild/BUILD/mythtv-0.27/mythtv-master/mythtv/VERSION
That contains
SOURCE_VERSION="v0.28-Pre"
while EXPORTED_VERSION contains something that looks OK
SOURCE_VERSION="682f5b5"
BRANCH=" (HEAD, master)"
The terminal shows
/var/tmp/rpm-tmp.rROHDn: line 55: cd: mythtv: No such file or directory
and that script reads:
(54)##### MythTV
cd mythtv
# Set the mythtv --version string
cat > VERSION <<EOF
SOURCE_VERSION=v0.27-pre2-583-g031c724
BRANCH=master
EOF .....
I did try earlier to rehack my SL6 hack of an earlier version of your
fixes specfile but when that didn't work - can't remember how - I
decided to try upstream (?). I'll look at yours again. Is it
accessible somewhere without the SRPM?
Thanks again,
John
More information about the mythtv-dev
mailing list