diff --git a/slf4j.spec b/slf4j.spec
index d2d3a49..feaf584 100644
--- a/slf4j.spec
+++ b/slf4j.spec
@@ -30,7 +30,7 @@
Name: slf4j
Version: 1.7.30
-Release: 5%{?dist}
+Release: 6%{?dist}
Epoch: 0
Summary: Simple Logging Facade for Java
# the log4j-over-slf4j and jcl-over-slf4j submodules are ASL 2.0, rest is MIT
@@ -42,10 +42,10 @@ BuildArch: noarch
BuildRequires: maven-local
BuildRequires: mvn(ch.qos.cal10n:cal10n-api)
-BuildRequires: mvn(commons-lang:commons-lang)
BuildRequires: mvn(commons-logging:commons-logging)
BuildRequires: mvn(javassist:javassist)
BuildRequires: mvn(log4j:log4j:1.2.17)
+BuildRequires: mvn(org.apache.commons:commons-lang3)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
@@ -160,6 +160,12 @@ find -name "*.css" -o -name "*.js" -o -name "*.txt" | \
skip
" slf4j-api
+# trivial port to commons-lang3
+%pom_change_dep :commons-lang org.apache.commons:commons-lang3:3.8.1 slf4j-ext
+
+sed -i "s/org.apache.commons.lang./org.apache.commons.lang3./g" \
+ slf4j-ext/src/main/java/org/slf4j/ext/MDCStrLookup.java
+
# The general pattern is that the API package exports API classes and does
# not require impl classes. slf4j was breaking that causing "A cycle was
# detected when generating the classpath slf4j.api, slf4j.nop, slf4j.api."
@@ -214,6 +220,9 @@ cp -pr target/site/* $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-manual
%{_defaultdocdir}/%{name}-manual
%changelog
+* Thu Jul 30 2020 Fabio Valentini - 0:1.7.30-6
+- Port to commons-lang3.
+
* Wed Jul 29 2020 Fedora Release Engineering - 0:1.7.30-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild