libcap 2.68-1 (x86_64;aarch64;znver1) 2023-17387
9999

Status published
Submitter benbullard79 [@T] cox.net
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/329902
Packages
lib64cap-2.68-1.x86_64.binary
lib64cap-debuginfo-2.68-1.x86_64.debuginfo
lib64cap-devel-2.68-1.x86_64.binary
lib64psx-2.68-1.x86_64.binary
lib64psx-debuginfo-2.68-1.x86_64.debuginfo
libcap-2.68-1.x86_64.source
libcap-2.68-1.x86_64.binary
libcap-debuginfo-2.68-1.x86_64.debuginfo
libcap-debugsource-2.68-1.x86_64.binary
libcap-devel-2.68-1.x86_64.binary
libcap-docs-2.68-1.x86_64.binary
libcap-utils-2.68-1.x86_64.binary
libcap-utils-debuginfo-2.68-1.x86_64.debuginfo
libpsx-2.68-1.x86_64.binary
libpsx-debuginfo-2.68-1.x86_64.debuginfo
pam_cap-2.68-1.x86_64.binary
pam_cap-debuginfo-2.68-1.x86_64.debuginfo
lib64cap-2.68-1.aarch64.binary
lib64cap-debuginfo-2.68-1.aarch64.debuginfo
lib64cap-devel-2.68-1.aarch64.binary
lib64psx-2.68-1.aarch64.binary
lib64psx-debuginfo-2.68-1.aarch64.debuginfo
libcap-2.68-1.aarch64.source
libcap-debuginfo-2.68-1.aarch64.debuginfo
libcap-debugsource-2.68-1.aarch64.binary
libcap-docs-2.68-1.aarch64.binary
libcap-utils-2.68-1.aarch64.binary
libcap-utils-debuginfo-2.68-1.aarch64.debuginfo
pam_cap-2.68-1.aarch64.binary
pam_cap-debuginfo-2.68-1.aarch64.debuginfo
lib64cap-2.68-1.znver1.binary
lib64cap-debuginfo-2.68-1.znver1.debuginfo
lib64cap-devel-2.68-1.znver1.binary
lib64psx-2.68-1.znver1.binary
lib64psx-debuginfo-2.68-1.znver1.debuginfo
libcap-2.68-1.znver1.source
libcap-2.68-1.znver1.binary
libcap-debuginfo-2.68-1.znver1.debuginfo
libcap-debugsource-2.68-1.znver1.binary
libcap-devel-2.68-1.znver1.binary
libcap-docs-2.68-1.znver1.binary
libcap-utils-2.68-1.znver1.binary
libcap-utils-debuginfo-2.68-1.znver1.debuginfo
libpsx-2.68-1.znver1.binary
libpsx-debuginfo-2.68-1.znver1.debuginfo
pam_cap-2.68-1.znver1.binary
pam_cap-debuginfo-2.68-1.znver1.debuginfo
Build Date 2023-04-05 17:47:59 +0000 UTC
Last Updated 2023-04-06 17:14:54.457775753 +0000 UTC
$ git diff --patch-with-stat --summary 4725a5de6c115d0387bec62807c2a6034310e28e..94c1b5505b41d6e30d1ed821f42a7312e3da667f

 .abf.yml    |  2 +-
 libcap.spec | 36 ++++++++++++++++++++----------------
 2 files changed, 21 insertions(+), 17 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index e7e7766..4218185 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  libcap-2.66.tar.xz: d440e60686bd542e2a6481986c63ee8de625563e
+  libcap-2.68.tar.xz: da11d8eedc6c0ab73a232d3f1f88166c416f5ba6
diff --git a/libcap.spec b/libcap.spec
index f5edcfb..ac31ab8 100644
--- a/libcap.spec
+++ b/libcap.spec
@@ -8,16 +8,20 @@
 %define _disable_ld_no_undefined 1
 
 %define major 2
-%define libname %mklibname cap %{major}
-%define libpsx %mklibname psx %{major}
+%define oldlibname %mklibname cap 2
+%define libname %mklibname cap
+%define oldlibpsx %mklibname psx 2
+%define libpsx %mklibname psx
 %define devname %mklibname cap -d
-%define lib32name libcap%{major}
-%define lib32psx libpsx%{major}
+%define oldlib32name libcap2
+%define lib32name libcap
+%define oldlib32psx libpsx2
+%define lib32psx libpsx
 %define dev32name libcap-devel
 
 Summary:	Library for getting and setting POSIX.1e capabilities
 Name:		libcap
-Version:	2.66
+Version:	2.68
 Release:	1
 Group:		System/Kernel and hardware
 License:	BSD/GPLv2
@@ -31,6 +35,11 @@ BuildRequires:	pam-devel
 BuildRequires:	devel(libattr)
 BuildRequires:	libc6
 %endif
+%if %{with compat32}
+# Since the lib32name is libcap, the main package
+# doubles as lib32package
+%rename %{oldlib32name}
+%endif
 
 %description
 %{name} is a library for getting and setting POSIX.1e (formerly POSIX 6)
@@ -66,6 +75,7 @@ specified user.
 Summary:	Library for getting and setting POSIX.1e capabilities
 Group:		System/Kernel and hardware
 Provides:	%{name} = %{EVRD}
+%rename %{oldlibname}
 
 %description -n %{libname}
 %{name} is a library for getting and setting POSIX.1e (formerly POSIX 6)
@@ -74,6 +84,7 @@ draft 15 capabilities.
 %package -n %{libpsx}
 Summary:	Library for getting and setting POSIX.1e capabilities
 Group:		System/Kernel and hardware
+%rename %{oldlibpsx}
 
 %description -n %{libpsx}
 %{name} is a library for getting and setting POSIX.1e (formerly POSIX 6)
@@ -98,17 +109,10 @@ Install %{name}-devel if you want to develop or compile applications supporting
 Linux kernel capabilities.
 
 %if %{with compat32}
-%package -n %{lib32name}
-Summary:	Library for getting and setting POSIX.1e capabilities (32-bit)
-Group:		System/Kernel and hardware
-
-%description -n %{lib32name}
-%{name} is a library for getting and setting POSIX.1e (formerly POSIX 6)
-draft 15 capabilities.
-
 %package -n %{lib32psx}
 Summary:	Library for getting and setting POSIX.1e capabilities (32-bit)
 Group:		System/Kernel and hardware
+%rename %{oldlib32psx}
 
 %description -n %{lib32psx}
 %{name} is a library for getting and setting POSIX.1e (formerly POSIX 6)
@@ -145,13 +149,13 @@ install -m644 %{SOURCE1} .
 mkdir build32
 cp -a $(ls -1 |grep -v build32) build32/
 cd build32
-%make_build BUILD_CC="gcc -m32" CC="gcc -m32" PREFIX=%{_prefix} CFLAGS="$(echo %{optflags} |sed -e 's,-m64,,g;s,-mx32,,g') -m32" LDFLAGS="$(echo %{build_ldflags} |sed -e 's,-m64,,g;s,-mx32,,g') -m32" LIBDIR=%{_prefix}/lib lib=lib PAM_CAP=no GOLANG=no
+%make_build BUILD_CC="clang" CC="gcc -m32" PREFIX=%{_prefix} CFLAGS="$(echo %{optflags} |sed -e 's,-m64,,g;s,-mx32,,g') -m32" LDFLAGS="$(echo %{build_ldflags} |sed -e 's,-m64,,g;s,-mx32,,g') -m32" LIBDIR=%{_prefix}/lib lib=lib PAM_CAP=no GOLANG=no
 cd ..
 %endif
 
 # cb ensure fPIC set for i586 as otherwise it is missed causing issues
 # FIXME get rid of GOLANG=no once we know why it's failing to build
-%make_build BUILD_CC=%{__cc} CC=%{__cc} PREFIX=%{_prefix} CFLAGS="%{optflags} -Oz -fPIC" LDFLAGS="%{build_ldflags} -lpam" LIBDIR=%{_libdir} lib=%{_lib} GOLANG=no
+%make_build BUILD_CC=clang CC=%{__cc} PREFIX=%{_prefix} CFLAGS="%{optflags} -Oz -fPIC" LDFLAGS="%{build_ldflags} -lpam" LIBDIR=%{_libdir} lib=%{_lib} GOLANG=no
 
 %install
 install -d %{buildroot}%{_sysconfdir}/security
@@ -225,7 +229,7 @@ find %{buildroot} -name "*.pc" |xargs sed -i -e 's,-L\${libdir} ,,g'
 %{_libdir}/pkgconfig/libpsx.pc
 
 %if %{with compat32}
-%files -n %{lib32name}
+%files
 %{_prefix}/lib/libcap.so.%{major}*
 
 %files -n %{lib32psx}
Not Available

benbullard79 [@T] cox.netNo Comment.598d 03hrs
benbullard79 [@T] cox.netNo Comment.597d 10hrs
benbullard79 [@T] cox.netNo Comment.597d 10hrs