Update to 0.2.46
This commit is contained in:
parent
787690e78f
commit
7408f6c23e
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,3 +4,5 @@ libcap-2.17.tar.gz
|
|||||||
/libcap-2.25.tar.gz
|
/libcap-2.25.tar.gz
|
||||||
/libcap-2.26.tar.gz
|
/libcap-2.26.tar.gz
|
||||||
/libcap-2.44.tar.gz
|
/libcap-2.44.tar.gz
|
||||||
|
/libcap-0.2.46.tar.gz
|
||||||
|
/libcap-2.46.tar.gz
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
diff -up ./Make.Rules.rh ./Make.Rules
|
|
||||||
--- ./Make.Rules.rh 2020-10-21 14:35:56.645593319 +0200
|
|
||||||
+++ ./Make.Rules 2020-10-21 14:38:34.794968440 +0200
|
|
||||||
@@ -56,10 +56,10 @@ IPATH += -fPIC -I$(KERNEL_HEADERS) -I$(t
|
|
||||||
|
|
||||||
CC := $(CROSS_COMPILE)gcc
|
|
||||||
DEFINES := -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
|
||||||
-COPTS ?= -O2
|
|
||||||
+COPTS ?= $(RPM_OPT_FLAGS)
|
|
||||||
CFLAGS ?= $(COPTS) $(DEFINES)
|
|
||||||
BUILD_CC ?= $(CC)
|
|
||||||
-BUILD_COPTS ?= -O2
|
|
||||||
+BUILD_COPTS ?= $(RPM_OPT_FLAGS)
|
|
||||||
BUILD_CFLAGS ?= $(BUILD_COPTS) $(DEFINES) $(IPATH)
|
|
||||||
AR := $(CROSS_COMPILE)ar
|
|
||||||
RANLIB := $(CROSS_COMPILE)ranlib
|
|
||||||
@@ -69,7 +69,7 @@ WARNINGS=-Wall -Wwrite-strings \
|
|
||||||
-Wstrict-prototypes -Wmissing-prototypes \
|
|
||||||
-Wnested-externs -Winline -Wshadow
|
|
||||||
LD=$(CC) -Wl,-x -shared
|
|
||||||
-LDFLAGS ?= #-g
|
|
||||||
+LDFLAGS ?= $(RPM_LD_FLAGS)
|
|
||||||
LIBCAPLIB := -L$(topdir)/libcap -lcap
|
|
||||||
LIBPSXLIB := -L$(topdir)/libcap -lpsx -lpthread -Wl,-wrap,pthread_create
|
|
||||||
|
|
11
libcap.spec
11
libcap.spec
@ -1,13 +1,11 @@
|
|||||||
Name: libcap
|
Name: libcap
|
||||||
Version: 2.44
|
Version: 2.46
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Library for getting and setting POSIX.1e capabilities
|
Summary: Library for getting and setting POSIX.1e capabilities
|
||||||
URL: https://sites.google.com/site/fullycapable/
|
URL: https://sites.google.com/site/fullycapable/
|
||||||
License: BSD or GPLv2
|
License: BSD or GPLv2
|
||||||
|
|
||||||
Source: https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/%{name}-%{version}.tar.gz
|
Source: https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/%{name}-%{version}.tar.gz
|
||||||
# http://manned.org/getpcaps/299a4949/src:
|
|
||||||
Patch0: libcap-2.44-buildflags.patch
|
|
||||||
|
|
||||||
BuildRequires: libattr-devel pam-devel perl-interpreter gcc
|
BuildRequires: libattr-devel pam-devel perl-interpreter gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
@ -41,8 +39,7 @@ Install libcap-devel if you want to develop or compile applications using
|
|||||||
libcap.
|
libcap.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# libcap can not be build with _smp_mflags:
|
# libcap can not be build with _smp_mflags:
|
||||||
@ -64,7 +61,6 @@ chmod +x %{buildroot}/%{_libdir}/*.so.*
|
|||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license License
|
%license License
|
||||||
%doc doc/capability.notes
|
%doc doc/capability.notes
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
@ -86,6 +82,9 @@ chmod +x %{buildroot}/%{_libdir}/*.so.*
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 17 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 2.46-1
|
||||||
|
- Update to 0.2.46
|
||||||
|
|
||||||
* Wed Oct 21 2020 Karsten Hopp <karsten@fedoraproject.org> - 2.44-1
|
* Wed Oct 21 2020 Karsten Hopp <karsten@fedoraproject.org> - 2.44-1
|
||||||
- update to 2.44
|
- update to 2.44
|
||||||
- remove additional getpcaps manpage as it now included in the sources
|
- remove additional getpcaps manpage as it now included in the sources
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libcap-2.44.tar.gz) = 29feb4a503aee7b86dba882175b0b76f05aed39c63ddcf47a7db7d62ab517a40c506dadfc40ddd1911f551dbe5bb26e447bb4c1024b298658a86750caab67144
|
SHA512 (libcap-2.46.tar.gz) = d7d6d8d02701c2bef8f5095a0c923c1bb7033167894d573ad1c935d36d338adb9e58fe2e2779d5e9e8efaf5fe9bc87f43a85eafc733b76f953636038868d73d2
|
||||||
|
Loading…
Reference in New Issue
Block a user