2017-09-12 13:29:20 +00:00
|
|
|
Name: plexus-languages
|
|
|
|
Version: 0.9.3
|
2018-02-14 19:54:57 +00:00
|
|
|
Release: 4%{?dist}
|
2017-09-12 13:29:20 +00:00
|
|
|
Summary: Plexus Languages
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://github.com/codehaus-plexus/plexus-languages
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Source0: https://github.com/codehaus-plexus/plexus-languages/archive/plexus-languages-%{version}.tar.gz
|
|
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: mvn(com.google.inject:guice)
|
|
|
|
BuildRequires: mvn(com.thoughtworks.qdox:qdox)
|
|
|
|
BuildRequires: mvn(javax.inject:javax.inject)
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-annotations)
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
|
|
|
|
BuildRequires: mvn(org.mockito:mockito-core)
|
|
|
|
BuildRequires: mvn(org.ow2.asm:asm)
|
|
|
|
# test deps
|
|
|
|
BuildRequires: jdom
|
|
|
|
BuildRequires: objectweb-asm
|
|
|
|
|
|
|
|
%description
|
|
|
|
Plexus Languages is a set of Plexus components that maintain shared
|
|
|
|
language features.
|
|
|
|
|
2018-02-14 19:54:57 +00:00
|
|
|
%{?javadoc_package}
|
2017-09-12 13:29:20 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n plexus-languages-plexus-languages-%{version}
|
|
|
|
cp %{SOURCE1} .
|
|
|
|
# Replace bundled class file from ASM6
|
|
|
|
jar xf $(find-jar objectweb-asm/asm-all) module-info.class
|
|
|
|
mv module-info.class plexus-java/src/test/resources/dir.descriptor/out/
|
|
|
|
# Replace JARs used as test resources with symlinks to system JARs
|
|
|
|
ln -sf $(find-jar jdom) plexus-java/src/test/resources/jar.unsupported/jdom-1.0.jar
|
|
|
|
ln -sf $(find-jar objectweb-asm/asm) plexus-java/src/test/resources/jar.descriptor/asm-6.0_BETA.jar
|
|
|
|
|
|
|
|
%build
|
|
|
|
%mvn_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%license LICENSE-2.0.txt
|
|
|
|
|
|
|
|
%changelog
|
2018-02-14 19:54:57 +00:00
|
|
|
* Wed Feb 14 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.9.3-4
|
|
|
|
- Generate javadoc package automatically
|
|
|
|
|
2018-02-09 05:21:05 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-09-12 13:29:20 +00:00
|
|
|
* Tue Sep 12 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.9.3-2
|
|
|
|
- Replace JARs used as test resources with symlinks to system JARs
|
|
|
|
|
|
|
|
* Mon Sep 11 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.9.3-1
|
|
|
|
- Initial packaging
|