[junit] Fix version in pom.xml (#998266)
Stanislav Ochotnicky
sochotni at fedoraproject.org
Mon Aug 19 10:25:53 UTC 2013
commit ae622ffb4bdcc3eaac68f119af8a6ee571c311ca
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date: Mon Aug 19 12:25:21 2013 +0200
Fix version in pom.xml (#998266)
junit.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
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 <sochotnicky at redhat.com> - 0:4.11-6
+- Fix version in pom.xml (#998266)
+
* Fri Aug 02 2013 Michal Srb <msrb at redhat.com> - 0:4.11-5
- Add create-tarball.sh script to SRPM
More information about the scm-commits
mailing list