Install POM files to %{_mavenpomdir}

This commit is contained in:
Mikolaj Izdebski 2013-07-10 15:32:40 +02:00
parent c3cf194a1e
commit 354ec46f5b

View File

@ -143,11 +143,11 @@ done
%add_to_maven_depmap %{name} %{name}-bsf %{version} JPP %{name}-bsf %add_to_maven_depmap %{name} %{name}-bsf %{version} JPP %{name}-bsf
# poms # poms
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
install -pm 644 %{SOURCE1} \ install -pm 644 %{SOURCE1} \
$RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
install -pm 644 %{SOURCE2} \ install -pm 644 %{SOURCE2} \
$RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}-bsf.pom $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}-bsf.pom
# manual # manual
find docs -name ".cvswrappers" -exec rm -f {} \; find docs -name ".cvswrappers" -exec rm -f {} \;
@ -230,7 +230,7 @@ fi
%{_javadir}/* %{_javadir}/*
%dir %{_datadir}/%{name} %dir %{_datadir}/%{name}
%{_datadir}/%{name}/webapps %{_datadir}/%{name}/webapps
%{_datadir}/maven2/poms/* %{_mavenpomdir}/*
%{_mavendepmapfragdir}/%{name} %{_mavendepmapfragdir}/%{name}
%files manual %files manual
@ -257,6 +257,7 @@ fi
- Remove Requires on coreutils - Remove Requires on coreutils
- Generate custom scripts with %%jpackage_script - Generate custom scripts with %%jpackage_script
- Install versionless JARs only - Install versionless JARs only
- Install POM files to %%{_mavenpomdir}
* Thu Jun 06 2013 Michal Srb <msrb@redhat.com> - 0:1.3.0-25 * Thu Jun 06 2013 Michal Srb <msrb@redhat.com> - 0:1.3.0-25
- Enable tests - Enable tests