[geronimo-jpa] Add javax.mail provides and directory
Stanislav Ochotnicky
sochotni at fedoraproject.org
Mon Aug 12 13:45:38 UTC 2013
commit c573f09112873a65e472fc5615663f378cc27720
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date: Mon Aug 12 15:45:28 2013 +0200
Add javax.mail provides and directory
geronimo-jpa.spec | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/geronimo-jpa.spec b/geronimo-jpa.spec
index 958e69c..f6ffeb4 100644
--- a/geronimo-jpa.spec
+++ b/geronimo-jpa.spec
@@ -3,10 +3,9 @@
Name: geronimo-jpa
Version: 1.1.1
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: Java persistence API implementation
-Group: Development/Libraries
License: ASL 2.0
URL: http://geronimo.apache.org/
# Unfortunately no source release was created in
@@ -24,6 +23,7 @@ BuildRequires: geronimo-parent-poms
BuildRequires: maven-resources-plugin
Provides: jpa_api = %{spec_ver}
+Provides: javax.persistence = %{spec_ver}
%description
@@ -35,7 +35,6 @@ one implementation of this specification.
%package javadoc
Summary: API documentation for %{name}
-Group: Documentation
%description javadoc
%{summary}.
@@ -51,19 +50,21 @@ Group: Documentation
%install
%mvn_install
-%pre javadoc
-# workaround for rpm bug, can be removed in F-20
-[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
-rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
+install -d -m 755 %{buildroot}%{_javadir}/javax.persistence/
+ln -sf ../%{name}.jar %{buildroot}%{_javadir}/javax.persistence/
%files -f .mfiles
%doc LICENSE.txt NOTICE.txt
+%{_javadir}/javax.persistence/
%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt NOTICE.txt
%changelog
+* Mon Aug 12 2013 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.1.1-13
+- Add javax.mail provides and directory
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list