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
This commit is contained in:
Greg Freemyer 2017-07-12 11:34:21 +00:00 committed by Git OBS Bridge
parent 741d7a4370
commit a393a5319a
2 changed files with 13 additions and 8 deletions

View File

@ -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

View File

@ -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.*