[RPM (6.0)] [DIST generic] jsr311-1.1.1-api-1.1.1-2.jpp6

Ralph Apel <[email protected]> Tue, 5 Feb 2013 16:23:31 +0100
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : jsr311-1.1.1-api             Relocations: (not relocatable)
Version     : 1.1.1                             Vendor: JPackage Project
Release     : 2.jpp6                        Build Date: Tue 05 Feb 2013 04:21:28 PM CET
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries/Java    Source RPM: (none)
Size        : 54870                            License: CDDL
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : https://jsr311.dev.java.net/
Summary     : JAX-RS: Java API for RESTful Web Services
Description :
JAX-RS: Java API for RESTful Web Services.

---------------
Ralph Apel <[email protected]> 0:1.1.1-2
- Prevent xzpayload problem
- Drop gcj support
---------------
jsr311-1.1.1-api.src:56: W: unversioned-explicit-provides jsr311_api
jsr311-1.1.1-api.src:57: W: unversioned-explicit-provides jsr311_1_1_1_api
jsr311-1.1.1-api.src: W: source-or-patch-not-bzipped jsr311-1.1.1-pom-xml.patch
jsr311-1.1.1-api.src: W: no-signature
jsr311-1.1.1-api.src: W: mixed-use-of-spaces-and-tabs (spaces: line 37, tab: line 124)
jsr311-1.1.1-api.src:217: W: macro-in-%changelog %{Summary}
jsr311-1.1.1-api.src: W: invalid-license CDDL
1 packages and 0 specfiles checked; 0 errors, 7 warnings.

---------------
Index: jsr311-1.1.1-api.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/jsr311-1.1.1-api/jsr311-1.1.1-api.spec,v
retrieving revision 1.1
diff -u -r1.1 jsr311-1.1.1-api.spec
--- jsr311-1.1.1-api.spec	15 Jan 2013 16:48:35 -0000	1.1
+++ jsr311-1.1.1-api.spec	5 Feb 2013 15:23:30 -0000
@@ -28,13 +28,15 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
-
 %define section free
+%define _binary_payload w9.gzdio
+%define _source_payload w9.gzdio
+%define _binary_filedigest_algorithm 1
+%define _source_filedigest_algorithm 1
 
 Name:           jsr311-1.1.1-api
 Version:        1.1.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Epoch:          0
 Summary:        JAX-RS: Java API for RESTful Web Services
 License:        CDDL
@@ -85,13 +87,6 @@
 Requires(postun):  jpackage-utils >= 0:1.7.5
 Requires:  java >= 0:1.6.0
 
-%if %{gcj_support}
-BuildRequires:          java-gcj-compat-devel
-Requires(post):         java-gcj-compat
-Requires(postun):       java-gcj-compat
-%endif
-
-
 %description
 %{summary}.
 
@@ -162,11 +157,6 @@
 %{__cp} -pr target/apidocs/* %{buildroot}%{_javadocdir}/%{name}-%{version}
 (cd %{buildroot}%{_javadocdir} && ln -sf %{name}-%{version} %{name})
 
-%if %{gcj_support}
-%{_bindir}/aot-compile-rpm
-%endif
-
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -176,12 +166,6 @@
 %{_sbindir}/update-alternatives --install %{_javadir}/jsr311-api.jar jsr311-api %{_javadir}/jsr311-1.1.1-api.jar 10101
 %{_sbindir}/update-alternatives --install %{_javadir}/jsr311_api.jar jsr311_api %{_javadir}/jsr311-1.1.1-api.jar 10101
 %{_sbindir}/update-alternatives --install %{_javadir}/jsr311_1_1_1_api.jar jsr311_1_1_1_api %{_javadir}/jsr311-1.1.1-api.jar 10101
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %preun
 if [ "$1" = "0" ]; then
@@ -193,12 +177,6 @@
 
 %postun
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %files
 %defattr(-,root,root,-)
@@ -214,13 +192,8 @@
 %{_javadir}/%{name}-javadoc.jar
 %{_javadir}/%{name}-%{version}-javadoc.jar
 
-
 %{_datadir}/maven2/poms/JPP.%{name}.pom
 %{_mavendepmapfragdir}/%{name}
-%if %{gcj_support}
-%dir %{_libdir}/gcj/%{name}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/*
-%endif
 
 %files javadoc
 %defattr(0644,root,root,0755)
@@ -228,6 +201,10 @@
 %{_javadocdir}/%{name}
 
 %changelog
+* Tue Feb 05 2013 Ralph Apel <[email protected]> 0:1.1.1-2
+- Prevent xzpayload problem
+- Drop gcj support
+
 * Tue Jan 15 2013 Ralph Apel <[email protected]> 0:1.1.1-1
 - 1.1.1
 - Move javadoc jar to _javadir