diff --git a/.gitignore b/.gitignore
index 659e1c0..6d1b2bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-SOURCES/libcap-2.25.tar.gz
+SOURCES/libcap-2.26.tar.gz
diff --git a/.libcap.metadata b/.libcap.metadata
index e6aabaa..8f2e041 100644
--- a/.libcap.metadata
+++ b/.libcap.metadata
@@ -1 +1 @@
-0d6e242d70e80c243a7abeb787e007835b3f0d3d SOURCES/libcap-2.25.tar.gz
+e667d815755f3f6a5819eb383827dd358372dda1 SOURCES/libcap-2.26.tar.gz
diff --git a/SOURCES/libcap-PAM_REINITIALIZE_CRED.patch b/SOURCES/libcap-PAM_REINITIALIZE_CRED.patch
new file mode 100644
index 0000000..3e99baf
--- /dev/null
+++ b/SOURCES/libcap-PAM_REINITIALIZE_CRED.patch
@@ -0,0 +1,12 @@
+diff -urN libcap-2.25/pam_cap/pam_cap.c libcap-2.25_patched/pam_cap/pam_cap.c
+--- libcap-2.25/pam_cap/pam_cap.c	2013-12-16 05:46:28.000000000 +0100
++++ libcap-2.25_patched/pam_cap/pam_cap.c	2019-03-04 16:18:23.440525062 +0100
+@@ -286,7 +286,7 @@
+     int retval;
+     struct pam_cap_s pcs;
+ 
+-    if (!(flags & PAM_ESTABLISH_CRED)) {
++    if (!(flags & (PAM_ESTABLISH_CRED | PAM_REINITIALIZE_CRED))) {
+ 	D(("we don't handle much in the way of credentials"));
+ 	return PAM_IGNORE;
+     }
diff --git a/SPECS/libcap.spec b/SPECS/libcap.spec
index 48e57d8..a06b0cd 100644
--- a/SPECS/libcap.spec
+++ b/SPECS/libcap.spec
@@ -1,6 +1,6 @@
 Name: libcap
-Version: 2.25
-Release: 9%{?dist}
+Version: 2.26
+Release: 1%{?dist}
 Summary: Library for getting and setting POSIX.1e capabilities
 URL: https://sites.google.com/site/fullycapable/
 License: GPLv2
@@ -11,6 +11,7 @@ Source: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/%{nam
 # http://manned.org/getpcaps/299a4949/src:
 Source1: getpcaps.8
 Patch0: %{name}-2.25-buildflags.patch
+Patch1: %{name}-PAM_REINITIALIZE_CRED.patch
 
 BuildRequires: libattr-devel pam-devel perl-interpreter
 
@@ -47,6 +48,7 @@ libcap.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 # libcap can not be build with _smp_mflags:
@@ -88,6 +90,15 @@ chmod +x %{buildroot}/%{_libdir}/*.so.*
 %{_libdir}/pkgconfig/libcap.pc
 
 %changelog
+* Fri Apr 12 2019 Karsten Hopp <karsten@redhat.com> - 2.26-1
+- update to 2.26
+
+* Thu Apr 11 2019 Karsten Hopp <karsten@redhat.com> - 2.25-11
+- rebuild
+
+* Thu Apr 11 2019 Karsten Hopp <karsten@redhat.com> - 2.25-10
+- rebuild
+
 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.25-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild