[qt5-qtwayland] Switch from a Git snapshot to a pre-release tarball

Lubomir Rintel lkundrak at fedoraproject.org
Wed Sep 24 08:44:17 UTC 2014


commit 5003291d05965bdf02b979e3b3388d30c0c6747b
Author: Lubomir Rintel <lkundrak at v3.sk>
Date:   Wed Sep 24 10:44:16 2014 +0200

    Switch from a Git snapshot to a pre-release tarball

 .gitignore         |    1 +
 qt5-qtwayland.spec |   16 +++++++++-------
 sources            |    2 +-
 3 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index daa5917..ae70f4a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /qtwayland.tar.gz
+/qtwayland-opensource-src-5.4.0-alpha.tar.xz
diff --git a/qt5-qtwayland.spec b/qt5-qtwayland.spec
index 2da3729..397b47b 100644
--- a/qt5-qtwayland.spec
+++ b/qt5-qtwayland.spec
@@ -1,16 +1,15 @@
 
 %global qt_module qtwayland
 
+%define pre alpha
+
 Summary:        Qt5 - Wayland platform support and QtCompositor module
 Name:           qt5-%{qt_module}
-Version:        5.3.0
-Release:        0.3.20140723git02c499c%{?dist}
+Version:        5.4.0
+Release:        0.%{pre}%{?dist}
 License:        LGPLv2 with exceptions or GPLv3 with exceptions
 Url:            http://qt-project.org/wiki/QtWayland
-# git clone --no-checkout git://gitorious.org/qt/qtwayland.git
-# cd qtwayland/
-# git archive 02c499c --prefix=qtwayland/ |gzip >qtwayland.tar.gz
-Source0:        qtwayland.tar.gz
+Source0:        http://download.qt-project.org/development_releases/qt/5.4/%{version}-%{pre}/submodules/%{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}.tar.xz
 
 BuildRequires:  qt5-qtbase-devel >= 5.2
 BuildRequires:  qt5-qtbase-static >= 5.2
@@ -53,7 +52,7 @@ Requires:       %{name}%{?_isa} = %{version}-%{release}
 
 
 %prep
-%setup -q -n %{qt_module}
+%setup -q -n %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}
 
 
 %build
@@ -104,6 +103,9 @@ install -pm644 gl/include/QtCompositor/%{version}/QtCompositor/private/{wayland-
 
 
 %changelog
+* Wed Sep 24 2014 Lubomir Rintel <lkundrak at v3.sk> - 5.4.0-0.alpha1
+- Switch from a Git snapshot to a pre-release tarball
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.3.0-0.3.20140723git02c499c
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
diff --git a/sources b/sources
index 3249477..5f36e24 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-912f5acf1b099c018b3b56e67fba49e2  qtwayland.tar.gz
+bf7fb370300d83ddd8682d276d7c5ec9  qtwayland-opensource-src-5.4.0-alpha.tar.xz


More information about the scm-commits mailing list