%global git_commit e0fdedc %global cluster olabini # Prevent brp-java-repack-jars from being run. %define __jar_repack %{nil} Name: jvyamlb Version: 0.2.5 Release: 22%{?dist} Summary: YAML processor for JRuby License: MIT URL: http://github.com/%{cluster}/%{name} Source0: %{url}/tarball/%{version}/%{cluster}-%{name}-%{git_commit}.tar.gz Patch0: javac-1.8.patch BuildArch: noarch BuildRequires: ant BuildRequires: ant-junit BuildRequires: bytelist BuildRequires: java-devel BuildRequires: jcodings BuildRequires: joda-time BuildRequires: jpackage-utils BuildRequires: junit Requires: bytelist Requires: java-headless Requires: jcodings Requires: joda-time %description YAML processor extracted from JRuby. %prep %setup -q -n %{cluster}-%{name}-%{git_commit} %patch0 -p1 find -name '*.class' -exec rm -f '{}' \; find -name '*.jar' -exec rm -f '{}' \; build-jar-repository -s -p lib joda-time bytelist jcodings %build %ant %install %__mkdir_p %{buildroot}%{_javadir} %__cp -p lib/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar %check %ant test %files %{_javadir}/* %doc LICENSE README CREDITS %changelog * Sun Jul 19 2020 Fabio Valentini - 0.2.5-22 - Set javac source and target to 1.8 to fix Java 11 builds. * Fri Jul 10 2020 Jiri Vanek - 0.2.5-21 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 * Wed Jan 29 2020 Fedora Release Engineering - 0.2.5-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.2.5-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.2.5-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.2.5-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.2.5-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.2.5-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.2.5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.2.5-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.2.5-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.2.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 21 2014 Michael Simacek - 0.2.5-10 - Remove version from JAR name * Sat Aug 03 2013 Fedora Release Engineering - 0.2.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.2.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.2.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.2.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.2.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Feb 09 2010 Victor G. Vasilyev - 0.2.5-4 - Fix the clean up code in the prep section - Fix typo * Thu Jan 28 2010 Victor G. Vasilyev - 0.2.5-3 - New upstream - name-version.jar is also provided - Use macros in all sections of the spec * Wed Feb 25 2009 Fedora Release Engineering - 0.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Dec 12 2008 Conrad Meyer - 0.2.5-1 - Newer version (0.2.5). * Sat Jul 19 2008 Conrad Meyer - 0.2.2-1 - Newer version. * Thu Apr 24 2008 Conrad Meyer - 0.1-2 - Add tests to check section. - Don't include version in jar filename. * Tue Apr 22 2008 Conrad Meyer - 0.1-1 - Initial RPM.