[ModemManager] Update to latest stable release

Daniel Williams dcbw at fedoraproject.org
Thu Feb 13 18:35:10 UTC 2014


commit 73de16b924cbce334084f0cef96b4ce46f80a90b
Author: poma <poma at gmail.com>
Date:   Thu Feb 13 12:36:34 2014 -0600

    Update to latest stable release
    
    (and fix _hardened_build macro) (dcbw)

 .gitignore                   |    1 +
 ModemManager.spec            |   24 +++++++++++++-----------
 buildsys-hates-openpty.patch |    7 +++----
 sources                      |    2 +-
 4 files changed, 18 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ca604ec..3a8dc0f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@ ModemManager-0.4.git20100720.tar.bz2
 /ModemManager-0.7.991.git20130607.tar.bz2
 /ModemManager-0.7.991.git20130710.tar.xz
 /ModemManager-1.0.1.git20130723.tar.xz
+/ModemManager-1.2.0.tar.xz
diff --git a/ModemManager.spec b/ModemManager.spec
index 13fa901..c1ed695 100644
--- a/ModemManager.spec
+++ b/ModemManager.spec
@@ -1,24 +1,21 @@
-%global snapshot .git20130913
+
 %global glib2_version 2.32
 %global systemd_dir %{_prefix}/lib/systemd/system
 
-%global hardened_build 1
+%global _hardened_build 1
 
 Summary: Mobile broadband modem management service
 Name: ModemManager
-Version: 1.1.0
-Release: 2%{snapshot}%{?dist}
+Version: 1.2.0
+Release: 1%{?dist}
 #
-# Source from git://anongit.freedesktop.org/ModemManager/ModemManager
-# tarball built with:
-#    ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
-#    make distcheck
+# Source from http://freedesktop.org/software/ModemManager/
 #
-Source: %{name}-%{version}%{snapshot}.tar.xz
+Source: %{name}-%{version}.tar.xz
 License: GPLv2+
 Group: System Environment/Base
 
-URL: http://www.gnome.org/projects/NetworkManager/
+URL: https://wiki.gnome.org/Projects/NetworkManager
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 Requires: glib2 >= %{glib2_version}
 BuildRequires: glib2-devel >= %{glib2_version}
@@ -89,9 +86,10 @@ intltoolize --force
 %configure \
 	--enable-more-warnings=error \
 	--with-udev-base-dir=%{_prefix}/lib/udev \
-	--enable-gtk-doc=yes \
+	--enable-gtk-doc \
 	--with-qmi=yes \
 	--with-mbim=yes \
+	--with-newest-qmi-commands \
 	--disable-static \
 	--with-polkit=no \
 	--with-dist-version=%{version}-%{release}
@@ -141,6 +139,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{systemd_dir}/ModemManager.service
 %{_datadir}/icons/hicolor/22x22/apps/*.png
 %{_mandir}/man8/*
+%{_datadir}/locale/*/LC_MESSAGES/ModemManager.mo
 
 %files devel
 %{_includedir}/ModemManager/*.h
@@ -165,6 +164,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/vala/vapi/libmm-glib.*
 
 %changelog
+* Sat Feb  1 2014 poma <poma at gmail.com> - 1.2.0-1
+- Update to 1.2.0 release
+
 * Fri Sep 13 2013 Dan Williams <dcbw at redhat.com> - 1.1.0-2.git20130913
 - Build with MBIM support
 - Enable Vala bindings
diff --git a/buildsys-hates-openpty.patch b/buildsys-hates-openpty.patch
index aa61d24..4daa31e 100644
--- a/buildsys-hates-openpty.patch
+++ b/buildsys-hates-openpty.patch
@@ -1,12 +1,11 @@
 diff -up ModemManager-0.4.998/src/tests/Makefile.am.foo ModemManager-0.4.998/src/tests/Makefile.am
 --- ModemManager-0.4.998/src/tests/Makefile.am.foo	2011-07-06 17:59:53.711343366 -0500
 +++ ModemManager-0.4.998/src/tests/Makefile.am	2011-07-06 18:00:08.971152593 -0500
-@@ -45,7 +45,6 @@ if WITH_TESTS
+@@ -3,7 +3,6 @@
  noinst_PROGRAMS = \
  	test-modem-helpers \
  	test-charsets \
 -	test-qcdm-serial-port \
  	test-at-serial-port \
- 	test-sms-part
- 
-
+ 	test-sms-part-3gpp \
+ 	test-sms-part-cdma
diff --git a/sources b/sources
index 430d5bc..1637324 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-055f12a1dbfc41cc4ca053c3d6ec2eee  ModemManager-1.1.0.git20130913.tar.xz
+6e70ab7c5f96aa6a4d5612c1d5ae5bb3  ModemManager-1.2.0.tar.xz


More information about the scm-commits mailing list