diff --git a/geronimo-specs.changes b/geronimo-specs.changes index 8e01dd1..231e58b 100644 --- a/geronimo-specs.changes +++ b/geronimo-specs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 3 14:09:38 UTC 2013 - mvyskocil@suse.com + +- use add_maven_depmap from javapackages-tools + ------------------------------------------------------------------- Mon Dec 17 12:37:31 UTC 2012 - mvyskocil@suse.com diff --git a/geronimo-specs.spec b/geronimo-specs.spec index 9b731cb..2078f12 100644 --- a/geronimo-specs.spec +++ b/geronimo-specs.spec @@ -1,7 +1,7 @@ # # spec file for package geronimo-specs # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -125,7 +125,7 @@ Patch3: geronimo-specs-servlet-2.4-pom_xml.patch Patch4: geronimo-specs-j2ee-1.4-pom_xml.patch Patch5: geronimo-specs-corba-2.3-pom_xml.patch BuildRequires: java-devel >= 1.5.0 -BuildRequires: jpackage-utils >= 1.7.2 +BuildRequires: javapackages-tools %if %{with_maven} BuildRequires: maven-shared-file-management BuildRequires: maven2 >= 2.0.4 @@ -981,463 +981,499 @@ ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \ %install # Directory for poms -install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms +install -d -m 0755 %{buildroot}/%{_mavenpomdir} # subpackage jars -install -d -m 755 $RPM_BUILD_ROOT%{_javadir} +install -d -m 755 %{buildroot}%{_javadir} install -m 0644 \ geronimo-activation_1.0.2_spec-1.2/target/geronimo-activation_1.0.2_spec-1.2.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-jaf-1.0.2-api-%{sver_activation_1_0_2}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-jaf-1.0.2-api-%{sver_activation_1_0_2}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-jaf-1.0.2-api-%{sver_activation_1_0_2}.jar \ geronimo-jaf-1.0.2-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/jaf.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jaf_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jaf_1_0_2_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jaf.jar # for %ghost +touch %{buildroot}%{_javadir}/jaf_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jaf_1_0_2_api.jar # for %ghost install -m 0644 geronimo-activation_1.0.2_spec-1.2/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-jaf-1.0.2-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-activation_1.0.2_spec %{sver_activation_1_0_2} JPP geronimo-jaf-1.0.2-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-jaf-1.0.2-api.pom +%add_maven_depmap JPP-geronimo-jaf-1.0.2-api.pom geronimo-jaf-1.0.2-api.jar + install -m 0644 \ geronimo-activation_1.1_spec-1.0/target/geronimo-activation_1.1_spec-1.0.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-jaf-1.1-api-%{sver_activation_1_1}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-jaf-1.1-api-%{sver_activation_1_1}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-jaf-1.1-api-%{sver_activation_1_1}.jar \ geronimo-jaf-1.1-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/jaf.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jaf_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jaf_1_1_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jaf.jar # for %ghost +touch %{buildroot}%{_javadir}/jaf_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jaf_1_1_api.jar # for %ghost install -m 0644 geronimo-activation_1.1_spec-1.0/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-jaf-1.1-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-activation_1.1_spec %{sver_activation_1_1} JPP geronimo-jaf-1.1-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-jaf-1.1-api.pom +%add_maven_depmap JPP-geronimo-jaf-1.1-api.pom geronimo-jaf-1.1-api.jar + install -m 0644 \ geronimo-annotation_1.0_spec-1.1.0/target/geronimo-annotation_1.0_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-annotation-1.0-api-%{sver_annotation_1_0}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-annotation-1.0-api-%{sver_annotation_1_0}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-annotation-1.0-api-%{sver_annotation_1_0}.jar \ geronimo-annotation-1.0-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/annotation_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/annotation_1_0_api.jar # for %ghost +touch %{buildroot}%{_javadir}/annotation_api.jar # for %ghost +touch %{buildroot}%{_javadir}/annotation_1_0_api.jar # for %ghost install -m 0644 geronimo-annotation_1.0_spec-1.1.0/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-annotation-1.0-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-annotation_1.0_spec %{sver_annotation_1_0} JPP geronimo-annotation-1.0-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-annotation-1.0-api.pom +%add_maven_depmap JPP-geronimo-annotation-1.0-api.pom geronimo-annotation-1.0-api.jar + install -m 0644 \ geronimo-spec-corba-2.3/target/geronimo-corba_2.3_spec-null.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-corba-2.3-apis-%{sver_corba_2_3}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-corba-2.3-apis-%{sver_corba_2_3}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-corba-2.3-apis-%{sver_corba_2_3}.jar \ geronimo-corba-2.3-apis.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/corba_apis.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/corba_2_3_apis.jar # for %ghost +touch %{buildroot}%{_javadir}/corba_apis.jar # for %ghost +touch %{buildroot}%{_javadir}/corba_2_3_apis.jar # for %ghost install -m 0644 geronimo-spec-corba-2.3/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-corba-2.3-apis.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-corba_2.3_spec %{sver_corba_2_3} JPP geronimo-corba-2.3-apis + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-corba-2.3-apis.pom +%add_maven_depmap JPP-geronimo-corba-2.3-apis.pom geronimo-corba-2.3-apis.jar + #install -m 0644 \ # geronimo-spec-corba-3.0/target/geronimo-corba_3.0_spec-null.jar \ -# $RPM_BUILD_ROOT%{_javadir}/geronimo-corba-3.0-apis-%{sver_corba_3_0}.jar -#pushd $RPM_BUILD_ROOT%{_javadir} +# %{buildroot}%{_javadir}/geronimo-corba-3.0-apis-%{sver_corba_3_0}.jar +#pushd %{buildroot}%{_javadir} # ln -sf geronimo-corba-3.0-apis-%{sver_corba_3_0}.jar \ # geronimo-corba-3.0-apis.jar #popd -#touch $RPM_BUILD_ROOT%{_javadir}/corba_apis.jar # for %ghost -#touch $RPM_BUILD_ROOT%{_javadir}/corba_3_0_apis.jar # for %ghost +#touch %{buildroot}%{_javadir}/corba_apis.jar # for %ghost +#touch %{buildroot}%{_javadir}/corba_3_0_apis.jar # for %ghost #install -m 0644 geronimo-spec-corba-3.0/pom.xml \ -# $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-corba-3.0-apis.pom +# %{buildroot}/%{_mavenpomdir}/JPP-geronimo-corba-3.0-apis.pom #%add_to_maven_depmap org.apache.geronimo.specs geronimo-corba_3.0_spec %{sver_corba_3_0} JPP geronimo-corba-3.0-apis + install -m 0644 \ geronimo-spec-corba/target/geronimo-spec-corba-null.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-corba-1.0-apis-%{sver_corba_1_0}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-corba-1.0-apis-%{sver_corba_1_0}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-corba-1.0-apis-%{sver_corba_1_0}.jar \ geronimo-corba-1.0-apis.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/corba_apis.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/corba_1_0_apis.jar # for %ghost +touch %{buildroot}%{_javadir}/corba_apis.jar # for %ghost +touch %{buildroot}%{_javadir}/corba_1_0_apis.jar # for %ghost install -m 0644 geronimo-spec-corba/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-corba-1.0-apis.pom -%add_to_maven_depmap geronimo-spec geronimo-spec-corba %{sver_corba_1_0} JPP geronimo-corba-1.0-apis + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-corba-1.0-apis.pom +%add_maven_depmap JPP-geronimo-corba-1.0-apis.pom geronimo-corba-1.0-apis.jar + install -m 0644 \ geronimo-ejb_2.1_spec-1.1/target/geronimo-ejb_2.1_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-ejb-2.1-api-%{sver_ejb_2_1}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-ejb-2.1-api-%{sver_ejb_2_1}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-ejb-2.1-api-%{sver_ejb_2_1}.jar \ geronimo-ejb-2.1-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/ejb.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/ejb_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/ejb_2_1_api.jar # for %ghost +touch %{buildroot}%{_javadir}/ejb.jar # for %ghost +touch %{buildroot}%{_javadir}/ejb_api.jar # for %ghost +touch %{buildroot}%{_javadir}/ejb_2_1_api.jar # for %ghost install -m 0644 geronimo-ejb_2.1_spec-1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-ejb-2.1-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-ejb_2.1_spec %{sver_ejb_2_1} JPP geronimo-ejb-2.1-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-ejb-2.1-api.pom +%add_maven_depmap JPP-geronimo-ejb-2.1-api.pom geronimo-ejb-2.1-api.jar + install -m 0644 \ geronimo-ejb_3.0_spec-1.0/target/geronimo-ejb_3.0_spec-1.0.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-ejb-3.0-api-%{sver_ejb_3_0}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-ejb-3.0-api-%{sver_ejb_3_0}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-ejb-3.0-api-%{sver_ejb_3_0}.jar \ geronimo-ejb-3.0-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/ejb.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/ejb_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/ejb_3_0_api.jar # for %ghost +touch %{buildroot}%{_javadir}/ejb.jar # for %ghost +touch %{buildroot}%{_javadir}/ejb_api.jar # for %ghost +touch %{buildroot}%{_javadir}/ejb_3_0_api.jar # for %ghost install -m 0644 geronimo-ejb_3.0_spec-1.0/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-ejb-3.0-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-ejb_3.0_spec %{sver_ejb_3_0} JPP geronimo-ejb-3.0-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-ejb-3.0-api.pom +%add_maven_depmap JPP-geronimo-ejb-3.0-api.pom geronimo-ejb-3.0-api.jar + install -m 0644 \ geronimo-el_1.0_spec-1.0/target/geronimo-el_1.0_spec-1.0.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-el-1.0-api-%{sver_el_1_0}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-el-1.0-api-%{sver_el_1_0}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-el-1.0-api-%{sver_el_1_0}.jar \ geronimo-el-1.0-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/el_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/el_1_0_api.jar # for %ghost +touch %{buildroot}%{_javadir}/el_api.jar # for %ghost +touch %{buildroot}%{_javadir}/el_1_0_api.jar # for %ghost install -m 0644 geronimo-el_1.0_spec-1.0/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-el-1.0-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-el_1.0_spec %{sver_el_1_0} JPP geronimo-el-1.0-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-el-1.0-api.pom +%add_maven_depmap JPP-geronimo-el-1.0-api.pom geronimo-el-1.0-api.jar + install -m 0644 \ geronimo-interceptor_3.0_spec-1.0/target/geronimo-interceptor_3.0_spec-1.0.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-interceptor-3.0-api-%{sver_interceptor_3_0}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-interceptor-3.0-api-%{sver_interceptor_3_0}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-interceptor-3.0-api-%{sver_interceptor_3_0}.jar \ geronimo-interceptor-3.0-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/interceptor_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/interceptor_3_0_api.jar # for %ghost +touch %{buildroot}%{_javadir}/interceptor_api.jar # for %ghost +touch %{buildroot}%{_javadir}/interceptor_3_0_api.jar # for %ghost install -m 0644 geronimo-interceptor_3.0_spec-1.0/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-interceptor-3.0-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-interceptor_3.0_spec %{sver_interceptor_3_0} JPP geronimo-interceptor-3.0-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-interceptor-3.0-api.pom +%add_maven_depmap JPP-geronimo-interceptor-3.0-api.pom geronimo-interceptor-3.0-api.jar + install -m 0644 \ geronimo-j2ee-connector_1.5_spec-1.1.1/target/geronimo-j2ee-connector_1.5_spec-1.1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-j2ee-connector-1.5-api-%{sver_j2ee_connector_1_5}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-j2ee-connector-1.5-api-%{sver_j2ee_connector_1_5}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-j2ee-connector-1.5-api-%{sver_j2ee_connector_1_5}.jar \ geronimo-j2ee-connector-1.5-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/j2ee-connector.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/j2ee_connector_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/j2ee_connector_1_5_api.jar # for %ghost +touch %{buildroot}%{_javadir}/j2ee-connector.jar # for %ghost +touch %{buildroot}%{_javadir}/j2ee_connector_api.jar # for %ghost +touch %{buildroot}%{_javadir}/j2ee_connector_1_5_api.jar # for %ghost install -m 0644 geronimo-j2ee-connector_1.5_spec-1.1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-j2ee-connector-1.5-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-j2ee-connector_1.5_spec %{sver_j2ee_connector_1_5} JPP geronimo-j2ee-connector-1.5-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-j2ee-connector-1.5-api.pom +%add_maven_depmap JPP-geronimo-j2ee-connector-1.5-api.pom geronimo-j2ee-connector-1.5-api.jar + install -m 0644 \ geronimo-j2ee-deployment_1.1_spec-1.1/target/geronimo-j2ee-deployment_1.1_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-j2ee-deployment-1.1-api-%{sver_j2ee_deployment_1_1}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-j2ee-deployment-1.1-api-%{sver_j2ee_deployment_1_1}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-j2ee-deployment-1.1-api-%{sver_j2ee_deployment_1_1}.jar \ geronimo-j2ee-deployment-1.1-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/j2ee-deployment.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/j2ee_deployment_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/j2ee_deployment_1_1_api.jar # for %ghost +touch %{buildroot}%{_javadir}/j2ee-deployment.jar # for %ghost +touch %{buildroot}%{_javadir}/j2ee_deployment_api.jar # for %ghost +touch %{buildroot}%{_javadir}/j2ee_deployment_1_1_api.jar # for %ghost install -m 0644 geronimo-j2ee-deployment_1.1_spec-1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-j2ee-deployment-1.1-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-j2ee-deployment_1.1_spec %{sver_j2ee_deployment_1_1} JPP geronimo-j2ee-deployment-1.1-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-j2ee-deployment-1.1-api.pom +%add_maven_depmap JPP-geronimo-j2ee-deployment-1.1-api.pom geronimo-j2ee-deployment-1.1-api.jar + install -m 0644 \ geronimo-javaee-deployment_1.1MR3_spec-1.0/target/geronimo-javaee-deployment_1.1MR3_spec-1.0.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-javaee-deployment-1.1-api-%{sver_javaee_deployment_1_1MR3}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-javaee-deployment-1.1-api-%{sver_javaee_deployment_1_1MR3}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-javaee-deployment-1.1-api-%{sver_javaee_deployment_1_1MR3}.jar \ geronimo-javaee-deployment-1.1-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/javaee_deployment_1_1MR3_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/javaee_deployment_api.jar # for %ghost +touch %{buildroot}%{_javadir}/javaee_deployment_1_1MR3_api.jar # for %ghost +touch %{buildroot}%{_javadir}/javaee_deployment_api.jar # for %ghost install -m 0644 geronimo-javaee-deployment_1.1MR3_spec-1.0/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-javaee-deployment-1.1-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-javaee-deployment_1.1_spec %{sver_javaee_deployment_1_1MR3} JPP geronimo-javaee-deployment-1.1-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-javaee-deployment-1.1-api.pom +%add_maven_depmap JPP-geronimo-javaee-deployment-1.1-api.pom geronimo-javaee-deployment-1.1-api.jar + install -m 0644 \ geronimo-j2ee-jacc_1.0_spec-1.1/target/geronimo-j2ee-jacc_1.0_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-jacc-1.0-api-%{sver_j2ee_jacc_1_0}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-jacc-1.0-api-%{sver_j2ee_jacc_1_0}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-jacc-1.0-api-%{sver_j2ee_jacc_1_0}.jar \ geronimo-jacc-1.0-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/jacc.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jacc_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jacc_1_0_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jacc.jar # for %ghost +touch %{buildroot}%{_javadir}/jacc_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jacc_1_0_api.jar # for %ghost install -m 0644 geronimo-j2ee-jacc_1.0_spec-1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-jacc-1.0-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-j2ee-jacc_1.0_spec %{sver_j2ee_jacc_1_0} JPP geronimo-jacc-1.0-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-jacc-1.0-api.pom +%add_maven_depmap JPP-geronimo-jacc-1.0-api.pom geronimo-jacc-1.0-api.jar + install -m 0644 \ geronimo-jacc_1.1_spec-1.0/target/geronimo-jacc_1.1_spec-1.0.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-jacc-1.1-api-%{sver_jacc_1_1}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-jacc-1.1-api-%{sver_jacc_1_1}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-jacc-1.1-api-%{sver_jacc_1_1}.jar \ geronimo-jacc-1.1-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/jacc_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jacc_1_1_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jacc_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jacc_1_1_api.jar # for %ghost install -m 0644 geronimo-jacc_1.1_spec-1.0/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-jacc-1.1-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-j2ee-jacc_1.1_spec %{sver_jacc_1_1} JPP geronimo-jacc-1.1-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-jacc-1.1-api.pom +%add_maven_depmap JPP-geronimo-jacc-1.1-api.pom geronimo-jacc-1.1-api.jar + install -m 0644 \ geronimo-j2ee-management_1.0_spec-1.1/target/geronimo-j2ee-management_1.0_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-j2ee-management-1.0-api-%{sver_j2ee_management_1_0}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-j2ee-management-1.0-api-%{sver_j2ee_management_1_0}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-j2ee-management-1.0-api-%{sver_j2ee_management_1_0}.jar \ geronimo-j2ee-management-1.0-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/j2ee-management.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/j2ee_management_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/j2ee_management_1_0_api.jar # for %ghost +touch %{buildroot}%{_javadir}/j2ee-management.jar # for %ghost +touch %{buildroot}%{_javadir}/j2ee_management_api.jar # for %ghost +touch %{buildroot}%{_javadir}/j2ee_management_1_0_api.jar # for %ghost install -m 0644 geronimo-j2ee-management_1.0_spec-1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-j2ee-management-1.0-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-j2ee-management_1.0_spec %{sver_j2ee_management_1_0} JPP geronimo-j2ee-management-1.0-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-j2ee-management-1.0-api.pom +%add_maven_depmap JPP-geronimo-j2ee-management-1.0-api.pom geronimo-j2ee-management-1.0-api.jar + install -m 0644 \ geronimo-j2ee-management_1.1_spec-1.0/target/geronimo-j2ee-management_1.1_spec-1.0.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-j2ee-management-1.1-api-%{sver_j2ee_management_1_1}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-j2ee-management-1.1-api-%{sver_j2ee_management_1_1}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-j2ee-management-1.1-api-%{sver_j2ee_management_1_1}.jar \ geronimo-j2ee-management-1.1-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/j2ee-management.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/j2ee_management_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/j2ee_management_1_1_api.jar # for %ghost +touch %{buildroot}%{_javadir}/j2ee-management.jar # for %ghost +touch %{buildroot}%{_javadir}/j2ee_management_api.jar # for %ghost +touch %{buildroot}%{_javadir}/j2ee_management_1_1_api.jar # for %ghost install -m 0644 geronimo-j2ee-management_1.1_spec-1.0/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-j2ee-management-1.1-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-j2ee-management_1.1_spec %{sver_j2ee_management_1_1} JPP geronimo-j2ee-management-1.1-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-j2ee-management-1.1-api.pom +%add_maven_depmap JPP-geronimo-j2ee-management-1.1-api.pom geronimo-j2ee-management-1.1-api.jar + install -m 0644 \ geronimo-javamail_1.3.1_spec-1.3/target/geronimo-javamail_1.3.1_spec-1.3.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-javamail-1.3.1-api-%{sver_javamail_1_3_1}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-javamail-1.3.1-api-%{sver_javamail_1_3_1}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-javamail-1.3.1-api-%{sver_javamail_1_3_1}.jar \ geronimo-javamail-1.3.1-api.jar popd # Do not provide it as this is just the API (is it?) and # our 'javamail' alternative means the providers as well # all in a single jar file called 'javamail.jar' -#touch $RPM_BUILD_ROOT%{_javadir}/javamail.jar # for %ghost +#touch %{buildroot}%{_javadir}/javamail.jar # for %ghost # but: -touch $RPM_BUILD_ROOT%{_javadir}/javamail_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/javamail_1_3_1_api.jar # for %ghost +touch %{buildroot}%{_javadir}/javamail_api.jar # for %ghost +touch %{buildroot}%{_javadir}/javamail_1_3_1_api.jar # for %ghost install -m 0644 geronimo-javamail_1.3.1_spec-1.3/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-javamail-1.3.1-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-javamail_1.3.1_spec %{sver_javamail_1_3_1} JPP geronimo-javamail-1.3.1-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-javamail-1.3.1-api.pom +%add_maven_depmap JPP-geronimo-javamail-1.3.1-api.pom geronimo-javamail-1.3.1-api.jar + install -m 0644 \ geronimo-javamail_1.4_spec-1.1/target/geronimo-javamail_1.4_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-javamail-1.4-api-%{sver_javamail_1_4}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-javamail-1.4-api-%{sver_javamail_1_4}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-javamail-1.4-api-%{sver_javamail_1_4}.jar \ geronimo-javamail-1.4-api.jar popd # Do not provide it as this is just the API (is it?) and # our 'javamail' alternative means the providers as well # all in a single jar file called 'javamail.jar' -#touch $RPM_BUILD_ROOT%{_javadir}/javamail.jar # for %ghost +#touch %{buildroot}%{_javadir}/javamail.jar # for %ghost # but: -touch $RPM_BUILD_ROOT%{_javadir}/javamail_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/javamail_1_4_api.jar # for %ghost +touch %{buildroot}%{_javadir}/javamail_api.jar # for %ghost +touch %{buildroot}%{_javadir}/javamail_1_4_api.jar # for %ghost install -m 0644 geronimo-javamail_1.4_spec-1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-javamail-1.4-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-javamail_1.4_spec %{sver_javamail_1_4} JPP geronimo-javamail-1.4-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-javamail-1.4-api.pom +%add_maven_depmap JPP-geronimo-javamail-1.4-api.pom geronimo-javamail-1.4-api.jar + install -m 0644 \ geronimo-jaxr_1.0_spec-1.1/target/geronimo-jaxr_1.0_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-jaxr-1.0-api-%{sver_jaxr_1_0}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-jaxr-1.0-api-%{sver_jaxr_1_0}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-jaxr-1.0-api-%{sver_jaxr_1_0}.jar \ geronimo-jaxr-1.0-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/jaxr.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jaxr_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jaxr_1_0_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jaxr.jar # for %ghost +touch %{buildroot}%{_javadir}/jaxr_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jaxr_1_0_api.jar # for %ghost install -m 0644 geronimo-jaxr_1.0_spec-1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-jaxr-1.0-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-jaxr_1.0_spec %{sver_jaxr_1_0} JPP geronimo-jaxr-1.0-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-jaxr-1.0-api.pom +%add_maven_depmap JPP-geronimo-jaxr-1.0-api.pom geronimo-jaxr-1.0-api.jar + install -m 0644 \ geronimo-jaxrpc_1.1_spec-1.1/target/geronimo-jaxrpc_1.1_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-jaxrpc-1.1-api-%{sver_jaxrpc_1_1}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-jaxrpc-1.1-api-%{sver_jaxrpc_1_1}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-jaxrpc-1.1-api-%{sver_jaxrpc_1_1}.jar \ geronimo-jaxrpc-1.1-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/jaxrpc.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jaxrpc_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jaxrpc_1_1_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jaxrpc.jar # for %ghost +touch %{buildroot}%{_javadir}/jaxrpc_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jaxrpc_1_1_api.jar # for %ghost install -m 0644 geronimo-jaxrpc_1.1_spec-1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-jaxrpc-1.1-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-jaxrpc_1.1_spec %{sver_jaxrpc_1_1} JPP geronimo-jaxrpc-1.1-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-jaxrpc-1.1-api.pom +%add_maven_depmap JPP-geronimo-jaxrpc-1.1-api.pom geronimo-jaxrpc-1.1-api.jar + install -m 0644 \ geronimo-spec-j2ee/target/geronimo-j2ee_1.4_spec-1.2-jar-with-dependencies.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-j2ee-1.4-apis-%{version}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-j2ee-1.4-apis-%{version}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-j2ee-1.4-apis-%{version}.jar \ geronimo-j2ee-1.4-apis.jar popd install -m 0644 geronimo-spec-j2ee/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-j2ee-1.4-apis.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-j2ee_1.4_spec %{version} JPP geronimo-j2ee-1.4-apis + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-j2ee-1.4-apis.pom +%add_maven_depmap JPP-geronimo-j2ee-1.4-apis.pom geronimo-j2ee-1.4-apis.jar + install -m 0644 \ geronimo-jms_1.1_spec-1.1/target/geronimo-jms_1.1_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-jms-1.1-api-%{sver_jms_1_1}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-jms-1.1-api-%{sver_jms_1_1}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-jms-1.1-api-%{sver_jms_1_1}.jar \ geronimo-jms-1.1-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/jms.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jms_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jms_1_1_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jms.jar # for %ghost +touch %{buildroot}%{_javadir}/jms_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jms_1_1_api.jar # for %ghost install -m 0644 geronimo-jms_1.1_spec-1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-jms-1.1-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-jms_1.1_spec %{sver_jms_1_1} JPP geronimo-jms-1.1-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-jms-1.1-api.pom +%add_maven_depmap JPP-geronimo-jms-1.1-api.pom geronimo-jms-1.1-api.jar + install -m 0644 \ geronimo-jpa_3.0_spec-1.1.0/target/geronimo-jpa_3.0_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-jpa-3.0-api-%{sver_jpa_3_0}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-jpa-3.0-api-%{sver_jpa_3_0}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-jpa-3.0-api-%{sver_jpa_3_0}.jar \ geronimo-jpa-3.0-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/jpa_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jpa_3_0_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jpa_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jpa_3_0_api.jar # for %ghost install -m 0644 geronimo-jpa_3.0_spec-1.1.0/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-jpa-3.0-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-jpa_3.0_spec %{sver_jpa_3_0} JPP geronimo-jpa-3.0-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-jpa-3.0-api.pom +%add_maven_depmap JPP-geronimo-jpa-3.0-api.pom geronimo-jpa-3.0-api.jar + install -m 0644 \ geronimo-jsp_2.0_spec-1.1/target/geronimo-jsp_2.0_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-jsp-2.0-api-%{sver_jsp_2_0}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-jsp-2.0-api-%{sver_jsp_2_0}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-jsp-2.0-api-%{sver_jsp_2_0}.jar \ geronimo-jsp-2.0-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/jsp.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jsp_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jsp_2_0_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jsp.jar # for %ghost +touch %{buildroot}%{_javadir}/jsp_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jsp_2_0_api.jar # for %ghost install -m 0644 geronimo-jsp_2.0_spec-1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-jsp-2.0-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-jsp_2.0_spec %{sver_jsp_2_0} JPP geronimo-jsp-2.0-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-jsp-2.0-api.pom +%add_maven_depmap JPP-geronimo-jsp-2.0-api.pom geronimo-jsp-2.0-api.jar + install -m 0644 \ geronimo-jsp_2.1_spec-1.0/target/geronimo-jsp_2.1_spec-1.0.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-jsp-2.1-api-%{sver_jsp_2_1}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-jsp-2.1-api-%{sver_jsp_2_1}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-jsp-2.1-api-%{sver_jsp_2_1}.jar \ geronimo-jsp-2.1-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/jsp.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jsp_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jsp_2_1_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jsp.jar # for %ghost +touch %{buildroot}%{_javadir}/jsp_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jsp_2_1_api.jar # for %ghost install -m 0644 geronimo-jsp_2.1_spec-1.0/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-jsp-2.1-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-jsp_2.1_spec %{sver_jsp_2_1} JPP geronimo-jsp-2.1-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-jsp-2.1-api.pom +%add_maven_depmap JPP-geronimo-jsp-2.1-api.pom geronimo-jsp-2.1-api.jar + install -m 0644 \ geronimo-jta_1.0.1B_spec-1.1.1/target/geronimo-jta_1.0.1B_spec-1.1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-jta-1.0.1B-api-%{sver_jta_1_0_1B}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-jta-1.0.1B-api-%{sver_jta_1_0_1B}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-jta-1.0.1B-api-%{sver_jta_1_0_1B}.jar \ geronimo-jta-1.0.1B-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/jta.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jta_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jta_1_0_1B_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jta.jar # for %ghost +touch %{buildroot}%{_javadir}/jta_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jta_1_0_1B_api.jar # for %ghost install -m 0644 geronimo-jta_1.0.1B_spec-1.1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-jta-1.0.1B-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-jta_1.0.1B_spec %{sver_jta_1_0_1B} JPP geronimo-jta-1.0.1B-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-jta-1.0.1B-api.pom +%add_maven_depmap JPP-geronimo-jta-1.0.1B-api.pom geronimo-jta-1.0.1B-api.jar + install -m 0644 \ geronimo-jta_1.1_spec-1.1.0/target/geronimo-jta_1.1_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-jta-1.1-api-%{sver_jta_1_1}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-jta-1.1-api-%{sver_jta_1_1}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-jta-1.1-api-%{sver_jta_1_1}.jar \ geronimo-jta-1.1-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/jta.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jta_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/jta_1_1_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jta.jar # for %ghost +touch %{buildroot}%{_javadir}/jta_api.jar # for %ghost +touch %{buildroot}%{_javadir}/jta_1_1_api.jar # for %ghost install -m 0644 geronimo-jta_1.1_spec-1.1.0/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-jta-1.1-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-jta_1.1_spec %{sver_jta_1_1} JPP geronimo-jta-1.1-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-jta-1.1-api.pom +%add_maven_depmap JPP-geronimo-jta-1.1-api.pom geronimo-jta-1.1-api.jar + install -m 0644 \ geronimo-qname_1.1_spec-1.1/target/geronimo-qname_1.1_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-qname-1.1-api-%{sver_qname_1_1}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-qname-1.1-api-%{sver_qname_1_1}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-qname-1.1-api-%{sver_qname_1_1}.jar \ geronimo-qname-1.1-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/qname_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/qname_1_1_api.jar # for %ghost +touch %{buildroot}%{_javadir}/qname_api.jar # for %ghost +touch %{buildroot}%{_javadir}/qname_1_1_api.jar # for %ghost install -m 0644 geronimo-qname_1.1_spec-1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-qname-1.1-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-qname_1.1_spec %{sver_qname_1_1} JPP geronimo-qname-1.1-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-qname-1.1-api.pom +%add_maven_depmap JPP-geronimo-qname-1.1-api.pom geronimo-qname-1.1-api.jar + install -m 0644 \ geronimo-saaj_1.1_spec-1.1/target/geronimo-saaj_1.1_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-saaj-1.1-api-%{sver_saaj_1_1}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-saaj-1.1-api-%{sver_saaj_1_1}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-saaj-1.1-api-%{sver_saaj_1_1}.jar \ geronimo-saaj-1.1-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/saaj.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/saaj_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/saaj_1_1_api.jar # for %ghost +touch %{buildroot}%{_javadir}/saaj.jar # for %ghost +touch %{buildroot}%{_javadir}/saaj_api.jar # for %ghost +touch %{buildroot}%{_javadir}/saaj_1_1_api.jar # for %ghost install -m 0644 geronimo-saaj_1.1_spec-1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-saaj-1.1-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-saaj_1.1_spec %{sver_saaj_1_1} JPP geronimo-saaj-1.1-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-saaj-1.1-api.pom +%add_maven_depmap JPP-geronimo-saaj-1.1-api.pom geronimo-saaj-1.1-api.jar + install -m 0644 \ geronimo-servlet_2.4_spec-1.1.1/target/geronimo-servlet_2.4_spec-1.1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-servlet-2.4-api-%{sver_servlet_2_4}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-servlet-2.4-api-%{sver_servlet_2_4}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-servlet-2.4-api-%{sver_servlet_2_4}.jar \ geronimo-servlet-2.4-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/servlet.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/servlet_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/servlet_2_4_api.jar # for %ghost +touch %{buildroot}%{_javadir}/servlet.jar # for %ghost +touch %{buildroot}%{_javadir}/servlet_api.jar # for %ghost +touch %{buildroot}%{_javadir}/servlet_2_4_api.jar # for %ghost install -m 0644 geronimo-servlet_2.4_spec-1.1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-servlet-2.4-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-servlet_2.4_spec %{sver_servlet_2_4} JPP geronimo-servlet-2.4-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-servlet-2.4-api.pom +%add_maven_depmap JPP-geronimo-servlet-2.4-api.pom geronimo-servlet-2.4-api.jar + install -m 0644 \ geronimo-servlet_2.5_spec-1.1/target/geronimo-servlet_2.5_spec-1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-servlet-2.5-api-%{sver_servlet_2_5}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-servlet-2.5-api-%{sver_servlet_2_5}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-servlet-2.5-api-%{sver_servlet_2_5}.jar \ geronimo-servlet-2.5-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/servlet.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/servlet_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/servlet_2_5_api.jar # for %ghost +touch %{buildroot}%{_javadir}/servlet.jar # for %ghost +touch %{buildroot}%{_javadir}/servlet_api.jar # for %ghost +touch %{buildroot}%{_javadir}/servlet_2_5_api.jar # for %ghost install -m 0644 geronimo-servlet_2.5_spec-1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-servlet-2.5-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-servlet_2.5_spec %{sver_servlet_2_5}.0.1 JPP geronimo-servlet-2.5-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-servlet-2.5-api.pom +%add_maven_depmap JPP-geronimo-servlet-2.5-api.pom geronimo-servlet-2.5-api.jar + install -m 0644 \ geronimo-stax-api_1.0_spec-1.0/target/geronimo-stax-api_1.0_spec-1.0.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-stax-1.0-api-%{sver_stax_1_0}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-stax-1.0-api-%{sver_stax_1_0}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-stax-1.0-api-%{sver_stax_1_0}.jar \ geronimo-stax-1.0-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/stax_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/stax_1_0_api.jar # for %ghost +touch %{buildroot}%{_javadir}/stax_api.jar # for %ghost +touch %{buildroot}%{_javadir}/stax_1_0_api.jar # for %ghost install -m 0644 geronimo-stax-api_1.0_spec-1.0/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-stax-1.0-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-stax_1.0_spec %{sver_stax_1_0} JPP geronimo-stax-1.0-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-stax-1.0-api.pom +%add_maven_depmap JPP-geronimo-stax-1.0-api.pom geronimo-stax-1.0-api.jar + install -m 0644 \ geronimo-ws-metadata_2.0_spec-1.1.1/target/geronimo-ws-metadata_2.0_spec-1.1.1.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-ws-metadata-2.0-api-%{sver_ws_metadata_2_0}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-ws-metadata-2.0-api-%{sver_ws_metadata_2_0}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-ws-metadata-2.0-api-%{sver_ws_metadata_2_0}.jar \ geronimo-ws-metadata-2.0-api.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/ws_metadata_api.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/ws_metadata_2_0_api.jar # for %ghost +touch %{buildroot}%{_javadir}/ws_metadata_api.jar # for %ghost +touch %{buildroot}%{_javadir}/ws_metadata_2_0_api.jar # for %ghost install -m 0644 geronimo-ws-metadata_2.0_spec-1.1.1/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-ws-metadata-2.0-api.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-ws-metadata_2.0_spec %{sver_ws_metadata_2_0} JPP geronimo-ws-metadata-2.0-api + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-ws-metadata-2.0-api.pom +%add_maven_depmap JPP-geronimo-ws-metadata-2.0-api.pom geronimo-ws-metadata-2.0-api.jar + install -m 0644 \ geronimo-spec-commonj/target/geronimo-commonj_1.1_spec-null.jar \ - $RPM_BUILD_ROOT%{_javadir}/geronimo-commonj-1.1-apis-%{sver_commonj_1_1}.jar -pushd $RPM_BUILD_ROOT%{_javadir} + %{buildroot}%{_javadir}/geronimo-commonj-1.1-apis-%{sver_commonj_1_1}.jar +pushd %{buildroot}%{_javadir} ln -sf geronimo-commonj-1.1-apis-%{sver_commonj_1_1}.jar \ geronimo-commonj-1.1-apis.jar popd -touch $RPM_BUILD_ROOT%{_javadir}/commonj_apis.jar # for %ghost -touch $RPM_BUILD_ROOT%{_javadir}/commonj_1_1_apis.jar # for %ghost +touch %{buildroot}%{_javadir}/commonj_apis.jar # for %ghost +touch %{buildroot}%{_javadir}/commonj_1_1_apis.jar # for %ghost install -m 0644 geronimo-spec-commonj/pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-commonj-1.1-apis.pom -%add_to_maven_depmap org.apache.geronimo.specs geronimo-commonj_1.1_spec %{sver_commonj_1_1} JPP geronimo-commonj-1.1-apis + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-commonj-1.1-apis.pom +%add_maven_depmap JPP-geronimo-commonj-1.1-apis.pom geronimo-commonj-1.1-apis.jar + # Add the parent geronimo-specs pom cp pom.xml \ - $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-geronimo-specs.pom -%add_to_maven_depmap org.apache.geronimo.specs specs 1.1 JPP geronimo-specs + %{buildroot}/%{_mavenpomdir}/JPP-geronimo-specs.pom +%add_maven_depmap JPP-geronimo-specs.pom + # main package jars -install -d -m 0755 $RPM_BUILD_ROOT%{_javadir}/geronimo -pushd $RPM_BUILD_ROOT%{_javadir}/geronimo +install -d -m 0755 %{buildroot}%{_javadir}/geronimo +pushd %{buildroot}%{_javadir}/geronimo ln -sf ../geronimo-commonj-1.1-apis-%{version}.jar spec-commonj-1.1-%{version}.jar ln -sf spec-commonj-1.1-%{version}.jar spec-commonj-1.1.jar ln -sf ../geronimo-jaf-1.0.2-api-%{version}.jar spec-jaf-1.0.2-%{version}.jar @@ -1497,311 +1533,300 @@ pushd $RPM_BUILD_ROOT%{_javadir}/geronimo ln -sf spec-ws-metadata-2.0-%{version}.jar spec-ws-metadata-2.0.jar popd #install -p -m 0644 modules/j2ee-schema/target/geronimo-j2ee-schema-1.0-M4.jar \ -# $RPM_BUILD_ROOT%{_javadir}/geronimo/spec-j2ee-schema-1.0-M4.jar -#pushd $RPM_BUILD_ROOT%{_javadir}/geronimo +# %{buildroot}%{_javadir}/geronimo/spec-j2ee-schema-1.0-M4.jar +#pushd %{buildroot}%{_javadir}/geronimo # ln -sf spec-j2ee-schema-1.0-M4.jar spec-j2ee-schema-1.0.jar #popd # javadoc -install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} +install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version} install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jaf-1.0.2 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jaf-1.0.2 cp -pr geronimo-activation_1.0.2_spec-1.2/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jaf-1.0.2 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jaf-1.0.2 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jaf-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jaf-1.1 cp -pr geronimo-activation_1.1_spec-1.0/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jaf-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jaf-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/annotation-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/annotation-1.0 cp -pr geronimo-annotation_1.0_spec-1.1.0/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/annotation-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/annotation-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/commonj-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/commonj-1.1 cp -pr geronimo-spec-commonj/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/commonj-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/commonj-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/corba-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/corba-1.0 cp -pr geronimo-spec-corba/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/corba-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/corba-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/corba-2.3 + %{buildroot}%{_javadocdir}/%{name}-%{version}/corba-2.3 cp -pr geronimo-spec-corba-2.3/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/corba-2.3 + %{buildroot}%{_javadocdir}/%{name}-%{version}/corba-2.3 #install -d -m 755 \ -# $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/corba-3.0 +# %{buildroot}%{_javadocdir}/%{name}-%{version}/corba-3.0 # cp -pr geronimo-spec-corba-3.0/target/site/apidocs/* \ -# $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/corba-3.0 +# %{buildroot}%{_javadocdir}/%{name}-%{version}/corba-3.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/ejb-2.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/ejb-2.1 cp -pr geronimo-ejb_2.1_spec-1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/ejb-2.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/ejb-2.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/ejb-3.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/ejb-3.0 cp -pr geronimo-ejb_3.0_spec-1.0/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/ejb-3.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/ejb-3.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/el-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/el-1.0 cp -pr geronimo-el_1.0_spec-1.0/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/el-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/el-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/interceptor-3.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/interceptor-3.0 cp -pr geronimo-interceptor_3.0_spec-1.0/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/interceptor-3.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/interceptor-3.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/j2ee-connector-1.5 + %{buildroot}%{_javadocdir}/%{name}-%{version}/j2ee-connector-1.5 cp -pr geronimo-j2ee-connector_1.5_spec-1.1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/j2ee-connector-1.5 + %{buildroot}%{_javadocdir}/%{name}-%{version}/j2ee-connector-1.5 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/j2ee-deployment-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/j2ee-deployment-1.1 cp -pr geronimo-j2ee-deployment_1.1_spec-1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/j2ee-deployment-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/j2ee-deployment-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/javaee-deployment-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/javaee-deployment-1.1 cp -pr geronimo-javaee-deployment_1.1MR3_spec-1.0/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/javaee-deployment-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/javaee-deployment-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/j2ee-management-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/j2ee-management-1.0 cp -pr geronimo-j2ee-management_1.0_spec-1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/j2ee-management-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/j2ee-management-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/j2ee-management-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/j2ee-management-1.1 cp -pr geronimo-j2ee-management_1.1_spec-1.0/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/j2ee-management-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/j2ee-management-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/javamail-1.3.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/javamail-1.3.1 cp -pr geronimo-javamail_1.3.1_spec-1.3/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/javamail-1.3.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/javamail-1.3.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/javamail-1.4 + %{buildroot}%{_javadocdir}/%{name}-%{version}/javamail-1.4 cp -pr geronimo-javamail_1.4_spec-1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/javamail-1.4 + %{buildroot}%{_javadocdir}/%{name}-%{version}/javamail-1.4 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jaxrpc-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jaxrpc-1.1 cp -pr geronimo-jaxrpc_1.1_spec-1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jaxrpc-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jaxrpc-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jaxr-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jaxr-1.0 cp -pr geronimo-jaxr_1.0_spec-1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jaxr-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jaxr-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jms-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jms-1.1 cp -pr geronimo-jms_1.1_spec-1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jms-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jms-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jpa-3.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jpa-3.0 cp -pr geronimo-jpa_3.0_spec-1.1.0/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jpa-3.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jpa-3.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jsp-2.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jsp-2.0 cp -pr geronimo-jsp_2.0_spec-1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jsp-2.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jsp-2.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jsp-2.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jsp-2.1 cp -pr geronimo-jsp_2.1_spec-1.0/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jsp-2.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jsp-2.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jta-1.0.1B + %{buildroot}%{_javadocdir}/%{name}-%{version}/jta-1.0.1B cp -pr geronimo-jta_1.0.1B_spec-1.1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jta-1.0.1B + %{buildroot}%{_javadocdir}/%{name}-%{version}/jta-1.0.1B install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jta-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jta-1.1 cp -pr geronimo-jta_1.1_spec-1.1.0/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jta-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jta-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/qname-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/qname-1.1 cp -pr geronimo-qname_1.1_spec-1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/qname-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/qname-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/saaj-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/saaj-1.1 cp -pr geronimo-saaj_1.1_spec-1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/saaj-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/saaj-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/servlet-2.4 + %{buildroot}%{_javadocdir}/%{name}-%{version}/servlet-2.4 cp -pr geronimo-servlet_2.4_spec-1.1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/servlet-2.4 + %{buildroot}%{_javadocdir}/%{name}-%{version}/servlet-2.4 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/servlet-2.5 + %{buildroot}%{_javadocdir}/%{name}-%{version}/servlet-2.5 cp -pr geronimo-servlet_2.5_spec-1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/servlet-2.5 + %{buildroot}%{_javadocdir}/%{name}-%{version}/servlet-2.5 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/stax-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/stax-1.0 cp -pr geronimo-stax-api_1.0_spec-1.0/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/stax-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/stax-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/ws-metadata-2.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/ws-metadata-2.0 cp -pr geronimo-ws-metadata_2.0_spec-1.1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/ws-metadata-2.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/ws-metadata-2.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jacc-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jacc-1.0 cp -pr geronimo-j2ee-jacc_1.0_spec-1.1/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jacc-1.0 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jacc-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jacc-1.1 + %{buildroot}%{_javadocdir}/%{name}-%{version}/jacc-1.1 cp -pr geronimo-jacc_1.1_spec-1.0/target/site/apidocs/* \ - $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/jacc-1.1 -ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink + %{buildroot}%{_javadocdir}/%{name}-%{version}/jacc-1.1 +ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} # ghost symlink # documents -install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} +install -d -m 755 %{buildroot}%{_docdir}/%{name}-%{version} install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jaf-1.0.2 + %{buildroot}%{_docdir}/%{name}-%{version}/jaf-1.0.2 cp -pr geronimo-activation_1.0.2_spec-1.2/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jaf-1.0.2 + %{buildroot}%{_docdir}/%{name}-%{version}/jaf-1.0.2 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jaf-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/jaf-1.1 cp -pr geronimo-activation_1.1_spec-1.0/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jaf-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/jaf-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/annotation-1.0 + %{buildroot}%{_docdir}/%{name}-%{version}/annotation-1.0 cp -pr geronimo-annotation_1.0_spec-1.1.0/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/annotation-1.0 + %{buildroot}%{_docdir}/%{name}-%{version}/annotation-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/commonj-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/commonj-1.1 cp -pr geronimo-spec-commonj/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/commonj-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/commonj-1.1 #install -d -m 755 \ -# $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/corba-1.0 +# %{buildroot}%{_docdir}/%{name}-%{version}/corba-1.0 # cp -pr geronimo-spec-corba/LICENSE.txt \ -# $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/corba-1.0 +# %{buildroot}%{_docdir}/%{name}-%{version}/corba-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/corba-2.3 + %{buildroot}%{_docdir}/%{name}-%{version}/corba-2.3 cp -pr geronimo-spec-corba-2.3/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/corba-2.3 + %{buildroot}%{_docdir}/%{name}-%{version}/corba-2.3 #install -d -m 755 \ -# $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/corba-3.0 +# %{buildroot}%{_docdir}/%{name}-%{version}/corba-3.0 # cp -pr geronimo-spec-corba-3.0/LICENSE.txt \ -# $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/corba-3.0 +# %{buildroot}%{_docdir}/%{name}-%{version}/corba-3.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/ejb-2.1 + %{buildroot}%{_docdir}/%{name}-%{version}/ejb-2.1 cp -pr geronimo-ejb_2.1_spec-1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/ejb-2.1 + %{buildroot}%{_docdir}/%{name}-%{version}/ejb-2.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/ejb-3.0 + %{buildroot}%{_docdir}/%{name}-%{version}/ejb-3.0 cp -pr geronimo-ejb_3.0_spec-1.0/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/ejb-3.0 + %{buildroot}%{_docdir}/%{name}-%{version}/ejb-3.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/el-1.0 + %{buildroot}%{_docdir}/%{name}-%{version}/el-1.0 cp -pr geronimo-el_1.0_spec-1.0/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/el-1.0 + %{buildroot}%{_docdir}/%{name}-%{version}/el-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/interceptor-3.0 + %{buildroot}%{_docdir}/%{name}-%{version}/interceptor-3.0 cp -pr geronimo-interceptor_3.0_spec-1.0/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/interceptor-3.0 + %{buildroot}%{_docdir}/%{name}-%{version}/interceptor-3.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/j2ee-connector-1.5 + %{buildroot}%{_docdir}/%{name}-%{version}/j2ee-connector-1.5 cp -pr geronimo-j2ee-connector_1.5_spec-1.1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/j2ee-connector-1.5 + %{buildroot}%{_docdir}/%{name}-%{version}/j2ee-connector-1.5 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/j2ee-deployment-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/j2ee-deployment-1.1 cp -pr geronimo-j2ee-deployment_1.1_spec-1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/j2ee-deployment-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/j2ee-deployment-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/javaee-deployment-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/javaee-deployment-1.1 cp -pr geronimo-javaee-deployment_1.1MR3_spec-1.0/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/javaee-deployment-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/javaee-deployment-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/j2ee-management-1.0 + %{buildroot}%{_docdir}/%{name}-%{version}/j2ee-management-1.0 cp -pr geronimo-j2ee-management_1.0_spec-1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/j2ee-management-1.0 + %{buildroot}%{_docdir}/%{name}-%{version}/j2ee-management-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/j2ee-management-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/j2ee-management-1.1 cp -pr geronimo-j2ee-management_1.1_spec-1.0/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/j2ee-management-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/j2ee-management-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/javamail-1.3.1 + %{buildroot}%{_docdir}/%{name}-%{version}/javamail-1.3.1 cp -pr geronimo-javamail_1.3.1_spec-1.3/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/javamail-1.3.1 + %{buildroot}%{_docdir}/%{name}-%{version}/javamail-1.3.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/javamail-1.4 + %{buildroot}%{_docdir}/%{name}-%{version}/javamail-1.4 cp -pr geronimo-javamail_1.4_spec-1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/javamail-1.4 + %{buildroot}%{_docdir}/%{name}-%{version}/javamail-1.4 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jaxrpc-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/jaxrpc-1.1 cp -pr geronimo-jaxrpc_1.1_spec-1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jaxrpc-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/jaxrpc-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jaxr-1.0 + %{buildroot}%{_docdir}/%{name}-%{version}/jaxr-1.0 cp -pr geronimo-jaxr_1.0_spec-1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jaxr-1.0 + %{buildroot}%{_docdir}/%{name}-%{version}/jaxr-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jms-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/jms-1.1 cp -pr geronimo-jms_1.1_spec-1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jms-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/jms-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jpa-3.0 + %{buildroot}%{_docdir}/%{name}-%{version}/jpa-3.0 cp -pr geronimo-jpa_3.0_spec-1.1.0/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jpa-3.0 + %{buildroot}%{_docdir}/%{name}-%{version}/jpa-3.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jsp-2.0 + %{buildroot}%{_docdir}/%{name}-%{version}/jsp-2.0 cp -pr geronimo-jsp_2.0_spec-1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jsp-2.0 + %{buildroot}%{_docdir}/%{name}-%{version}/jsp-2.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jsp-2.1 + %{buildroot}%{_docdir}/%{name}-%{version}/jsp-2.1 cp -pr geronimo-jsp_2.1_spec-1.0/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jsp-2.1 + %{buildroot}%{_docdir}/%{name}-%{version}/jsp-2.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jta-1.0.1B + %{buildroot}%{_docdir}/%{name}-%{version}/jta-1.0.1B cp -pr geronimo-jta_1.0.1B_spec-1.1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jta-1.0.1B + %{buildroot}%{_docdir}/%{name}-%{version}/jta-1.0.1B install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jta-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/jta-1.1 cp -pr geronimo-jta_1.1_spec-1.1.0/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jta-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/jta-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/qname-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/qname-1.1 cp -pr geronimo-qname_1.1_spec-1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/qname-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/qname-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/saaj-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/saaj-1.1 cp -pr geronimo-saaj_1.1_spec-1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/saaj-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/saaj-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/servlet-2.4 + %{buildroot}%{_docdir}/%{name}-%{version}/servlet-2.4 cp -pr geronimo-servlet_2.4_spec-1.1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/servlet-2.4 + %{buildroot}%{_docdir}/%{name}-%{version}/servlet-2.4 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/servlet-2.5 + %{buildroot}%{_docdir}/%{name}-%{version}/servlet-2.5 cp -pr geronimo-servlet_2.5_spec-1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/servlet-2.5 + %{buildroot}%{_docdir}/%{name}-%{version}/servlet-2.5 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/stax-1.0 + %{buildroot}%{_docdir}/%{name}-%{version}/stax-1.0 cp -pr geronimo-stax-api_1.0_spec-1.0/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/stax-1.0 + %{buildroot}%{_docdir}/%{name}-%{version}/stax-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/ws-metadata-2.0 + %{buildroot}%{_docdir}/%{name}-%{version}/ws-metadata-2.0 cp -pr geronimo-ws-metadata_2.0_spec-1.1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/ws-metadata-2.0 + %{buildroot}%{_docdir}/%{name}-%{version}/ws-metadata-2.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jacc-1.0 + %{buildroot}%{_docdir}/%{name}-%{version}/jacc-1.0 cp -pr geronimo-j2ee-jacc_1.0_spec-1.1/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jacc-1.0 + %{buildroot}%{_docdir}/%{name}-%{version}/jacc-1.0 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jacc-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/jacc-1.1 cp -pr geronimo-jacc_1.1_spec-1.0/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/jacc-1.1 + %{buildroot}%{_docdir}/%{name}-%{version}/jacc-1.1 install -d -m 755 \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/j2ee-1.4 + %{buildroot}%{_docdir}/%{name}-%{version}/j2ee-1.4 cp -pr geronimo-spec-j2ee/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/j2ee-1.4 + %{buildroot}%{_docdir}/%{name}-%{version}/j2ee-1.4 cp -pr etc/LICENSE.txt \ - $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} + %{buildroot}%{_docdir}/%{name}-%{version} %if %defined suse_version export NO_BRP_STALE_LINK_ERROR="yes" %endif %fdupes -s %{buildroot}/%{_javadocdir}/%{name}-%{version} %clean -rm -rf $RPM_BUILD_ROOT - -%post poms -%update_maven_depmap - -%postun poms -%update_maven_depmap -#%triggerpostun -n geronimo-jaf-1.0.2-api -- classpathx-jaf <= 1.0-2jpp_4rh -## Remove file from old non-free packages -#rm -f %{_javadir}/jaf.jar -## Recreate the link as update-alternatives could not do it -#ln -s %{_sysconfdir}/alternatives/jaf %{_javadir}/jaf.jar +rm -rf %{buildroot} %post -n geronimo-commonj-1_1-apis %{_sbindir}/update-alternatives --install %{_javadir}/commonj_apis.jar commonj_apis %{_javadir}/geronimo-commonj-1.1-apis.jar 10100 @@ -2344,7 +2369,7 @@ fi %files poms %defattr(0644,root,root,0755) %config %{_mavendepmapfragdir}/* -%{_datadir}/maven2/poms/* +%{_mavenpomdir}/* %files -n geronimo-commonj-1_1-apis %defattr(0644,root,root,0755)