diff --git a/libusbmuxd.changes b/libusbmuxd.changes index 25c6a43..fb2078b 100644 --- a/libusbmuxd.changes +++ b/libusbmuxd.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Sep 22 13:48:10 UTC 2017 - fcrozat@suse.com + +- Use a macro for specifying library major +- Recommends usbmuxd to library package to ensure it works + properly. +- Remove duplicated dependency on iproxy subpackage. + ------------------------------------------------------------------- Fri May 27 13:11:35 UTC 2016 - dimstar@opensuse.org diff --git a/libusbmuxd.spec b/libusbmuxd.spec index 30c485b..38fa036 100644 --- a/libusbmuxd.spec +++ b/libusbmuxd.spec @@ -1,7 +1,7 @@ # # spec file for package libusbmuxd # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,8 @@ # +%define major 4 + Name: libusbmuxd Version: 1.0.10 Release: 0 @@ -43,11 +45,12 @@ a virtual network device. This package contains the usbmuxd communication interface library 'libusbmuxd'. -%package -n %{name}4 +%package -n %{name}%{major} Summary: A client library to multiplex connections from and to iOS devices Group: System/Libraries +Recommends: usbmuxd -%description -n %{name}4 +%description -n %{name}%{major} 'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of multiplexing connections over USB to an iPhone or iPod touch. To users, it means you can sync your music, contacts, photos, etc. over USB. To developers, it @@ -60,7 +63,7 @@ This package contains the usbmuxd communication interface library 'libusbmuxd'. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ -Requires: %{name}4 = %{version} +Requires: %{name}%{major} = %{version} %description devel 'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of @@ -76,7 +79,6 @@ developing applications that use %{name}. %package -n iproxy Summary: An example tool to forward localhost ports to iOS devices Group: System/Libraries -Requires: %{name}4 = %{version} %description -n iproxy 'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of @@ -105,11 +107,11 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags} rm %{buildroot}%{_libdir}/%{name}.*a -%post -n %{name}4 -p /sbin/ldconfig +%post -n %{name}%{major} -p /sbin/ldconfig -%postun -n %{name}4 -p /sbin/ldconfig +%postun -n %{name}%{major} -p /sbin/ldconfig -%files -n %{name}4 +%files -n %{name}%{major} %defattr(-,root,root) %doc AUTHORS COPYING README %{_libdir}/libusbmuxd.so.*