Install with XMvn

This commit is contained in:
Michael Simacek 2017-03-22 12:13:59 +01:00
parent e99e3e09d4
commit 58fc428480

View File

@ -1,6 +1,6 @@
Name: aopalliance Name: aopalliance
Version: 1.0 Version: 1.0
Release: 13%{?dist} Release: 14%{?dist}
Epoch: 0 Epoch: 0
Summary: Java/J2EE AOP standards Summary: Java/J2EE AOP standards
License: Public Domain License: Public Domain
@ -15,7 +15,6 @@ Source2: %{name}-MANIFEST.MF
BuildRequires: ant BuildRequires: ant
BuildRequires: javapackages-local BuildRequires: javapackages-local
Requires: java-headless
%description %description
Aspect-Oriented Programming (AOP) offers a better solution to many Aspect-Oriented Programming (AOP) offers a better solution to many
@ -44,22 +43,19 @@ export OPT_JAR_LIST=:
jar umf %{SOURCE2} build/%{name}.jar jar umf %{SOURCE2} build/%{name}.jar
%install %install
install -d -m 755 %{buildroot}%{_javadir} %mvn_file : %{name}
install -d -m 755 %{buildroot}%{_mavenpomdir} %mvn_artifact %{SOURCE1} build/%{name}.jar
install -p -m 644 build/%{name}.jar %{buildroot}%{_javadir}/
install -p -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap
# javadoc %mvn_install -J build/javadoc
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr build/javadoc/* %{buildroot}%{_javadocdir}/%{name}
%files -f .mfiles %files -f .mfiles
%files javadoc %files javadoc -f .mfiles-javadoc
%{_javadocdir}/%{name}
%changelog %changelog
* Wed Mar 22 2017 Michael Simacek <msimacek@redhat.com> - 0:1.0-14
- Install with XMvn
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.0-13 * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.0-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild