plexus-languages/plexus-languages.spec

91 lines
2.7 KiB
RPMSpec
Raw Normal View History

%bcond_without bootstrap
Name: plexus-languages
2021-02-12 09:36:28 +00:00
Version: 1.0.6
2020-07-29 13:13:45 +00:00
Release: 1%{?dist}
Summary: Plexus Languages
License: ASL 2.0
URL: https://github.com/codehaus-plexus/plexus-languages
BuildArch: noarch
2018-07-23 08:56:01 +00:00
# ./generate-tarball.sh
Source0: %{name}-%{version}.tar.gz
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
2018-07-23 08:56:01 +00:00
# Sources contain bundled jars that we cannot verify for licensing
Source2: generate-tarball.sh
BuildRequires: maven-local
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(com.thoughtworks.qdox:qdox)
BuildRequires: mvn(javax.inject:javax.inject)
2018-06-29 10:22:17 +00:00
BuildRequires: mvn(org.apache.maven.plugins:maven-failsafe-plugin)
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
2020-07-29 13:13:45 +00:00
BuildRequires: mvn(org.eclipse.sisu:sisu-maven-plugin)
BuildRequires: mvn(org.ow2.asm:asm)
%endif
%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}
2018-06-29 09:14:34 +00:00
2018-06-29 10:22:17 +00:00
cp %{SOURCE1} .
2020-07-29 13:13:45 +00:00
%pom_remove_plugin :maven-enforcer-plugin
# Remove module build specific to Java 9
%pom_xpath_remove 'pom:profiles' plexus-java
%build
2018-06-29 10:22:17 +00:00
# we don't have mockito 2 yet + many tests rely on bundled test jars/classes
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%license LICENSE-2.0.txt
%changelog
2021-02-12 09:36:28 +00:00
* Tue Jan 26 2021 Marian Koncek <mkoncek@redhat.com> - 1.0.6-1
- Update to upstream version 1.0.6
2020-07-29 13:13:45 +00:00
* Wed Jul 29 2020 Marian Koncek <mkoncek@redhat.com> - 1.0.5-1
- Update to upstream version 1.0.5
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.9.10-5
- Mass rebuild for javapackages-tools 201902
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.9.10-4
- Mass rebuild for javapackages-tools 201901
2018-07-23 08:56:01 +00:00
* Mon Jul 23 2018 Michael Simacek <msimacek@redhat.com> - 0.9.10-3
- Repack tarball without bundled jars
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-06-29 10:22:17 +00:00
* Fri Jun 29 2018 Michael Simacek <msimacek@redhat.com> - 0.9.10-1
- Update to upstream version 0.9.10
2018-06-29 09:14:34 +00:00
* 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