|
|
@ -1,5 +1,3 @@
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Copyright (c) 2000-2009, JPackage Project
|
|
|
|
# Copyright (c) 2000-2009, JPackage Project
|
|
|
|
# All rights reserved.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -32,26 +30,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
Summary: A library for instantiating Java objects
|
|
|
|
Summary: A library for instantiating Java objects
|
|
|
|
Name: objenesis
|
|
|
|
Name: objenesis
|
|
|
|
Version: 3.1
|
|
|
|
Version: 2.6
|
|
|
|
Release: 9%{?dist}
|
|
|
|
Release: 2%{?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
|
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
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)
|
|
|
|
%endif
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-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
|
|
|
@ -73,6 +66,7 @@ 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
|
|
|
@ -80,6 +74,7 @@ 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
|
|
|
|
|
|
|
|
|
|
|
@ -87,79 +82,29 @@ 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 :maven-license-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
|
|
|
|
%pom_xpath_remove pom:build/pom:extensions
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# tests are skipped because of missing dependency spring-osgi-test
|
|
|
|
# tests are skipped because of missing dependency spring-osgi-test
|
|
|
|
%mvn_build -f
|
|
|
|
%mvn_build -- -Dyear=2009 -Dmaven.test.skip=true
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.1-9
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-8
|
|
|
|
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-7
|
|
|
|
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-6
|
|
|
|
|
|
|
|
- Bootstrap build
|
|
|
|
|
|
|
|
- Non-bootstrap build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-4
|
|
|
|
%changelog
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Tue Dec 12 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.6-2
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 3.1-3
|
|
|
|
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 25 2020 Alexander Kurtakov <akurtako@redhat.com> 3.1-2
|
|
|
|
|
|
|
|
- Fix build with Java 11.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 04 2020 Jiri Vanek <jvanek@fedoraproject.org> - 3.1-1
|
|
|
|
|
|
|
|
- bumped to 3.1
|
|
|
|
|
|
|
|
- disabled javadoc generation. It requires maven pomming beyond my skills
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-6
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-2
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|