[hibernate-jpa-2.0-api] Fixed encoding

Marek Goldmann goldmann at fedoraproject.org
Sun Jan 15 14:55:43 UTC 2012


commit 197f9501c50dc27d4e03c359ed406ad65ab08892
Author: Marek Goldmann <goldmann at fedoraproject.org>
Date:   Sun Jan 15 09:54:59 2012 -0500

    Fixed encoding

 hibernate-jpa-2.0-api-1.0.1.Final-encoding.patch |   49 ++++++++++++++++++++++
 hibernate-jpa-2.0-api.spec                       |    7 +++-
 2 files changed, 55 insertions(+), 1 deletions(-)
---
diff --git a/hibernate-jpa-2.0-api-1.0.1.Final-encoding.patch b/hibernate-jpa-2.0-api-1.0.1.Final-encoding.patch
new file mode 100644
index 0000000..42ef226
--- /dev/null
+++ b/hibernate-jpa-2.0-api-1.0.1.Final-encoding.patch
@@ -0,0 +1,49 @@
+diff -Naur hibernate-jpa-2.0-api-1.0.1.Final/src/main/java/javax/persistence/EntityManager.java hibernate-jpa-2.0-api-1.0.1.Final-work/src/main/java/javax/persistence/EntityManager.java
+--- hibernate-jpa-2.0-api-1.0.1.Final/src/main/java/javax/persistence/EntityManager.java	2011-06-13 05:58:51.000000000 -0400
++++ hibernate-jpa-2.0-api-1.0.1.Final-work/src/main/java/javax/persistence/EntityManager.java	2012-01-15 09:49:01.036261572 -0500
+@@ -103,7 +103,7 @@
+      *         not exist
+      * @throws IllegalArgumentException if the first argument does
+      *         not denote an entity type or the second argument is
+-     *         is not a valid type for that entity’s primary key or
++     *         is not a valid type for that entity's primary key or
+      *         is null
+      */
+     public <T> T find(Class<T> entityClass, Object primaryKey);
+@@ -123,7 +123,7 @@
+      *         not exist
+      * @throws IllegalArgumentException if the first argument does
+      *         not denote an entity type or the second argument is
+-     *         is not a valid type for that entity’s primary key or
++     *         is not a valid type for that entity's primary key or
+      *         is null
+      * @since Java Persistence 2.0
+      */
+@@ -244,7 +244,7 @@
+      * @return the found entity instance
+      * @throws IllegalArgumentException if the first argument does
+      *         not denote an entity type or the second argument is
+-     *         not a valid type for that entity’s primary key or
++     *         not a valid type for that entity's primary key or
+      *         is null
+      * @throws EntityNotFoundException if the entity state
+      *         cannot be accessed
+@@ -722,4 +722,4 @@
+      * @since Java Persistence 2.0
+      */
+     public Metamodel getMetamodel();
+-}
+\ No newline at end of file
++}
+diff -Naur hibernate-jpa-2.0-api-1.0.1.Final/src/main/java/javax/persistence/MapsId.java hibernate-jpa-2.0-api-1.0.1.Final-work/src/main/java/javax/persistence/MapsId.java
+--- hibernate-jpa-2.0-api-1.0.1.Final/src/main/java/javax/persistence/MapsId.java	2011-06-13 05:58:51.000000000 -0400
++++ hibernate-jpa-2.0-api-1.0.1.Final-work/src/main/java/javax/persistence/MapsId.java	2012-01-15 09:49:25.292274457 -0500
+@@ -72,7 +72,7 @@
+     /**
+      * (Optional) The name of the attribute within the composite key
+      * to which the relationship attribute corresponds.  If not
+-     * supplied, the relationship maps the entity’s primary
++     * supplied, the relationship maps the entity's primary
+      * key.
+      */
+    String value() default "";
diff --git a/hibernate-jpa-2.0-api.spec b/hibernate-jpa-2.0-api.spec
index 31772c5..78c8e91 100644
--- a/hibernate-jpa-2.0-api.spec
+++ b/hibernate-jpa-2.0-api.spec
@@ -3,7 +3,7 @@
 
 Name:             hibernate-jpa-2.0-api
 Version:          1.0.1
-Release:          3%{?dist}
+Release:          4%{?dist}
 Summary:          Java Persistence 2.0 (JSR 317) API
 
 Group:            Development/Libraries
@@ -13,6 +13,7 @@ URL:              http://www.hibernate.org/
 # svn export http://anonsvn.jboss.org/repos/hibernate/jpa-api/tags/hibernate-jpa-2.0-api-1.0.1.Final/ hibernate-jpa-2.0-api-1.0.1.Final
 # tar -zcvf hibernate-jpa-2.0-api-1.0.1.Final.tar.gz hibernate-jpa-2.0-api-1.0.1.Final
 Source0:          %{name}-%{namedversion}.tar.gz
+Patch0:           %{name}-%{namedversion}-encoding.patch
 
 BuildArch:        noarch
 
@@ -45,6 +46,7 @@ This package contains the API documentation for %{name}.
 
 %prep
 %setup -q -n %{name}-%{namedversion}
+%patch0 -p1
 
 %build
 mvn-rpmbuild install javadoc:aggregate
@@ -76,6 +78,9 @@ install -pm 644 pom.xml  \
 %doc license.txt
 
 %changelog
+* Sun Jan 15 2012 Marek Goldmann <mgoldman at redhat.com> 1.0.1-4
+- Fixed encoding
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list