forked from pool/glassfish-jsp-api
Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
0e1134e895 | |||
5e6385e93d | |||
513391c26f |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 2 15:41:23 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Spec file cleanup
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 21 05:42:31 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
Thu Sep 21 05:42:31 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package glassfish-jsp-api
|
# spec file for package glassfish-jsp-api
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -33,8 +33,6 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: glassfish-el-api
|
BuildRequires: glassfish-el-api
|
||||||
BuildRequires: glassfish-servlet-api
|
BuildRequires: glassfish-servlet-api
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
Requires: mvn(javax.el:javax.el-api)
|
|
||||||
Requires: mvn(javax.servlet:javax.servlet-api)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -60,10 +58,6 @@ cp -p %{SOURCE3} build.xml
|
|||||||
# Submited upstream: http://java.net/jira/browse/JSP-31
|
# Submited upstream: http://java.net/jira/browse/JSP-31
|
||||||
sed -i "/<bundle.symbolicName>/s/-api//" pom.xml
|
sed -i "/<bundle.symbolicName>/s/-api//" pom.xml
|
||||||
|
|
||||||
%pom_xpath_set "pom:project/pom:version" %{version}
|
|
||||||
|
|
||||||
%pom_remove_parent
|
|
||||||
|
|
||||||
%pom_xpath_remove "pom:dependency[pom:groupId='javax.el' or pom:groupId='javax.servlet']/pom:scope"
|
%pom_xpath_remove "pom:dependency[pom:groupId='javax.el' or pom:groupId='javax.servlet']/pom:scope"
|
||||||
# xmvn-connector-gradle does not handle well the ranges of versions
|
# xmvn-connector-gradle does not handle well the ranges of versions
|
||||||
# like here [3.0.1-b06,), so change it to a fixed version.
|
# like here [3.0.1-b06,), so change it to a fixed version.
|
||||||
@@ -81,7 +75,7 @@ install -dm 0755 %{buildroot}%{_javadir}/%{name}
|
|||||||
install -pm 0644 target/%{artifactId}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{artifactId}.jar
|
install -pm 0644 target/%{artifactId}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{artifactId}.jar
|
||||||
# pom
|
# pom
|
||||||
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
|
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
|
||||||
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{artifactId}.pom
|
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{artifactId}.pom
|
||||||
%add_maven_depmap %{name}/%{artifactId}.pom %{name}/%{artifactId}.jar -a javax.servlet:jsp-api,javax.servlet.jsp:jsp-api
|
%add_maven_depmap %{name}/%{artifactId}.pom %{name}/%{artifactId}.jar -a javax.servlet:jsp-api,javax.servlet.jsp:jsp-api
|
||||||
# javadoc
|
# javadoc
|
||||||
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
Reference in New Issue
Block a user