diff --git a/RELEASE_1_4.tar.gz b/RELEASE_1_4.tar.gz
new file mode 100644
index 0000000..7037e8f
--- /dev/null
+++ b/RELEASE_1_4.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fd321ab846e4d4d231a2a3f45dd96efd2ec701990c6d95cdca7805363bd8e5dd
+size 319490
diff --git a/_service b/_service
deleted file mode 100644
index 1138efd..0000000
--- a/_service
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- yes
-
-
diff --git a/htmlparser.spec b/htmlparser.spec
index a5d0822..d76337f 100644
--- a/htmlparser.spec
+++ b/htmlparser.spec
@@ -24,18 +24,14 @@ License: MIT AND BSD-2-Clause
Group: Development/Libraries/Java
URL: https://about.validator.nu/htmlparser/
Source0: https://github.com/validator/htmlparser/archive/refs/tags/RELEASE_1_4.tar.gz
-BuildRequires: java-1_8_0-openjdk-devel
-BuildRequires: javapackages-local
+BuildRequires: java-devel >= 1.8
BuildRequires: maven-local
BuildRequires: mvn(com.ibm.icu:icu4j)
-BuildRequires: mvn(com.sdicons.jsontools:jsontools-core)
BuildRequires: mvn(net.sourceforge.jchardet:jchardet)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
-BuildRequires: mvn(org.apache:apache:pom:)
-Recommends: mvn(com.sdicons.jsontools:jsontools-core)
-Recommends: mvn(xalan:serializer)
-Recommends: mvn(xom:xom)
+BuildRequires: mvn(xom:xom)
+BuildConflicts: java-devel >= 9
BuildArch: noarch
%description
@@ -57,13 +53,9 @@ API documentation for %{name}.
chmod 0644 README.txt
%pom_remove_plugin org.codehaus.mojo:rpm-maven-plugin
-%pom_xpath_remove pom:project/pom:packaging
-%pom_xpath_replace pom:plugin/pom:configuration \
- '66'
%build
-export JAVA_HOME=%{_jvmdir}/java-1.8.0
-%{mvn_build} -- package
+%{mvn_build} -f
%install
%mvn_install