commit 64328753f4015b01c314674514d88f74f3adb283
Author: gil <puntogil(a)libero.it>
Date: Sun Feb 1 15:41:15 2015 +0100
introduce license macro
eclipselink-persistence-api.spec | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/eclipselink-persistence-api.spec b/eclipselink-persistence-api.spec
index 12ac437..4babae8 100644
--- a/eclipselink-persistence-api.spec
+++ b/eclipselink-persistence-api.spec
@@ -3,7 +3,7 @@
%global namedversion %{version}%{?namedreltag}
Name: eclipselink-persistence-api
Version: 2.0.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: JPA 2.0 Spec OSGi Bundle
License: EPL and ASL 2.0
URL:
http://www.eclipse.org/eclipselink/
@@ -14,10 +14,7 @@ Source1:
http://maven.eclipse.org/nexus/content/repositories/build/org/ecl
# add maven-bundle-plugin conf
Patch0: %{name}-2.0.5-build.patch
-BuildRequires: java-devel
-
BuildRequires: mvn(org.eclipse.osgi:org.eclipse.osgi)
-
BuildRequires: maven-local
BuildRequires: maven-plugin-bundle
@@ -64,21 +61,26 @@ for s in src/main/java/javax/persistence/EntityManager.java\
native2ascii -encoding UTF8 ${s} ${s}
done
+%mvn_file :%{oname} %{name}
+
%build
-%mvn_file :%{oname} %{name}
%mvn_build
%install
%mvn_install
%files -f .mfiles
-%doc *.html
+%doc about.html readme.html
+%license license.html
%files javadoc -f .mfiles-javadoc
-%doc license.html
+%license license.html
%changelog
+* Sun Feb 01 2015 gil cattaneo <puntogil(a)libero.it> 2.0.5-4
+- introduce license macro
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
2.0.5-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild