import sources

This commit is contained in:
Adam Samalik 2023-05-16 09:45:34 +02:00
parent a1521f98fc
commit 66ecf3aa34
4 changed files with 43 additions and 1293 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/commons-beanutils-1.8.3-src.tar.gz
/commons-beanutils-1.9.3-src.tar.gz

File diff suppressed because it is too large Load Diff

View File

@ -2,23 +2,19 @@
%global short_name commons-%{base_name}
Name: apache-%{short_name}
Version: 1.8.3
Release: 15%{?dist}
Version: 1.9.3
Release: 4%{?dist}
Summary: Java utility methods for accessing and modifying the properties of arbitrary JavaBeans
License: ASL 2.0
URL: http://commons.apache.org/%{base_name}
BuildArch: noarch
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
Patch0: CVE-2014-0114.patch
BuildRequires: maven-local
BuildRequires: mvn(commons-collections:commons-collections)
BuildRequires: mvn(commons-collections:commons-collections-testframework)
BuildRequires: mvn(commons-logging:commons-logging)
BuildRequires: mvn(org.apache.commons:commons-parent) >= 26-7
Provides: jakarta-%{short_name} = 0:%{version}-%{release}
Obsoletes: jakarta-%{short_name} <= 0:1.7.0
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
%description
The scope of this package is to create a package of Java utility methods
@ -29,20 +25,13 @@ is very lightweight.
%package javadoc
Summary: Javadoc for %{name}
Provides: jakarta-%{short_name}-javadoc = 0:%{version}-%{release}
Obsoletes: jakarta-%{short_name}-javadoc <= 0:1.7.0
%description javadoc
%{summary}.
%prep
%setup -q -n %{short_name}-%{version}-src
sed -i 's/\r//' *.txt
find -name '*.java' -exec sed -i 's/\r//' {} +
%patch0 -p1
%pom_remove_plugin :maven-antrun-plugin
%pom_remove_plugin :maven-assembly-plugin
%mvn_alias :{*} :@1-core :@1-bean-collections
@ -58,30 +47,53 @@ find -name '*.java' -exec sed -i 's/\r//' {} +
%mvn_install
%files -f .mfiles
%doc README.txt RELEASE-NOTES.txt
%doc RELEASE-NOTES.txt
%doc LICENSE.txt NOTICE.txt
%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt NOTICE.txt
%changelog
* Fri Dec 20 2019 Marian Koncek <mkoncek@redhat.com> - 1.8.3-15
- Fix CVE-2014-0114
- Fix CVE-2019-10086
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.8.3-14
- Mass rebuild 2013-12-27
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-13
- Add BuildRequires on apache-commons-parent >= 26-7
- Remove BuildRequires on commons-collections-testframework
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-12
- Remove workaround for rpm bug #646523
* Tue Nov 01 2016 Michael Simacek <msimacek@redhat.com> - 1.9.3-1
- Update to upstream version 1.9.3
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-11
- Rebuild to regenerate API documentation
- Resolves: CVE-2013-1571
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9.2-3
- Remove Provides/Obsoletes for javadoc package
* Wed Jul 30 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9.2-2
- Fix build-requires on apache-commons-parent
* Fri Jun 6 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9.2-1
- Update to upstream version 1.9.2
- Remove legacy Provides/Obsoletes for jakarta-commons-beanutils
- Remove RPM bug workaround
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.9.1-2
- Use Requires: java-headless rebuild (#1067528)
* Mon Jan 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9.1-1
- Update to upstream version 1.9.1
* Mon Jan 6 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9.0-1
- Update to upstream version 1.9.0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Mon Apr 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-10
- Build with xmvn

View File

@ -1 +1 @@
SHA1 (commons-beanutils-1.8.3-src.tar.gz) = 36c6327980dd4c073b126c972d0300573d2d8fe6
SHA512 (commons-beanutils-1.9.3-src.tar.gz) = 01cccfe7fca5fdf0d6cea83e4d1701ba9cfa40c6b5e516adc9e49998a3535db813b02bec724efeedfc2f8a774fcbb4ed9500eea56ab73f9002e081e090318ea2