This commit is contained in:
3
RELEASE_1_4.tar.gz
Normal file
3
RELEASE_1_4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fd321ab846e4d4d231a2a3f45dd96efd2ec701990c6d95cdca7805363bd8e5dd
|
||||
size 319490
|
||||
5
_service
5
_service
@@ -1,5 +0,0 @@
|
||||
<services>
|
||||
<service name="download_files">
|
||||
<param name="recompress">yes</param>
|
||||
</service>
|
||||
</services>
|
||||
@@ -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 \
|
||||
'<configuration><source>6</source><target>6</target></configuration>'
|
||||
|
||||
%build
|
||||
export JAVA_HOME=%{_jvmdir}/java-1.8.0
|
||||
%{mvn_build} -- package
|
||||
%{mvn_build} -f
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
Reference in New Issue
Block a user