[packages/synce-odccm] - added format patch, completed BRs, added deprecation note

qboosh qboosh at pld-linux.org
Sun Feb 1 09:20:47 CET 2015


commit f74ed6bc09f84ff7002f211c5344169368e9d5f5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 1 09:22:59 2015 +0100

    - added format patch, completed BRs, added deprecation note

 synce-odccm-format.patch | 11 +++++++++++
 synce-odccm.spec         |  8 ++++++--
 2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/synce-odccm.spec b/synce-odccm.spec
index 23255e6..2fcd6d4 100644
--- a/synce-odccm.spec
+++ b/synce-odccm.spec
@@ -1,3 +1,4 @@
+# NOTE: deprecated in favour of generic dccm support in synce-core.spec
 Summary:	DCCM implementation for Windows Mobile 5 (and newer) devices
 Summary(pl.UTF-8):	Implementacja DCCM dla urządzeń Windows Mobile 5 (i nowszych)
 Name:		synce-odccm
@@ -8,7 +9,9 @@ Group:		Applications/Networking
 Source0:	http://downloads.sourceforge.net/synce/odccm-%{version}.tar.gz
 # Source0-md5:	03c833e4adb5ec17d32ac338cf1a6d18
 Source1:	odccm.init
+Patch0:		%{name}-format.patch
 URL:		http://synce.sourceforge.net/
+BuildRequires:	dbus-devel >= 0.60
 BuildRequires:	dbus-glib-devel >= 0.60
 BuildRequires:	glib2-devel >= 1:2.8
 BuildRequires:	gnet-devel >= 2.0
@@ -36,6 +39,7 @@ uruchamiania skryptów po połączeniu.
 
 %prep
 %setup -q -n odccm-%{version}
+%patch0 -p1
 
 %build
 %configure
@@ -65,7 +69,7 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS README
+%attr(755,root,root) %{_sbindir}/odccm
 /etc/dbus-1/system.d/odccm.conf
 %attr(754,root,root) /etc/rc.d/init.d/odccm
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man1/*
+%{_mandir}/man1/odccm.1*
diff --git a/synce-odccm-format.patch b/synce-odccm-format.patch
new file mode 100644
index 0000000..d968315
--- /dev/null
+++ b/synce-odccm-format.patch
@@ -0,0 +1,11 @@
+--- odccm-0.12/src/util.c.orig	2008-07-16 01:32:49.000000000 +0200
++++ odccm-0.12/src/util.c	2015-02-01 08:20:40.114421232 +0100
+@@ -40,7 +40,7 @@
+           (i > 0) ? " " : "", ((guchar *) buf)[i]);
+     }
+ 
+-  g_debug (s->str);
++  g_debug ("%s", s->str);
+ 
+   g_string_free (s, TRUE);
+ }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/synce-odccm.git/commitdiff/f74ed6bc09f84ff7002f211c5344169368e9d5f5



More information about the pld-cvs-commit mailing list