Fix mistake in mvn_artifact invocation

This commit is contained in:
Michael Simacek 2017-03-22 11:01:23 +01:00
parent 5d5cb73d10
commit 7e851ac448

View File

@ -30,7 +30,7 @@
Name: hamcrest
Version: 1.3
Release: 19%{?dist}
Release: 20%{?dist}
Epoch: 0
Summary: Library of matchers for building test expressions
License: BSD
@ -159,7 +159,7 @@ sed -i 's/@VERSION@/%{version}/g' pom/*.pom
%mvn_artifact pom/hamcrest-parent.pom
for mod in all core generator library integration; do
%mvn_artifact pom/hamcrest-$mod.pom build/%{name}-all-%{version}.jar
%mvn_artifact pom/hamcrest-$mod.pom build/%{name}-$mod-%{version}.jar
done
# hamcrest-text doesn't have a pom
@ -188,6 +188,9 @@ cp -pr %{name}-examples $RPM_BUILD_ROOT%{_datadir}/%{name}/
%{_datadir}/%{name}
%changelog
* Wed Mar 22 2017 Michael Simacek <msimacek@redhat.com> - 0:1.3-20
- Fix mistake in mvn_artifact invocation
* Tue Mar 21 2017 Michael Simacek <msimacek@redhat.com> - 0:1.3-19
- Install with XMvn
- Update upstream URL