From a393a5319a21a1f9409be6d8756b9a3ce3e851f251f56d4a0c1abade384a3deb Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Wed, 12 Jul 2017 11:34:21 +0000 Subject: [PATCH] Accepting request 509747 from home:jengelh:branches:filesystems - Rename %soname to %sover to better reflect its use OBS-URL: https://build.opensuse.org/request/show/509747 OBS-URL: https://build.opensuse.org/package/show/filesystems/ntfs-3g_ntfsprogs?expand=0&rev=37 --- ntfs-3g_ntfsprogs.changes | 5 +++++ ntfs-3g_ntfsprogs.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/ntfs-3g_ntfsprogs.changes b/ntfs-3g_ntfsprogs.changes index 1af1649..f22c9a6 100644 --- a/ntfs-3g_ntfsprogs.changes +++ b/ntfs-3g_ntfsprogs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 12 11:19:52 UTC 2017 - jengelh@inai.de + +- Rename %soname to %sover to better reflect its use + ------------------------------------------------------------------- Mon Jul 7 11:04:11 UTC 2017 - zenitur@ya.ru diff --git a/ntfs-3g_ntfsprogs.spec b/ntfs-3g_ntfsprogs.spec index 569fea0..8a0eee3 100644 --- a/ntfs-3g_ntfsprogs.spec +++ b/ntfs-3g_ntfsprogs.spec @@ -16,7 +16,7 @@ # -%define soname 88 +%define sover 88 Name: ntfs-3g_ntfsprogs Summary: NTFS Support in Userspace @@ -29,9 +29,9 @@ Source2: 21-storage-ntfs-3g.fdi Url: http://www.tuxera.com/community/ntfs-3g-download/ # SLES 11 is still supported %if 0%{?sles_version} && 0%{?suse_version} == 1110 +BuildRequires: cpp48 BuildRequires: fuse-devel >= 2.6.0 BuildRequires: gcc48 -BuildRequires: cpp48 %else BuildRequires: pkgconfig(fuse) >= 2.6.0 %endif @@ -66,12 +66,12 @@ NTFS-3G allows for read/write access to NTFS partitions which can be shared with Windows XP, Windows Server 2003, Windows 2000, Windows Vista and Windows Seven. -%package -n libntfs-3g%soname +%package -n libntfs-3g%sover Summary: NTFS Support in Userspace -- Library License: LGPL-2.1+ Group: System/Filesystems -%description -n libntfs-3g%soname +%description -n libntfs-3g%sover NTFS-3G allows for read/write access to NTFS partitions which can be shared with Windows XP, Windows Server 2003, Windows 2000, Windows Vista and Windows Seven. @@ -81,7 +81,7 @@ Summary: NTFS Support in Userspace -- Development Files License: LGPL-2.1+ Group: System/Filesystems Requires: glibc-devel -Requires: libntfs-3g%soname = %{version} +Requires: libntfs-3g%sover = %{version} Provides: ntfs-3g-devel = %{version} Obsoletes: ntfs-3g-devel < %{version} @@ -178,9 +178,9 @@ if [ ! -f /sbin/mount.ntfs-3g ]; then update-alternatives --remove mount.ntfs /sbin/mount.ntfs-3g fi -%post -n libntfs-3g%soname -p /sbin/ldconfig +%post -n libntfs-3g%sover -p /sbin/ldconfig -%postun -n libntfs-3g%soname -p /sbin/ldconfig +%postun -n libntfs-3g%sover -p /sbin/ldconfig %files -n ntfs-3g %defattr(-,root,root,-) @@ -212,7 +212,7 @@ fi # We already have this, so no need to package it again. %exclude /usr/share/doc/ntfs-3g/README -%files -n libntfs-3g%soname +%files -n libntfs-3g%sover %defattr(-,root,root,-) %doc COPYING.LIB %{_libdir}/libntfs-3g.so.*