Package init
This commit is contained in:
parent
fd65ab69db
commit
d535f019b8
49
hibernate-jpa-2.0-api-1.0.1.Final-encoding.patch
Normal file
49
hibernate-jpa-2.0-api-1.0.1.Final-encoding.patch
Normal file
@ -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 entitys 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 entitys 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 entitys 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 entitys primary
|
||||
+ * supplied, the relationship maps the entity's primary
|
||||
* key.
|
||||
*/
|
||||
String value() default "";
|
||||
13
hibernate-jpa-2.0-api-1.0.1.Final-osgi-manifest.patch
Normal file
13
hibernate-jpa-2.0-api-1.0.1.Final-osgi-manifest.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- hibernate-jpa-2.0-api-1.0.1.Final/pom.xml.orig 2011-06-15 03:35:58.602491000 +0100
|
||||
+++ hibernate-jpa-2.0-api-1.0.1.Final/pom.xml 2012-06-19 13:50:00.920020067 +0100
|
||||
@@ -127,6 +127,10 @@
|
||||
<Implementation-Version>${pom.version}</Implementation-Version>
|
||||
<Implementation-Vendor>hibernate.org</Implementation-Vendor>
|
||||
<Implementation-Title>JPA API</Implementation-Title>
|
||||
+ <Bundle-Name>hibernate-jpa-2.0-api</Bundle-Name>
|
||||
+ <Bundle-SymbolicName>org.hibernate.javax.persistence</Bundle-SymbolicName>
|
||||
+ <Export-Package>javax.persistence, javax.persistence.spi</Export-Package>
|
||||
+ <Bundle-Version>${pom.version}</Bundle-Version>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
BIN
hibernate-jpa-2.0-api-1.0.1.Final.tar.gz
Normal file
BIN
hibernate-jpa-2.0-api-1.0.1.Final.tar.gz
Normal file
Binary file not shown.
48
hibernate-jpa-2.0-api.spec
Normal file
48
hibernate-jpa-2.0-api.spec
Normal file
@ -0,0 +1,48 @@
|
||||
%global namedreltag .Final
|
||||
%global namedversion %{version}%{?namedreltag}
|
||||
Name: hibernate-jpa-2.0-api
|
||||
Version: 1.0.1
|
||||
Release: 1
|
||||
Summary: Java Persistence 2.0 (JSR 317) API
|
||||
License: EPL and BSD
|
||||
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
|
||||
Patch1: %{name}-%{namedversion}-osgi-manifest.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: maven-local maven-release-plugin
|
||||
%description
|
||||
Hibernate definition of the Java Persistence 2.0 (JSR 317) API.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
%description javadoc
|
||||
This package contains the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{namedversion}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%pom_xpath_remove pom:build/pom:extensions
|
||||
%pom_remove_plugin :maven-source-plugin
|
||||
sed -i 's/\r//' src/main/javadoc/jdstyle.css
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
sed -i 's/\r//' target/site/apidocs/jdstyle.css
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%doc readme.txt
|
||||
%license license.txt
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license license.txt
|
||||
|
||||
%changelog
|
||||
* Sat Aug 22 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.0.1-1
|
||||
- package init
|
||||
4
hibernate-jpa-2.0-api.yaml
Normal file
4
hibernate-jpa-2.0-api.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: NA
|
||||
src_repo: NA
|
||||
tag_prefix: NA
|
||||
seperator: NA
|
||||
Loading…
x
Reference in New Issue
Block a user