[java-sig-commits] [velocity] Add compatibility depmap
Stanislav Ochotnicky
sochotni at fedoraproject.org
Fri Dec 17 14:51:04 UTC 2010
commit 4709dae24ca99ce367966ceca5dec5a780d10780
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date: Fri Dec 17 15:44:11 2010 +0100
Add compatibility depmap
velocity.spec | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/velocity.spec b/velocity.spec
index e03392e..a88ec98 100644
--- a/velocity.spec
+++ b/velocity.spec
@@ -30,7 +30,7 @@
Name: velocity
Version: 1.6.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 0
Summary: Java-based template engine
License: ASL 2.0
@@ -76,7 +76,6 @@ BuildRequires: jpackage-utils
# It fails one of the arithmetic test cases with gcj
BuildRequires: java-devel >= 1:1.6.0
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%description
Velocity is a Java-based template engine. It permits anyone to use the
@@ -186,7 +185,6 @@ install -p -m 644 bin/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
# javadoc
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr docs/api/* %{buildroot}%{_javadocdir}/%{name}
-rm -rf docs/api
# data
install -d -m 755 %{buildroot}%{_datadir}/%{name}
@@ -195,6 +193,7 @@ cp -pr convert examples test %{buildroot}%{_datadir}/%{name}
# Maven metadata
install -pD -T -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%add_to_maven_depmap org.apache.velocity %{name} %{version} JPP %{name}
+%add_to_maven_depmap %{name} %{name} %{version} JPP %{name}
# -----------------------------------------------------------------------------
@@ -204,9 +203,6 @@ install -pD -T -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%postun
%update_maven_depmap
-%clean
-rm -rf %{buildroot}
-
# -----------------------------------------------------------------------------
%files
@@ -232,6 +228,9 @@ rm -rf %{buildroot}
%{_datadir}/%{name}
%changelog
+* Fri Dec 17 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 0:1.6.4-2
+- Add compatibility depmap
+
* Wed Nov 3 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 0:1.6.4-1
- Rebase to latest upstream
- Fix problems from bz#226525
More information about the java-sig-commits
mailing list