From ae622ffb4bdcc3eaac68f119af8a6ee571c311ca Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Mon, 19 Aug 2013 12:25:21 +0200 Subject: [PATCH] Fix version in pom.xml (#998266) --- junit.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/junit.spec b/junit.spec index d8dbf15..b2134cd 100644 --- a/junit.spec +++ b/junit.spec @@ -30,7 +30,7 @@ Name: junit Version: 4.11 -Release: 5%{?dist} +Release: 6%{?dist} Epoch: 0 Summary: Java regression test package License: CPL @@ -97,7 +97,11 @@ Demonstrations and samples for %{name}. %prep %setup -q -n %{name}-r%{version} %patch0 -p1 + cp build/maven/junit-pom-template.xml pom.xml +# fix placeholder version in pom +%pom_xpath_set pom:project/pom:version "%{version}" + ln -s $(build-classpath hamcrest/core) lib/hamcrest-core-1.3.jar %build @@ -151,6 +155,9 @@ cp -pr %{name}%{version}-SNAPSHOT/%{name}/* %{buildroot}%{_datadir}/%{name}/demo %doc junit%{version}-SNAPSHOT/doc/* %changelog +* Mon Aug 19 2013 Stanislav Ochotnicky - 0:4.11-6 +- Fix version in pom.xml (#998266) + * Fri Aug 02 2013 Michal Srb - 0:4.11-5 - Add create-tarball.sh script to SRPM