Accepting request 1205279 from Java:packages
Spec file cleanup OBS-URL: https://build.opensuse.org/request/show/1205279 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plexus-interpolation?expand=0&rev=5
This commit is contained in:
commit
9e1b5aac67
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 2 15:58:55 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Spec file cleanup
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 13 17:09:48 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Thu Jun 13 17:09:48 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{ver
|
|||||||
Source1: %{name}-build.xml
|
Source1: %{name}-build.xml
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local >= 6
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ant-junit
|
BuildRequires: ant-junit
|
||||||
@ -50,14 +50,9 @@ API documentation for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
cp %{SOURCE1} build.xml
|
cp %{SOURCE1} build.xml
|
||||||
%pom_remove_plugin :maven-release-plugin
|
|
||||||
|
|
||||||
%pom_remove_parent
|
|
||||||
|
|
||||||
%pom_xpath_inject "pom:project" "<groupId>org.codehaus.plexus</groupId>"
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{ant} \
|
ant \
|
||||||
%if %{without tests}
|
%if %{without tests}
|
||||||
-Dtest.skip=true \
|
-Dtest.skip=true \
|
||||||
%endif
|
%endif
|
||||||
@ -69,7 +64,7 @@ install -dm 0755 %{buildroot}%{_javadir}/plexus
|
|||||||
install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/interpolation.jar
|
install -pm 0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/interpolation.jar
|
||||||
# pom
|
# pom
|
||||||
install -dm 0755 %{buildroot}%{_mavenpomdir}/plexus
|
install -dm 0755 %{buildroot}%{_mavenpomdir}/plexus
|
||||||
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/plexus/interpolation.pom
|
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/plexus/interpolation.pom
|
||||||
%add_maven_depmap plexus/interpolation.pom plexus/interpolation.jar
|
%add_maven_depmap plexus/interpolation.pom plexus/interpolation.jar
|
||||||
# javadoc
|
# javadoc
|
||||||
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user