Blame SPECS/apache-commons-beanutils.spec

f133c9
%global pkg_name apache-commons-beanutils
f133c9
%{?scl:%scl_package %{pkg_name}}
f133c9
%{?java_common_find_provides_and_requires}
f133c9
f133c9
%global base_name       beanutils
f133c9
%global short_name      commons-%{base_name}
f133c9
f133c9
Name:           %{?scl_prefix}%{pkg_name}
f133c9
Version:        1.8.3
5411bd
Release:        14.15%{?dist}
f133c9
Summary:        Java utility methods for accessing and modifying the properties of arbitrary JavaBeans
f133c9
License:        ASL 2.0
f133c9
URL:            http://commons.apache.org/%{base_name}
f133c9
BuildArch:      noarch
f133c9
Source0:        http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
f133c9
5411bd
Patch0:         CVE-2014-0114.patch
5411bd
f133c9
BuildRequires:  %{?scl_prefix}maven-local
f133c9
BuildRequires:  %{?scl_prefix}mvn(commons-collections:commons-collections)
f133c9
BuildRequires:  %{?scl_prefix}mvn(commons-logging:commons-logging)
f133c9
BuildRequires:  %{?scl_prefix_maven}mvn(org.apache.commons:commons-parent:pom:) >= 26-7
f133c9
f133c9
f133c9
%description
f133c9
The scope of this package is to create a package of Java utility methods
f133c9
for accessing and modifying the properties of arbitrary JavaBeans.  No
f133c9
dependencies outside of the JDK are required, so the use of this package
f133c9
is very lightweight.
f133c9
f133c9
%package javadoc
f133c9
Summary:        Javadoc for %{pkg_name}
f133c9
f133c9
f133c9
%description javadoc
f133c9
%{summary}.
f133c9
f133c9
%prep
f133c9
%setup -q -n %{short_name}-%{version}-src
f133c9
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
f133c9
set -e -x
f133c9
sed -i 's/\r//' *.txt
5411bd
find -name '*.java' -exec sed -i 's/\r//' {} +
5411bd
5411bd
%patch0 -p1
f133c9
f133c9
%pom_remove_plugin :maven-antrun-plugin
f133c9
%pom_remove_plugin :maven-assembly-plugin
f133c9
f133c9
%mvn_alias :{*} :@1-core :@1-bean-collections
f133c9
%mvn_alias :{*} org.apache.commons:@1 org.apache.commons:@1-core org.apache.commons:@1-bean-collections
f133c9
%mvn_file : %{pkg_name} %{pkg_name}-core %{pkg_name}-bean-collections
f133c9
%mvn_file : %{short_name} %{short_name}-core %{short_name}-bean-collections
f133c9
%{?scl:EOF}
f133c9
f133c9
%build
f133c9
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
f133c9
set -e -x
f133c9
# Some tests fail in Koji
f133c9
%mvn_build -f
f133c9
%{?scl:EOF}
f133c9
f133c9
%install
f133c9
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
f133c9
set -e -x
f133c9
%mvn_install
f133c9
%{?scl:EOF}
f133c9
f133c9
%files -f .mfiles
f133c9
%doc README.txt RELEASE-NOTES.txt
f133c9
%doc LICENSE.txt NOTICE.txt
f133c9
f133c9
%files javadoc -f .mfiles-javadoc
f133c9
%doc LICENSE.txt NOTICE.txt
f133c9
f133c9
%changelog
5411bd
* Fri Dec 20 2019 Marian Koncek <mkoncek@redhat.com> - 1.8.3-14.15
5411bd
- Rebuild
5411bd
5411bd
* Thu Dec 19 2019 Marian Koncek <mkoncek@redhat.com> - 1.8.3-14.14
5411bd
- Fix CVE-2014-0114
5411bd
- Fix CVE-2019-10086
5411bd
f133c9
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 1.8.3-14.13
f133c9
- Mass rebuild 2015-01-13
f133c9
f133c9
* Mon Jan 12 2015 Michael Simacek <msimacek@redhat.com> - 1.8.3-14.12
f133c9
- Rebuild to regenerate requires
f133c9
f133c9
* Fri Jan 09 2015 Michal Srb <msrb@redhat.com> - 1.8.3-14.11
f133c9
- Fix BR
f133c9
f133c9
* Fri Jan 09 2015 Michal Srb <msrb@redhat.com> - 1.8.3-14.10
f133c9
- Mass rebuild 2015-01-09
f133c9
f133c9
* Tue Dec 16 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-14.9
f133c9
- Migrate requires and build-requires to rh-java-common
f133c9
f133c9
* Mon Dec 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-14.8
f133c9
- Mass rebuild 2014-12-15
f133c9
f133c9
* Mon Dec 15 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-14.7
f133c9
- Rebuild for rh-java-common collection
f133c9
f133c9
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-14.6
f133c9
- Mass rebuild 2014-05-26
f133c9
f133c9
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-14.5
f133c9
- Mass rebuild 2014-02-19
f133c9
f133c9
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-14.4
f133c9
- Mass rebuild 2014-02-18
f133c9
f133c9
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-14.3
f133c9
- SCL-ize build-requires
f133c9
f133c9
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-14.2
f133c9
- Rebuild to regenerate auto-requires
f133c9
f133c9
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-14.1
f133c9
- First maven30 software collection build
f133c9
f133c9
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.8.3-14
f133c9
- Mass rebuild 2013-12-27
f133c9
f133c9
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-13
f133c9
- Add BuildRequires on apache-commons-parent >= 26-7
f133c9
- Remove BuildRequires on commons-collections-testframework
f133c9
f133c9
* Fri Jul 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-12
f133c9
- Remove workaround for rpm bug #646523
f133c9
f133c9
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-11
f133c9
- Rebuild to regenerate API documentation
f133c9
- Resolves: CVE-2013-1571
f133c9
f133c9
* Mon Apr 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.3-10
f133c9
- Build with xmvn
f133c9
- Don't generate extra JARs
f133c9
- Simplify build dependencies
f133c9
- Update to current packaging guidelines
f133c9
f133c9
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-9
f133c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f133c9
f133c9
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.8.3-8
f133c9
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
f133c9
- Replace maven BuildRequires with maven-local
f133c9
f133c9
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-7
f133c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f133c9
f133c9
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-6
f133c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f133c9
f133c9
* Tue Nov 22 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.8.3-5
f133c9
- Packaging fixes
f133c9
- Remove unneeded depmap
f133c9
- Remove versioned jars and javadocs
f133c9
- Use maven 3 to build
f133c9
f133c9
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-4
f133c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f133c9
f133c9
* Thu Jul  8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.8.3-3
f133c9
- Add license to javadoc subpackage
f133c9
f133c9
* Mon May 24 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.8.3-2
f133c9
- Added provides to javadoc subpackage
f133c9
f133c9
* Fri May 21 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.8.3-1
f133c9
- Re-did whole spec file, dropped gcj support
f133c9
- Rename package (jakarta-commons-beanutils->apache-commons-beanutils)
f133c9
f133c9
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.7.0-12.3
f133c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f133c9
f133c9
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.7.0-11.3
f133c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f133c9
f133c9
* Thu Oct 23 2008 David Walluck <dwalluck@redhat.com> 0:1.7.0-10.3
f133c9
- Fedora-specific: enable GCJ support
f133c9
f133c9
* Thu Oct 23 2008 David Walluck <dwalluck@redhat.com> 0:1.7.0-10.2
f133c9
- Fedora-specific: BuildRequires: java-1.6.0-devel
f133c9
f133c9
* Thu Oct 23 2008 David Walluck <dwalluck@redhat.com> 0:1.7.0-10.1
f133c9
- Fedora-specific: remove repolib
f133c9
- Fedora-specific: enable JDK6 support
f133c9
f133c9
* Mon Oct 20 2008 David Walluck <dwalluck@redhat.com> 0:1.7.0-10
f133c9
- add flag to build with maven
f133c9
f133c9
* Fri Sep 19 2008 David Walluck <dwalluck@redhat.com> 0:1.7.0-9
f133c9
- add jdk6 patch
f133c9
- fix repolib
f133c9
f133c9
* Sun Jun 15 2008 David Walluck <dwalluck@redhat.com> 0:1.7.0-8.jpp5
f133c9
- fix duplicate files
f133c9
- correctly unpack sources
f133c9
- remove spurious gnu-crypto requirement
f133c9
- remove spurious javadoc package requirements
f133c9
- fix javadoc directory
f133c9
- fix build-classpath call
f133c9
- use macros
f133c9
f133c9
* Fri May 30 2008 Permaine Cheung <pcheung@redhat.com> - 0:1.7.0-7
f133c9
- First JPP5 build
f133c9
f133c9
* Tue Jul 24 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.7.0-6jpp
f133c9
- Make Vendor, Distribution based on macro
f133c9
- Fix aot build
f133c9
- Add poms and depmap frags
f133c9
- Build with maven1 by default
f133c9
- Add manual subpackage when built with maven
f133c9
f133c9
* Tue Mar 13 2007 Vivek Lakshmanan <vivekl@redhat.com> - 0:1.7.0-2jpp.ep1.2
f133c9
- Fix repolib location
f133c9
f133c9
* Tue Mar 13 2007 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-2jpp.ep1.1
f133c9
- New repolib location
f133c9
f133c9
* Mon Mar 05 2007 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-2jpp.el4ep1.3
f133c9
- Remove pre section used for RHUG cleanup
f133c9
f133c9
* Tue Feb 20 2007 Vivek Lakshmanan <vivekl@redhat.com> - 0:1.7.0-2jpp.el4ep1.2
f133c9
- Add -brew suffix
f133c9
f133c9
* Fri Feb 17 2007 Vivek Lakshmanan <vivekl@redhat.com> - 0:1.7.0-2jpp.el4ep1.1
f133c9
- Add repolib support
f133c9
f133c9
* Thu Aug 17 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-5jpp
f133c9
- Require what is used in post/postun for javadoc
f133c9
f133c9
* Fri Jul 14 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-4jpp
f133c9
- Add AOT bits
f133c9
f133c9
* Thu May 11 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-3jpp
f133c9
- Add header
f133c9
- Remove unecessary macro definitions
f133c9
f133c9
* Wed Feb 22 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-2jpp_1rh
f133c9
- Merge with upstream
f133c9
f133c9
* Wed Apr 27 2005 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-1jpp_3rh
f133c9
- Fix build so that collections jar is created
f133c9
f133c9
* Sat Jan 29 2005 Ralph Apel <r.apel@r-apel.de> - 0:1.7.0-2jpp
f133c9
- Use the "dist" target to get a full build, including bean-collections
f133c9
f133c9
* Thu Oct 21 2004 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-1jpp_1rh
f133c9
- Import from upstream
f133c9
f133c9
* Thu Oct 21 2004 Fernando Nasser <fnasser@redhat.com> - 0:1.7.0-1jpp
f133c9
- Upgrade to 1.7.0
f133c9
f133c9
* Fri Oct 1 2004 Andrew Overholt <overholt@redhat.com> 0:1.6.1-4jpp_6rh
f133c9
- add coreutils BuildRequires
f133c9
f133c9
* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:1.6.1-5jpp
f133c9
- Rebuild with ant-1.6.2
f133c9
f133c9
* Fri Jul 2 2004 Aizaz Ahmed <aahmed@redhat.com> 0:1.6.1-4jpp_5rh
f133c9
- Added trigger to restore symlinks that are removed if ugrading
f133c9
  from a commons-beanutils rhug package
f133c9
f133c9
* Fri Apr  2 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.6.1-4jpp_4rh
f133c9
- more of the same, for version-suffixed .jar files
f133c9
f133c9
* Fri Mar 26 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.6.1-4jpp_3rh
f133c9
- add RHUG upgrade cleanup
f133c9
f133c9
* Fri Mar  5 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.6.1-4jpp_2rh
f133c9
- RH vacuuming part II
f133c9
f133c9
* Thu Mar  4 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.6.1-4jpp_1rh
f133c9
- RH vacuuming
f133c9
f133c9
* Fri May 09 2003 David Walluck <david@anti-microsoft.org> 0:1.6.1-4jpp
f133c9
- update for JPackage 1.5
f133c9
f133c9
* Thu Feb 27 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.6.1-2jpp
f133c9
- fix ASF license and add packager name
f133c9
f133c9
* Wed Feb 19 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.6.1-1jpp
f133c9
- 1.6.1
f133c9
f133c9
* Thu Feb 13 2003 Henri Gomez <hgomez@users.sourceforge.net> 1.6-1jpp
f133c9
- 1.6
f133c9
f133c9
* Thu Oct 24 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.5-1jpp
f133c9
- 1.5
f133c9
f133c9
* Fri Aug 23 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.4.1-1jpp
f133c9
- 1.4.1
f133c9
f133c9
* Tue Aug 20 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.4-1jpp
f133c9
- 1.4
f133c9
f133c9
* Fri Jul 12 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.3-3jpp
f133c9
- change to commons-xxx.jar instead of commons-xxx.home in ant parameters
f133c9
f133c9
* Mon Jun 10 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.3-2jpp
f133c9
- use sed instead of bash 2.x extension in link area to make spec compatible
f133c9
  with distro using bash 1.1x
f133c9
f133c9
* Fri Jun 07 2002 Henri Gomez <hgomez@users.sourceforge.net> 1.3-1jpp
f133c9
- 1.3
f133c9
- added short names in %%{_javadir}, as does jakarta developpers
f133c9
- first jPackage release