Use %{_mavenpomdir} too
This commit is contained in:
parent
6591277db9
commit
e78c1f7e98
@ -118,8 +118,8 @@ popd
|
||||
|
||||
# Install the pom after inserting the correct version number
|
||||
sed 's/UPSTREAM_VERSION/%{upstreamver}/g' %{SOURCE1} >JPP-postgresql-jdbc.pom
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms/
|
||||
install -m 644 JPP-postgresql-jdbc.pom $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-postgresql-jdbc.pom
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}/
|
||||
install -m 644 JPP-postgresql-jdbc.pom $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-postgresql-jdbc.pom
|
||||
%add_to_maven_depmap postgresql postgresql %{version} JPP postgresql-jdbc
|
||||
|
||||
%clean
|
||||
|
Loading…
Reference in New Issue
Block a user