Install with XMvn
This commit is contained in:
parent
e99e3e09d4
commit
58fc428480
@ -1,6 +1,6 @@
|
||||
Name: aopalliance
|
||||
Version: 1.0
|
||||
Release: 13%{?dist}
|
||||
Release: 14%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Java/J2EE AOP standards
|
||||
License: Public Domain
|
||||
@ -15,7 +15,6 @@ Source2: %{name}-MANIFEST.MF
|
||||
|
||||
BuildRequires: ant
|
||||
BuildRequires: javapackages-local
|
||||
Requires: java-headless
|
||||
|
||||
%description
|
||||
Aspect-Oriented Programming (AOP) offers a better solution to many
|
||||
@ -44,22 +43,19 @@ export OPT_JAR_LIST=:
|
||||
jar umf %{SOURCE2} build/%{name}.jar
|
||||
|
||||
%install
|
||||
install -d -m 755 %{buildroot}%{_javadir}
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -p -m 644 build/%{name}.jar %{buildroot}%{_javadir}/
|
||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%add_maven_depmap
|
||||
%mvn_file : %{name}
|
||||
%mvn_artifact %{SOURCE1} build/%{name}.jar
|
||||
|
||||
# javadoc
|
||||
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
|
||||
cp -pr build/javadoc/* %{buildroot}%{_javadocdir}/%{name}
|
||||
%mvn_install -J build/javadoc
|
||||
|
||||
%files -f .mfiles
|
||||
|
||||
%files javadoc
|
||||
%{_javadocdir}/%{name}
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user