[mingw-qt5-qtsensors] Update to 5.1.0

Erik van Pienbroek epienbro at fedoraproject.org
Sat Jul 13 22:43:58 UTC 2013


commit db3ef8e4f12f4340c8bd3002ec188d6ecd5b98f9
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Sun Jul 14 00:43:49 2013 +0200

    Update to 5.1.0

 .gitignore               |    1 +
 mingw-qt5-qtsensors.spec |   18 ++++++++++++------
 sources                  |    2 +-
 3 files changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index dd91de9..ee2be42 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /qt5-qtsensors-ceec1eda.tar.gz
+/qtsensors-opensource-src-5.1.0.tar.xz
diff --git a/mingw-qt5-qtsensors.spec b/mingw-qt5-qtsensors.spec
index 51dbc71..5e67b6b 100644
--- a/mingw-qt5-qtsensors.spec
+++ b/mingw-qt5-qtsensors.spec
@@ -3,8 +3,8 @@
 %global qt_module qtsensors
 #%%global pre beta1
 
-%global snapshot_date 20130510
-%global snapshot_rev ceec1eda
+#%%global snapshot_date 20130510
+#5%global snapshot_rev ceec1eda
 
 %if 0%{?snapshot_date}
 %global source_folder qt-%{qt_module}
@@ -12,21 +12,24 @@
 %global source_folder %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}
 %endif
 
+# first two digits of version
+%global release_version %(echo %{version} | awk -F. '{print $1"."$2}')
+
 Name:           mingw-qt5-%{qt_module}
-Version:        5.0.0
-Release:        0.5%{?pre:.%{pre}}%{?snapshot_date:.git%{snapshot_date}.%{snapshot_rev}}%{?dist}
+Version:        5.1.0
+Release:        1%{?pre:.%{pre}}%{?snapshot_date:.git%{snapshot_date}.%{snapshot_rev}}%{?dist}
 Summary:        Qt5 for Windows - QtSensors component
 
 License:        GPLv3 with exceptions or LGPLv2 with exceptions
 Group:          Development/Libraries
-URL:            http://www.qtsoftware.com/
+URL:            http://qt-project.org/
 
 %if 0%{?snapshot_date}
 # To regenerate:
 # wget http://qt.gitorious.org/qt/%{qt_module}/archive-tarball/%{snapshot_rev} -O qt5-%{qt_module}-%{snapshot_rev}.tar.gz
 Source0:        qt5-%{qt_module}-%{snapshot_rev}.tar.gz
 %else
-Source0:        http://releases.qt-project.org/qt5/%{version}/submodules/%{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}.tar.xz
+Source0:        http://download.qt-project.org/official_releases/qt/%{release_version}/%{version}/submodules/%{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}.tar.xz
 %endif
 
 BuildArch:      noarch
@@ -130,6 +133,9 @@ rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/*.dll
 
 
 %changelog
+* Sun Jul 14 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.1.0-1
+- Update to 5.1.0
+
 * Fri May 10 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.0.0-5.git20130510.ceec1eda
 - Update to 20130510 snapshot (rev ceec1eda)
 
diff --git a/sources b/sources
index 700aaf5..b25e832 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8ff57d67497df126030b4276c60d5892  qt5-qtsensors-ceec1eda.tar.gz
+bcb4b546d1d39f2e27425b48bae90ac2  qtsensors-opensource-src-5.1.0.tar.xz


More information about the scm-commits mailing list