From 0b539e8525b3bcf97f544a14376f98e28da2fe0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Wed, 14 Oct 2020 22:38:16 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/cdi-api#0797905febb3b7222211a6686c10b7290be532eb --- .gitignore | 7 ++ cdi-api.spec | 183 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 191 insertions(+) create mode 100644 cdi-api.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..9e4acdc 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,7 @@ +/results_* +/*.src.rpm + +/cdi-api-1.0.SP4.tar.xz +/1.1.tar.gz +/1.2.tar.gz +/cdi-2.0.tar.gz diff --git a/cdi-api.spec b/cdi-api.spec new file mode 100644 index 0000000..d8dc89b --- /dev/null +++ b/cdi-api.spec @@ -0,0 +1,183 @@ +%global srcname cdi + +Name: cdi-api +Version: 2.0 +Release: 1%{?dist} +Summary: Contexts and Dependency Injection API +License: ASL 2.0 + +URL: https://github.com/eclipse-ee4j/cdi +Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: maven-local +BuildRequires: mvn(jakarta.interceptor:jakarta.interceptor-api) +BuildRequires: mvn(javax.el:javax.el-api) +BuildRequires: mvn(javax.inject:javax.inject) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.jboss.weld:weld-parent:pom:) +BuildRequires: mvn(org.testng:testng) + +%description +APIs for JSR-299: Contexts and Dependency Injection for Java EE + + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains the API documentation for %{name}. + + +%prep +%autosetup -n %{srcname}-%{version} -p1 + +# do not build specification documentation +%pom_disable_module spec + +# do not install useless parent POM +%mvn_package javax.enterprise:cdi-spec __noinstall + +# use new jakarta interceptors coordinates +%pom_change_dep :javax.interceptor-api jakarta.interceptor:jakarta.interceptor-api api + + +%build +%mvn_build + + +%install +%mvn_install + + +%files -f .mfiles +%license spec/src/main/asciidoc/license-asl2.asciidoc +%license spec/src/main/asciidoc/license-jcp-final.asciidoc +%doc spec/src/main/asciidoc/cdi-spec.asciidoc + +%files javadoc -f .mfiles-javadoc +%license spec/src/main/asciidoc/license-asl2.asciidoc +%license spec/src/main/asciidoc/license-jcp-final.asciidoc + + +%changelog +* Sun Aug 23 2020 Fabio Valentini - 2.0-1 +- Update to version 2.0. + +* Mon Jul 27 2020 Fedora Release Engineering - 1.2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Jiri Vanek - 1.2-13 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Tue Jan 28 2020 Fedora Release Engineering - 1.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 1.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 1.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 1.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Apr 18 2018 Mikolaj Izdebski - 1.2-8 +- Remove javax.enterprise.inject directory and provides + +* Wed Feb 07 2018 Fedora Release Engineering - 1.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Sep 23 2017 Mikolaj Izdebski - 1.2-6 +- Conditionally allow building without asciidoc + +* Wed Jul 26 2017 Fedora Release Engineering - 1.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Jun 16 2016 gil cattaneo 1.2-3 +- add missing build requires: pygmentize + +* Thu Jun 16 2016 gil cattaneo 1.2-2 +- add missing build requires + +* Mon Jun 06 2016 gil cattaneo 1.2-1 +- Upstream release 1.2 + +* Wed Feb 03 2016 Fedora Release Engineering - 1.1-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Oct 28 2015 Mat Booth - 1.1-12 +- Fix FTBFS due to enforcer plugin failure + +* Wed Jun 17 2015 Fedora Release Engineering - 1.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed May 20 2015 gil cattaneo 1.1-10 +- rebuilt for upgrade el apis gid:aid (rhbz#1223468) +- adapt to current guideline +- use mvn()-like BRs +- fix rpmlint problem in changelog entries + +* Tue Mar 24 2015 Mikolaj Izdebski - 1.1-9 +- Fix interceptors symlink + +* Mon Mar 23 2015 Marek Goldmann - 1.1-8 +- Switch to interceptors 1.2 + +* Mon Nov 17 2014 Alexander Kurtakov 1.1-7 +- Rebuild to fix broken symlink to jboss-interceptors. + +* Sat Jun 07 2014 Fedora Release Engineering - 1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Mar 28 2014 Michael Simacek - 1.1-5 +- Use Requires: java-headless rebuild (#1067528) + +* Tue Aug 13 2013 Stanislav Ochotnicky - 1.1-4 +- Add javax.enterprise.inject provides and directory + +* Sat Aug 03 2013 Fedora Release Engineering - 1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jul 23 2013 Mikolaj Izdebski - 1.1-2 +- Generate OSGi metadata +- Resolves: rhbz#987111 + +* Thu Jul 04 2013 Marek Goldmann - 1.1-1 +- Upstream release 1.1 +- New guidelines + +* Sat Mar 02 2013 Mat Booth - 1.0-9.SP4 +- Add missing BR, fixes FTBFS rhbz #913916 + +* Wed Feb 13 2013 Fedora Release Engineering - 1.0-8.SP4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.0-7.SP4 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Tue Dec 04 2012 Marek Goldmann - 1.0-6.SP4 +- Added missing BR + +* Tue Dec 04 2012 Marek Goldmann - 1.0-5.SP4 +- Added missing BR/R +- Simplified the spec file +- Removed unnecessary patch + +* Wed Jul 18 2012 Fedora Release Engineering - 1.0-4.SP4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun Mar 25 2012 Asaf Shakarchi 1.0-3.SP4 +- Fixed changelog versions. + +* Fri Mar 16 2012 Asaf Shakarchi 1.0-2.SP4 +- Added required dependencies, modified patches and cleaned spec. + +* Mon Feb 20 2012 Marek Goldmann 1.0-1.SP4 +- Initial packaging + diff --git a/sources b/sources new file mode 100644 index 0000000..25ba7d1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (cdi-2.0.tar.gz) = 770ffdc31e20d465302678d2d7a0e7e5c26f3d981348cc732574d475f53f2ae96eba4190f495dc5e2c915777febd544d60a85fb318d8c962c4d4bff14a88bf6a