Merge modular branch
This commit is contained in:
commit
516ff3a421
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
/objenesis-1.2.tar.xz
|
/objenesis-1.2.tar.xz
|
||||||
/2.1.tar.gz
|
/2.1.tar.gz
|
||||||
/2.6.tar.gz
|
/2.6.tar.gz
|
||||||
|
/3.0.1.tar.gz
|
||||||
/3.1.tar.gz
|
/3.1.tar.gz
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_with bootstrap
|
||||||
|
|
||||||
# Copyright (c) 2000-2009, JPackage Project
|
# Copyright (c) 2000-2009, JPackage Project
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
@ -34,18 +36,22 @@ Version: 3.1
|
|||||||
Release: 5%{?dist}
|
Release: 5%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://objenesis.org/
|
URL: http://objenesis.org/
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
Source0: https://github.com/easymock/%{name}/archive/%{version}.tar.gz
|
Source0: https://github.com/easymock/%{name}/archive/%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(junit:junit)
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin)
|
BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin)
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin)
|
%endif
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
||||||
# xmvn-builddep misses this:
|
# xmvn-builddep misses this:
|
||||||
|
%if %{without bootstrap}
|
||||||
BuildRequires: mvn(org.apache:apache-jar-resource-bundle)
|
BuildRequires: mvn(org.apache:apache-jar-resource-bundle)
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Objenesis is a small Java library that serves one purpose: to instantiate
|
Objenesis is a small Java library that serves one purpose: to instantiate
|
||||||
@ -67,7 +73,6 @@ when this is useful:
|
|||||||
* Container Frameworks - Objects can be dynamically instantiated in
|
* Container Frameworks - Objects can be dynamically instantiated in
|
||||||
non-standard ways.
|
non-standard ways.
|
||||||
|
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: Javadoc for %{name}
|
Summary: Javadoc for %{name}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -75,7 +80,6 @@ BuildArch: noarch
|
|||||||
%description javadoc
|
%description javadoc
|
||||||
This package contains the API documentation for %{name}.
|
This package contains the API documentation for %{name}.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -83,30 +87,25 @@ This package contains the API documentation for %{name}.
|
|||||||
%pom_xpath_remove pom:addMavenDescriptor
|
%pom_xpath_remove pom:addMavenDescriptor
|
||||||
|
|
||||||
%pom_remove_plugin :maven-timestamp-plugin
|
%pom_remove_plugin :maven-timestamp-plugin
|
||||||
|
%pom_remove_plugin :maven-enforcer-plugin
|
||||||
|
%pom_remove_plugin -r :maven-shade-plugin
|
||||||
%pom_xpath_remove "pom:dependency[pom:scope='test']" tck
|
%pom_xpath_remove "pom:dependency[pom:scope='test']" tck
|
||||||
%pom_xpath_remove pom:build/pom:extensions
|
|
||||||
|
|
||||||
# Fix javadoc generation on java 11
|
%pom_xpath_remove pom:build/pom:extensions
|
||||||
%pom_xpath_inject pom:pluginManagement/pom:plugins "<plugin>
|
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
|
||||||
<configuration><source>1.8</source></configuration>
|
|
||||||
</plugin>"
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# tests are skipped because of missing dependency spring-osgi-test
|
# tests are skipped because of missing dependency spring-osgi-test
|
||||||
%mvn_build -- -Dyear=2009 -Dmaven.test.skip=true
|
%mvn_build -f
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
|
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
%files javadoc -f .mfiles-javadoc
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-5
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
@ -127,9 +126,21 @@ This package contains the API documentation for %{name}.
|
|||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-6
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-2
|
||||||
|
- Mass rebuild for javapackages-tools 201902
|
||||||
|
|
||||||
|
* Thu Oct 17 2019 Marian Koncek <mkoncek@redhat.com> - 3.1-1
|
||||||
|
- Update to upstream version 3.1
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-5
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 15 2019 Marian Koncek <mkoncek@redhat.com> - 3.0.1-1
|
||||||
|
- Update to upstream version 3.0.1
|
||||||
|
|
||||||
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6-3
|
||||||
|
- Mass rebuild for javapackages-tools 201901
|
||||||
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-4
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user