[packages/ntfs-3g_ntfsprogs] - same-arch dependencies, no attr for shared lib/its symlinks

qboosh qboosh at pld-linux.org
Sun Nov 29 18:38:32 CET 2026


commit 2727169aaa6617a92db60af884d6ed588673cafb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Nov 29 18:38:40 2026 +0100

    - same-arch dependencies, no attr for shared lib/its symlinks

 ntfs-3g_ntfsprogs.spec | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/ntfs-3g_ntfsprogs.spec b/ntfs-3g_ntfsprogs.spec
index 04bafb8..25df031 100644
--- a/ntfs-3g_ntfsprogs.spec
+++ b/ntfs-3g_ntfsprogs.spec
@@ -50,7 +50,7 @@ obsługę systemów plików NTFS z systemów Windows XP, Windows Server
 Summary:	Utilities for NTFS file systems
 Summary(pl.UTF-8):	Narzędzia do systemów plików NTFS
 Group:		Applications/System
-Requires:	ntfs-3g-libs = %{epoch}:%{version}-%{release}
+Requires:	ntfs-3g-libs%{?_isa} = %{epoch}:%{version}-%{release}
 
 %description -n ntfsprogs
 This package contains the following utilities for NTFS file systems:
@@ -101,7 +101,7 @@ Więcej informacji na temat tych narzędzi można znaleźć w manualach.
 Summary:	The NTFS driver with read and write support
 Summary(pl.UTF-8):	Sterownik do NTFS umożliwiający odczyt i zapis
 Group:		Applications/System
-Requires:	ntfs-3g-libs = %{epoch}:%{version}-%{release}
+Requires:	ntfs-3g-libs%{?_isa} = %{epoch}:%{version}-%{release}
 Obsoletes:	ntfsprogs-fuse < 2.1
 
 %description -n ntfs-3g
@@ -128,7 +128,7 @@ Biblioteka współdzielona ntfs-3g.
 Summary:	Header files for libntfs-3g library
 Summary(pl.UTF-8):	Pliki nagłówkowe dla biblioteki libntfs-3g
 Group:		Development/Libraries
-Requires:	ntfs-3g-libs = %{epoch}:%{version}-%{release}
+Requires:	ntfs-3g-libs%{?_isa} = %{epoch}:%{version}-%{release}
 Obsoletes:	ntfsprogs-devel < 2.1
 
 %description -n ntfs-3g-devel
@@ -143,7 +143,7 @@ biblioteki libntfs-3g.
 Summary:	Static version of libntfs-3g library
 Summary(pl.UTF-8):	Statyczna wersja biblioteki libntfs-3g
 Group:		Development/Libraries
-Requires:	ntfs-3g-devel = %{epoch}:%{version}-%{release}
+Requires:	ntfs-3g-devel%{?_isa} = %{epoch}:%{version}-%{release}
 
 %description -n ntfs-3g-static
 This package contains the static version of libntfs-3g library.
@@ -155,7 +155,7 @@ Ten pakiet zawiera statyczną wersję biblioteki libntfs-3g.
 Summary:	udev integration for ntfs-3g
 Summary(pl.UTF-8):	Integracja ntfs-3g z udevem
 Group:		Applications/System
-Requires:	ntfs-3g = %{epoch}:%{version}-%{release}
+Requires:	ntfs-3g%{?_isa} = %{epoch}:%{version}-%{release}
 Obsoletes:	ntfs-3g-hal < 1:2011.4.12-1
 
 %description -n ntfs-3g-udev
@@ -169,9 +169,9 @@ Integracja ntfs-3g z udevem.
 
 %build
 %{__libtoolize}
-%{__aclocal}
-%{__autoheader}
+%{__aclocal} -I m4
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 
 %configure \
@@ -221,7 +221,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/ntfscat
 %attr(755,root,root) %{_bindir}/ntfscluster
 %attr(755,root,root) %{_bindir}/ntfscmp
-%{?with_crypto:%attr(755,root,root) %{_bindir}/ntfsdecrypt}
+%if %{with crypto}
+%attr(755,root,root) %{_bindir}/ntfsdecrypt
+%endif
 %attr(755,root,root) %{_bindir}/ntfsfix
 %attr(755,root,root) %{_bindir}/ntfsinfo
 %attr(755,root,root) %{_bindir}/ntfsls
@@ -282,12 +284,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n ntfs-3g-libs
 %defattr(644,root,root,755)
-%attr(755,root,root) /%{_lib}/libntfs-3g.so.*.*.*
-%attr(755,root,root) %ghost /%{_lib}/libntfs-3g.so.91
+/%{_lib}/libntfs-3g.so.*.*.*
+%ghost /%{_lib}/libntfs-3g.so.91
 
 %files -n ntfs-3g-devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libntfs-3g.so
+%{_libdir}/libntfs-3g.so
 %{_includedir}/ntfs-3g
 %{_pkgconfigdir}/libntfs-3g.pc
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ntfs-3g_ntfsprogs.git/commitdiff/2727169aaa6617a92db60af884d6ed588673cafb



More information about the pld-cvs-commit mailing list