]> git.pld-linux.org Git - packages/libxcrypt.git/commitdiff
- packages already linked with libxcrypt.so.2 need glibc compatibility API (e.g.... auto/th/libxcrypt-4.4.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 30 Nov 2018 18:16:56 +0000 (19:16 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 30 Nov 2018 18:16:56 +0000 (19:16 +0100)
libxcrypt-xcrypt.patch
libxcrypt.spec

index 7470d9eeaebcd6b9e60e218766cadbb83a524e21..c6c0e35e6b85f0b8f6fbc5e458807a23536400a2 100644 (file)
  # Build libcrypt.so.2 if obsolete APIs are excluded, libcrypt.so.1 otherwise.
  if ENABLE_OBSOLETE_API
 -libcrypt_la_VERSION = 2:0:1
-+libxcrypt_la_VERSION = 2:0:1
++libxcrypt_la_VERSION = 3:0:1
  else
 -libcrypt_la_VERSION = 2:0:0
-+libxcrypt_la_VERSION = 2:0:0
++libxcrypt_la_VERSION = 3:0:0
  endif
  
 -libcrypt_la_LDFLAGS = -version-info $(libcrypt_la_VERSION)
index 0b257187651abe4fe3c81509946783c293f20c84..54f5378bdd3ff0c7ff1a2a829f160c9d04c85a73 100644 (file)
@@ -69,7 +69,6 @@ Ten pakiet zawiera statycznÄ… wersjÄ™ biblioteki libxcrypt.
 %{__automake}
 %configure \
        --includedir=%{_includedir}/xcrypt \
-       --disable-obsolete-api \
        --disable-werror \
        --disable-xcrypt-compat-files
 %{__make}
@@ -84,6 +83,9 @@ install -d $RPM_BUILD_ROOT/%{_lib}
 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libxcrypt.so.* $RPM_BUILD_ROOT/%{_lib}
 ln -snf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libxcrypt.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libxcrypt.so
 
+# PLD doesn't need Owl compatibility
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libowcrypt.*
+# packaged with glibc-devel
 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/crypt{,_r,_ra,_rn}.3*
 
 %clean
This page took 0.154869 seconds and 4 git commands to generate.