automatic version update by autodist [release 2.45-1mamba;Fri Dec 18 2020]
This commit is contained in:
parent
bb7d8ac595
commit
23df6914fc
69
libcap.spec
69
libcap.spec
@ -1,5 +1,5 @@
|
||||
Name: libcap
|
||||
Version: 2.44
|
||||
Version: 2.45
|
||||
Release: 1mamba
|
||||
Summary: POSIX 1003.1e capabilities
|
||||
Group: System/Libraries
|
||||
@ -15,11 +15,6 @@ BuildRequires: ldconfig
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libattr-devel
|
||||
BuildRequires: pam-devel
|
||||
%ifarch x86_64_disabled
|
||||
BuildRequires: gcc-multilib
|
||||
BuildRequires: glibc-multilib-devel
|
||||
BuildRequires: lib32-libattr-devel
|
||||
%endif
|
||||
Requires(post): libcap-tools = %{version}-%{release}
|
||||
Obsoletes: libcap1
|
||||
|
||||
@ -45,22 +40,6 @@ Requires: %{name} = %{version}-%{release}
|
||||
POSIX 1003.1e capabilities
|
||||
This package contains tools for %{name}.
|
||||
|
||||
%package -n lib32-%{name}
|
||||
Summary: POSIX 1003.1e capabilities
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n lib32-%{name}
|
||||
POSIX 1003.1e capabilities (32 bit).
|
||||
|
||||
%package -n lib32-%{name}-devel
|
||||
Summary: Devel package for lib32-%{name}
|
||||
Group: Development/Libraries
|
||||
Requires: lib32-%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n lib32-%{name}-devel
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
@ -94,26 +73,6 @@ chmod +x %{buildroot}%{_libdir}/libcap.so.*
|
||||
rm -f %{buildroot}%{_mandir}/man2/capset*
|
||||
rm -f %{buildroot}%{_mandir}/man2/capget*
|
||||
|
||||
%ifarch x86_64_disabled
|
||||
# x86_64 lib64 support
|
||||
make clean
|
||||
make \
|
||||
CC=%{_host}-gcc \
|
||||
BUILD_CC=%{_build}-gcc \
|
||||
LIBDIR=/lib \
|
||||
CFLAGS="%{optflags} -m32" \
|
||||
CXXLAGS="%{optflags} -m32" \
|
||||
PAM_CAP=no
|
||||
|
||||
make install \
|
||||
FAKEROOT=`pwd`/lib32 \
|
||||
RAISE_SETFCAP=no \
|
||||
LIBDIR=`pwd`/lib32/lib
|
||||
|
||||
rm -f lib32/lib/security/pam_cap.so
|
||||
cp -a lib32/lib %{buildroot}/
|
||||
%endif
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
|
||||
@ -126,12 +85,10 @@ fi
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post -n lib32-%{name} -p /sbin/ldconfig
|
||||
%postun -n lib32-%{name} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcap.so.*
|
||||
%{_libdir}/libpsx.so.*
|
||||
%{_libdir}/security/pam_cap.so
|
||||
|
||||
%files devel
|
||||
@ -141,13 +98,7 @@ fi
|
||||
%{_libdir}/libcap.a
|
||||
%{_libdir}/libcap.so
|
||||
%{_libdir}/libpsx.a
|
||||
#%ifarch x86_64
|
||||
#%dir %{_datadir}/gocode/src/libcap
|
||||
#%dir %{_datadir}/gocode/src/libcap/cap
|
||||
#%{_datadir}/gocode/src/libcap/cap/*.go
|
||||
#%dir %{_datadir}/gocode/src/libcap/psx
|
||||
#%{_datadir}/gocode/src/libcap/psx/*.go
|
||||
#%endif
|
||||
%{_libdir}/libpsx.so
|
||||
%{_libdir}/pkgconfig/libcap.pc
|
||||
%{_libdir}/pkgconfig/libpsx.pc
|
||||
%{_mandir}/man3/*.3*
|
||||
@ -165,18 +116,10 @@ fi
|
||||
%{_docdir}/libcap/capability.conf.example
|
||||
%doc README
|
||||
|
||||
%ifarch x86_64_disabled
|
||||
%files -n lib32-%{name}
|
||||
%defattr(-,root,root)
|
||||
/lib/libcap.so.*
|
||||
|
||||
%files -n lib32-%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
/lib/libcap.a
|
||||
/lib/libcap.so
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Dec 18 2020 Automatic Build System <autodist@mambasoft.it> 2.45-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Oct 17 2020 Automatic Build System <autodist@mambasoft.it> 2.44-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user