plexus-languages/plexus-languages.spec
2018-06-29 11:14:34 +02:00

67 lines
2.1 KiB
RPMSpec

Name: plexus-languages
Version: 0.9.3
Release: 5%{?dist}
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.
%{?javadoc_package}
%prep
%setup -q -n plexus-languages-plexus-languages-%{version}
cp %{SOURCE1} .
rm plexus-java/src/test/java/org/codehaus/plexus/languages/java/jpms/AsmModuleInfoParserTest.java
# 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
* Fri Jun 29 2018 Michael Simacek <msimacek@redhat.com> - 0.9.3-5
- Disable broken test
* Wed Feb 14 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.9.3-4
- Generate javadoc package automatically
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* 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