commit 4b996757fd11787adb0085d65924facfcf5fc352
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Oct 5 18:49:01 2018 +0100
Rework sources to avoid download all snapshot with 100MB, for every commit.
.gitignore | 2 ++
mythtv.spec | 6 ++++--
sources | 3 ++-
update_fixes.sh | 4 ++--
4 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8ba9dc3..735f6eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,5 @@ mythtv-0.27.5.tar.gz
/mythtv-29.1-2a0dadb37c.tar.gz
/mythtv-29.1-dde16d475a.tar.gz
/mythtv-29.1-74fff5c285.tar.gz
+/mythtv-29.1.tar.gz
+/v29.1..74fff5c285.patch
diff --git a/mythtv.spec b/mythtv.spec
index 77fec26..b404050 100644
--- a/mythtv.spec
+++ b/mythtv.spec
@@ -79,7 +79,8 @@ Summary: A digital video recorder (DVR) application
# projects... For a breakdown of the licensing, see PACKAGE-LICENSING.
License: GPLv2+ and LGPLv2+ and LGPLv2 and (GPLv2 or QPL) and (GPLv2+ or LGPLv2+)
URL:
http://www.mythtv.org/
-Source0:
https://github.com/MythTV/%{name}/archive/%{githash}/%{name}-%{version}-%...
+Source0:
https://github.com/MythTV/%{name}/archive/v%{version}/%{name}-%{version}....
+Patch0:
https://github.com/MythTV/%{name}/compare/v%{version}..%{shorthash}.patch
################################################################################
@@ -834,7 +835,7 @@ on demand content.
################################################################################
%prep
-%autosetup -p1 -n %{name}-%{githash}
+%autosetup -p1 -n %{name}-%{version}
# Remove compiled python file
#find -name *.pyc -exec rm -f {} \;
@@ -1404,6 +1405,7 @@ exit 0
* Fri Oct 05 2018 Sérgio Basto <sergio(a)serjux.com> -
29.1-25.39.20181004git74fff5c285
- Update to 29.1.39.20181004git74fff5c285 from branch fixes/29
- Fixes ERROR: ambiguous python shebang in F30
+- Rework sources to avoid upload a new snapshot with 100MB, for every commit.
* Thu Oct 04 2018 Sérgio Basto <sergio(a)serjux.com> -
29.1-24.36.20180907.gdde16d475a
- Mass rebuild for x264 and/or x265
diff --git a/sources b/sources
index 23a76e3..aca16e3 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-1d76f62d8c7beb9eb10f015a26995304 mythtv-29.1-74fff5c285.tar.gz
+52f47a4288ce95e0edaddab84d5cc901 mythtv-29.1.tar.gz
+1bc57d039647678f56aef5bec55d1c51 v29.1..74fff5c285.patch
diff --git a/update_fixes.sh b/update_fixes.sh
index c4960da..d56acac 100755
--- a/update_fixes.sh
+++ b/update_fixes.sh
@@ -21,8 +21,8 @@ sed -i "s|^%define rel_string .*|%define rel_string
$relversion|" mythtv.spec
sed -i "s|^%define githash .*|%define githash $githash|" mythtv.spec
rpmdev-bumpspec -c "Update to $version$relversion from branch $branch "
mythtv.spec
spectool -g mythtv.spec
-echo Press enter to run: rfpkg new-sources mythtv-${version}-${shorthash}.tar.gz; read
dummy;
-rfpkg new-sources mythtv-${version}-${shorthash}.tar.gz
+echo Press enter to run: rfpkg new-sources mythtv-${version}.tar.gz
v${version}..${shorthash}.patch; read dummy;
+rfpkg new-sources mythtv-${version}.tar.gz v${version}..${shorthash}.patch
echo Press enter to continue; read dummy;
rfpkg ci -c && git show
echo Press enter to build current branch.; read dummy;