From 5170ccfa886c5b6739511f94cb36c601e369a6f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 14:11:37 +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/jboss-modules#2564cd507f0f8c86d4043a7fb4818d753709040c --- .gitignore | 10 +++ jboss-modules.spec | 178 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 189 insertions(+) create mode 100644 jboss-modules.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..8ba3a7d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,10 @@ +/jboss-modules-1.0.2.GA.tar.xz +/jboss-modules-1.1.0.CR4.tar.xz +/jboss-modules-1.1.0.CR8.tar.xz +/jboss-modules-1.1.1.GA.tar.xz +/1.2.1.Final.tar.gz +/1.3.0.Beta3.tar.gz +/1.3.0.Final.tar.gz +/1.3.3.Final.tar.gz +/1.5.1.Final.tar.gz +/jboss-modules-1.5.2.Final.tar.gz diff --git a/jboss-modules.spec b/jboss-modules.spec new file mode 100644 index 0000000..d4ee3e3 --- /dev/null +++ b/jboss-modules.spec @@ -0,0 +1,178 @@ +Name: jboss-modules +Version: 1.5.2 +Release: 12%{?dist} +Summary: Modular Classloading System +# XPP3 License: src/main/java/org/jboss/modules/xml/MXParser.java +# src/main/java/org/jboss/modules/xml/XmlPullParser.java +# src/main/java/org/jboss/modules/xml/XmlPullParserException.java +License: ASL 2.0 and xpp + +%global namedreltag .Final +%global namedversion %{version}%{?namedreltag} + +URL: https://github.com/jbossas/jboss-modules +Source0: %{url}/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz + +BuildArch: noarch + +BuildRequires: maven-local +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.jboss.shrinkwrap:shrinkwrap-impl-base) +BuildRequires: mvn(org.jboss:jboss-parent:pom:) + +%description +Ths package contains A Modular Classloading System. + + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains the API documentation for %{name}. + + +%prep +%setup -q -n %{name}-%{namedversion} + +# do not build custom Javadocs with apiviz doclet +%pom_remove_plugin :maven-javadoc-plugin + +# remove unnecessary maven plugins +%pom_remove_plugin :maven-checkstyle-plugin +%pom_remove_plugin :maven-source-plugin + +# Tries to connect to remote host +rm src/test/java/org/jboss/modules/MavenResourceTest.java \ + src/test/java/org/jboss/modules/maven/MavenSettingsTest.java + +# remove test that's not ready for Java 9 Modules +rm src/test/java/org/jboss/modules/JAXPModuleTest.java + +%build +%mvn_build + + +%install +%mvn_install + + +%files -f .mfiles +%doc README.md +%license LICENSE.txt XPP3-LICENSE.txt + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt XPP3-LICENSE.txt + + +%changelog +* Mon Aug 17 2020 Fabio Valentini - 1.5.2-12 +- Fix FTBFS issue on fedora 33+ (drop one test that's not ready for Java 11). +- Drop custom apiviz doclet unconditionally (it's incompatible with Java 11). + +* Sat Aug 01 2020 Fedora Release Engineering - 1.5.2-11 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.5.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Jiri Vanek - 1.5.2-9 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Wed Jan 29 2020 Fedora Release Engineering - 1.5.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.5.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.5.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.5.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.5.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.5.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sat Aug 20 2016 gil cattaneo 1.5.2-1 +- update to 1.5.2.Final + +* Fri May 27 2016 gil cattaneo 1.5.1-1 +- update to 1.5.1.Final + +* Tue Mar 01 2016 gil cattaneo 1.3.3-3 +- fix FTBFS rhbz#1307649 +- fix BR list and use BR mvn()-like +- fix some rpmlint problem + +* Wed Jun 17 2015 Fedora Release Engineering - 1.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Jun 12 2014 Marek Goldmann - 1.3.3-1 +- Upstream release 1.3.3.Final + +* Sat Jun 07 2014 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Feb 20 2014 Marek Goldmann - 1.3.0-1 +- Upstream release 1.3.0.Final + +* Thu Sep 12 2013 Marek Goldmann - 1.3.0-0.1.Beta3 +- Upstream release 1.3.0.Beta3 + +* Sat Aug 03 2013 Fedora Release Engineering - 1.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jun 18 2013 Mikolaj Izdebski - 1.2.1-2 +- Remove unneeded BR + +* Tue Jun 04 2013 Marek Goldmann - 1.2.1-1 +- Upstream release 1.2.1.Final +- New guidelines + +* Thu Feb 14 2013 Fedora Release Engineering - 1.1.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.1.1-8 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Mon Sep 3 2012 Mikolaj Izdebski - 1.1.1-7 +- Conditionally remove dependency on apiviz + +* Mon Sep 3 2012 Mikolaj Izdebski - 1.1.1-6 +- Remove unneeded BR: maven-injection-plugin + +* Fri Jul 20 2012 Marek Goldmann 1.1.1-4 +- Fixed BR + +* Thu Jul 19 2012 Fedora Release Engineering - 1.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Mar 05 2012 Marek Goldmann 1.1.1-3 +- Patch to fix MODULES-128 + +* Thu Feb 23 2012 Marek Goldmann 1.1.1-2 +- Relocated jars to _javadir + +* Sun Feb 19 2012 Marek Goldmann 1.1.1-1 +- Upstream release 1.1.1.GA + +* Thu Jan 26 2012 Marek Goldmann 1.1.0-0.3.CR8 +- Upstream release 1.1.0.CR8 + +* Fri Jan 13 2012 Fedora Release Engineering - 1.1.0-0.2.CR4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Dec 02 2011 Marek Goldmann 1.1.0-0.1.CR4 +- Upstream release 1.1.0.CR4 + +* Tue Aug 02 2011 Marek Goldmann 1.0.2-1 +- Initial packaging + diff --git a/sources b/sources new file mode 100644 index 0000000..2fea1f7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +0635145a0758b4d14408e863cb5474fd jboss-modules-1.5.2.Final.tar.gz