commit eb2624bb02c4b6cfb9a58c1580dc6dbc853fedc3 Author: CentOS Sources Date: Tue May 7 07:20:12 2019 -0400 import jboss-modules-1.5.2-4.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1413bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jboss-modules-1.5.2.Final.tar.gz diff --git a/.jboss-modules.metadata b/.jboss-modules.metadata new file mode 100644 index 0000000..3f49bde --- /dev/null +++ b/.jboss-modules.metadata @@ -0,0 +1 @@ +70fa9392a9ff066fefc4a948a4aecee62fb2b994 SOURCES/jboss-modules-1.5.2.Final.tar.gz diff --git a/SPECS/jboss-modules.spec b/SPECS/jboss-modules.spec new file mode 100644 index 0000000..41cbf10 --- /dev/null +++ b/SPECS/jboss-modules.spec @@ -0,0 +1,152 @@ +%global namedreltag .Final +%global namedversion %{version}%{?namedreltag} + +Name: jboss-modules +Version: 1.5.2 +Release: 4%{?dist} +Summary: A 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 +URL: https://github.com/jbossas/jboss-modules +Source0: https://github.com/jbossas/jboss-modules/archive/%{namedversion}/%{name}-%{namedversion}.tar.gz + +BuildArch: noarch + +BuildRequires: maven-local +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.jboss:jboss-parent:pom:) +BuildRequires: mvn(org.jboss.shrinkwrap:shrinkwrap-impl-base) +%if 0%{?fedora} +BuildRequires: graphviz +BuildRequires: mvn(jdepend:jdepend) +BuildRequires: mvn(org.jboss.apiviz:apiviz) +%endif + +%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} + +# Conditionally remove dependency on apiviz +if [ %{?rhel} ]; then + %pom_remove_plugin :maven-javadoc-plugin +fi + +# Unneeded task +%pom_remove_plugin :maven-source-plugin + +# Use not available org.wildfly.checkstyle:wildfly-checkstyle-config:1.0.4.Final +%pom_remove_plugin :maven-checkstyle-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 + +%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 +* 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 +