2007-02-12 23:53:11 +00:00
|
|
|
Name: junit
|
2014-06-09 08:18:30 +00:00
|
|
|
Epoch: 1
|
2014-06-08 09:24:12 +00:00
|
|
|
Version: 4.11
|
2014-06-09 08:18:30 +00:00
|
|
|
Release: 14%{?dist}
|
2007-02-12 23:53:11 +00:00
|
|
|
Summary: Java regression test package
|
|
|
|
License: CPL
|
2010-10-06 21:33:41 +00:00
|
|
|
URL: http://www.junit.org/
|
2012-01-24 09:24:57 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2013-06-21 08:16:09 +00:00
|
|
|
# ./clean-tarball.sh %{version}
|
|
|
|
Source0: %{name}-%{version}-clean.tar.gz
|
2012-01-31 13:44:25 +00:00
|
|
|
Source2: junit-OSGi-MANIFEST.MF
|
2013-08-02 08:16:32 +00:00
|
|
|
Source3: create-tarball.sh
|
|
|
|
|
2013-03-21 14:09:08 +00:00
|
|
|
# Removing hamcrest source jar references (not available and/or necessary)
|
|
|
|
Patch0: %{name}-no-hamcrest-src.patch
|
2012-01-24 09:24:57 +00:00
|
|
|
|
2007-02-12 23:53:11 +00:00
|
|
|
BuildRequires: ant
|
2012-01-24 09:24:57 +00:00
|
|
|
BuildRequires: ant-contrib
|
2014-05-21 16:27:56 +00:00
|
|
|
BuildRequires: java-devel
|
2012-01-24 09:24:57 +00:00
|
|
|
BuildRequires: hamcrest
|
2012-12-18 16:23:17 +00:00
|
|
|
BuildRequires: perl(Digest::MD5)
|
2012-01-24 09:24:57 +00:00
|
|
|
|
|
|
|
Requires: hamcrest
|
2014-05-21 16:27:56 +00:00
|
|
|
Requires: java-headless
|
2004-09-09 06:36:44 +00:00
|
|
|
|
|
|
|
%description
|
2012-01-24 09:24:57 +00:00
|
|
|
JUnit is a regression testing framework written by Erich Gamma and Kent Beck.
|
|
|
|
It is used by the developer who implements unit tests in Java. JUnit is Open
|
|
|
|
Source Software, released under the Common Public License Version 1.0 and
|
2012-12-18 16:23:17 +00:00
|
|
|
hosted on GitHub.
|
2004-09-09 06:36:44 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
%package manual
|
2007-02-12 23:53:11 +00:00
|
|
|
Summary: Manual for %{name}
|
2004-09-09 06:36:44 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
%description manual
|
|
|
|
Documentation for %{name}.
|
2004-09-09 06:36:44 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
%package javadoc
|
2007-02-12 23:53:11 +00:00
|
|
|
Summary: Javadoc for %{name}
|
2004-09-09 06:36:44 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
%description javadoc
|
|
|
|
Javadoc for %{name}.
|
2004-09-09 06:38:10 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
%package demo
|
2007-02-12 23:53:11 +00:00
|
|
|
Summary: Demos for %{name}
|
2014-06-09 08:18:30 +00:00
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
2004-09-09 06:38:10 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
%description demo
|
|
|
|
Demonstrations and samples for %{name}.
|
2004-09-09 06:36:44 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
%prep
|
2013-03-21 13:01:54 +00:00
|
|
|
%setup -q -n %{name}-r%{version}
|
2013-03-21 14:09:08 +00:00
|
|
|
%patch0 -p1
|
2013-08-19 10:25:21 +00:00
|
|
|
|
2013-03-21 13:01:54 +00:00
|
|
|
cp build/maven/junit-pom-template.xml pom.xml
|
2013-08-19 10:25:21 +00:00
|
|
|
# fix placeholder version in pom
|
|
|
|
%pom_xpath_set pom:project/pom:version "%{version}"
|
|
|
|
|
2013-03-21 13:47:03 +00:00
|
|
|
ln -s $(build-classpath hamcrest/core) lib/hamcrest-core-1.3.jar
|
2004-09-09 06:36:44 +00:00
|
|
|
|
2014-05-21 16:27:56 +00:00
|
|
|
# InaccessibleBaseClassTest fails with Java 8
|
|
|
|
sed -i /InaccessibleBaseClassTest/d src/test/java/org/junit/tests/AllTests.java
|
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
%build
|
2013-08-23 06:23:30 +00:00
|
|
|
ant dist -Dversion-status=
|
2004-09-09 06:36:44 +00:00
|
|
|
|
2012-01-31 13:44:25 +00:00
|
|
|
# inject OSGi manifest
|
|
|
|
mkdir -p META-INF
|
|
|
|
cp -p %{SOURCE2} META-INF/MANIFEST.MF
|
|
|
|
touch META-INF/MANIFEST.MF
|
2013-08-23 06:23:30 +00:00
|
|
|
zip -u %{name}%{version}/%{name}-%{version}.jar META-INF/MANIFEST.MF
|
2012-01-24 09:24:57 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
%install
|
|
|
|
# jars
|
2012-01-24 09:24:57 +00:00
|
|
|
install -d -m 755 %{buildroot}%{_javadir}
|
2013-08-23 06:23:30 +00:00
|
|
|
install -m 644 %{name}%{version}/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
2012-01-24 09:24:57 +00:00
|
|
|
|
|
|
|
# pom
|
|
|
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
|
|
install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
2013-03-21 14:09:08 +00:00
|
|
|
%add_maven_depmap
|
2012-01-24 09:24:57 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
# javadoc
|
2012-01-24 09:24:57 +00:00
|
|
|
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
2013-08-23 06:23:30 +00:00
|
|
|
cp -pr %{name}%{version}/javadoc/* %{buildroot}%{_javadocdir}/%{name}
|
2012-01-24 09:24:57 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
# demo
|
2012-01-24 09:24:57 +00:00
|
|
|
install -d -m 755 %{buildroot}%{_datadir}/%{name}/demo/%{name}
|
2006-07-23 02:14:22 +00:00
|
|
|
|
2013-08-23 06:23:30 +00:00
|
|
|
cp -pr %{name}%{version}/%{name}/* %{buildroot}%{_datadir}/%{name}/demo/%{name}
|
2007-02-12 23:53:11 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
|
2014-05-21 16:27:56 +00:00
|
|
|
%files -f .mfiles
|
2013-03-21 14:09:08 +00:00
|
|
|
%doc LICENSE README CODING_STYLE
|
2006-07-23 02:14:22 +00:00
|
|
|
|
2012-01-24 09:24:57 +00:00
|
|
|
%files demo
|
2013-03-21 14:09:08 +00:00
|
|
|
%doc LICENSE
|
2012-01-24 09:24:57 +00:00
|
|
|
%{_datadir}/%{name}
|
2004-09-09 06:36:44 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
%files javadoc
|
2013-03-21 14:09:08 +00:00
|
|
|
%doc LICENSE
|
2007-02-12 23:53:11 +00:00
|
|
|
%doc %{_javadocdir}/%{name}
|
2004-09-09 06:38:32 +00:00
|
|
|
|
2012-01-24 09:24:57 +00:00
|
|
|
%files manual
|
2013-03-21 14:09:08 +00:00
|
|
|
%doc LICENSE README CODING_STYLE
|
2013-08-23 06:23:30 +00:00
|
|
|
%doc junit%{version}/doc/*
|
2005-12-22 02:01:42 +00:00
|
|
|
|
2006-07-23 02:14:22 +00:00
|
|
|
%changelog
|
2014-06-09 08:18:30 +00:00
|
|
|
* Mon Jun 9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.11-14
|
|
|
|
- Add epoch as workaround for a bug in koji-shadow
|
|
|
|
|
2014-06-09 03:18:16 +00:00
|
|
|
* Mon Jun 9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.11-13
|
|
|
|
- Remove epoch
|
|
|
|
|
2014-06-08 09:16:57 +00:00
|
|
|
* Sun Jun 8 2014 Peter Robinson <pbrobinson@fedoraproject.org> 4.11-12
|
|
|
|
- Re-add Epoch. Once you have it you can't remove it as it breaks upgrade paths
|
|
|
|
|
2014-06-08 01:20:02 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-22 15:41:39 +00:00
|
|
|
* Thu May 22 2014 Alexander Kurtakov <akurtako@redhat.com> 4.11-10
|
|
|
|
- Update OSGi manifest to state 4.11.
|
|
|
|
|
2014-05-21 16:27:56 +00:00
|
|
|
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.11-9
|
|
|
|
- Update to current packaging guidelines
|
|
|
|
- Drop old Obsoletes/Provides for junit4 rename
|
|
|
|
- Disable test which fails with Java 8
|
|
|
|
|
2014-03-04 08:05:35 +00:00
|
|
|
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:4.11-8
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2013-08-23 06:23:30 +00:00
|
|
|
* Fri Aug 23 2013 Michal Srb <msrb@redhat.com> - 0:4.11-7
|
|
|
|
- Drop "-SNAPSHOT" from version ID
|
|
|
|
- See: https://lists.fedoraproject.org/pipermail/java-devel/2013-August/004923.html
|
|
|
|
|
2013-08-19 10:25:21 +00:00
|
|
|
* Mon Aug 19 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:4.11-6
|
|
|
|
- Fix version in pom.xml (#998266)
|
|
|
|
|
2013-08-02 08:16:32 +00:00
|
|
|
* Fri Aug 02 2013 Michal Srb <msrb@redhat.com> - 0:4.11-5
|
|
|
|
- Add create-tarball.sh script to SRPM
|
|
|
|
|
2013-06-28 11:34:42 +00:00
|
|
|
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:4.11-4
|
|
|
|
- Rebuild to regenerate API documentation
|
|
|
|
- Resolves: CVE-2013-1571
|
|
|
|
|
2013-06-21 08:16:09 +00:00
|
|
|
* Fri Jun 21 2013 Michal Srb <msrb@redhat.com> - 0:4.11-3
|
|
|
|
- Build from clean tarball
|
|
|
|
|
2013-05-06 09:57:49 +00:00
|
|
|
* Mon May 06 2013 Tomas Radej <tradej@redhat.com> - 0:4.11-2
|
|
|
|
- Removed uneeded dependencies
|
|
|
|
|
2013-03-21 14:09:08 +00:00
|
|
|
* Thu Mar 21 2013 Tomas Radej <tradej@redhat.com> - 0:4.11-1
|
|
|
|
- Updated to latest upstream version
|
|
|
|
|
2013-02-14 03:04:46 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:4.10-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-12-18 16:23:17 +00:00
|
|
|
* Tue Dec 18 2012 Michal Srb <msrb@redhat.com> - 0:4.10-7
|
|
|
|
- Build-time dependency perl-MD5 replaced with perl(Digest::MD5)
|
|
|
|
- Description cleanup (Resolves: #888389)
|
|
|
|
|
2012-07-19 16:46:50 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:4.10-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-04-30 13:08:55 +00:00
|
|
|
* Mon Apr 30 2012 Krzysztof Daniel <kdaniel@redhat.com> 0:4.10-5
|
|
|
|
- Update OSGi metadata to match 4.10.0 release.
|
|
|
|
|
2012-02-09 08:27:42 +00:00
|
|
|
* Thu Feb 09 2012 Harald Hoyer <harald@redhat.com> 4.10-4
|
2012-02-09 08:26:52 +00:00
|
|
|
- removed Conflicts with itsself
|
|
|
|
|
2012-01-31 13:44:25 +00:00
|
|
|
* Thu Jan 26 2012 Roland Grunberg <rgrunber@redhat.com> 0:4.8.2-3
|
|
|
|
- Add OSGi metadata to junit.jar manifest.
|
|
|
|
|
2012-01-26 15:36:32 +00:00
|
|
|
* Thu Jan 26 2012 Tomas Radej <tradej@redhat.com> - 0:4.10-2
|
|
|
|
- Fixed versioning
|
|
|
|
|
2012-01-24 09:24:57 +00:00
|
|
|
* Wed Jan 25 2012 Tomas Radej <tradej@redhat.com> - 0:4.10-1
|
|
|
|
- Updated to upstream 4.10
|
|
|
|
- Obsoleted junit4
|
|
|
|
- Epoch added
|
|
|
|
|
2012-01-13 06:36:46 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.2-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-09 15:03:04 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.2-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-10-06 21:33:41 +00:00
|
|
|
* Thu Oct 7 2010 Alexander Kurtakov <akurtako@redhat.com> 3.8.2-7
|
|
|
|
- Drop gcj support.
|
|
|
|
|
2009-07-25 04:12:53 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.2-6.4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 09:54:20 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.2-5.4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-07-09 20:15:25 +00:00
|
|
|
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.8.2-4.4
|
|
|
|
- drop repotag
|
|
|
|
|
2008-02-19 00:43:52 +00:00
|
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.8.2-4jpp.3
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-09-20 23:12:20 +00:00
|
|
|
* Thu Sep 20 2007 Deepak Bhole <dbhole@redhat.com> - 3.8.2-3jpp.3
|
|
|
|
- Fix location of stylesheet for javadocs
|
|
|
|
|
2007-09-20 22:10:41 +00:00
|
|
|
* Thu Sep 20 2007 Deepak Bhole <dbhole@redhat.com> - 3.8.2-3jpp.2
|
|
|
|
- Rebuild for ppc32 execmem issue and new build-id
|
|
|
|
|
2007-02-12 23:55:11 +00:00
|
|
|
* Mon Feb 12 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 3.8.2-3jpp.1.fc7
|
|
|
|
- Add dist tag
|
|
|
|
|
2007-02-12 23:53:11 +00:00
|
|
|
* Mon Feb 12 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 3.8.2-3jpp.1
|
|
|
|
- Committed on behalf of Tania Bento <tbento@redhat.com>
|
2007-02-12 23:53:43 +00:00
|
|
|
- Update per Fedora review process
|
|
|
|
- Resolves rhbz#225954
|
2007-02-12 23:53:11 +00:00
|
|
|
|
2006-08-10 22:35:41 +00:00
|
|
|
* Thu Aug 10 2006 Deepak Bhole <dbhole@redhat.com> - 0:3.8.2-3jpp.1
|
|
|
|
- Added missing requirements.
|
|
|
|
|
2006-08-10 09:09:12 +00:00
|
|
|
* Thu Aug 10 2006 Karsten Hopp <karsten@redhat.de> 0:3.8.2-2jpp_3fc
|
|
|
|
- Require(post/postun): coreutils
|
|
|
|
|
2013-03-21 13:47:03 +00:00
|
|
|
* Fri Jun 23 2006 Deepak Bhole <dbhole@redhat.com> - 0:3.8.2-2jpp_2fc
|
2006-07-24 04:10:46 +00:00
|
|
|
- Rebuilt.
|
|
|
|
|
2013-03-21 13:47:03 +00:00
|
|
|
* Thu Jun 22 2006 Deepak Bhole <dbhole@redhat.com> - 0:3.8.2-2jpp_1fc
|
2006-07-23 02:14:55 +00:00
|
|
|
- Upgrade to 3.8.2
|
2006-07-23 02:14:22 +00:00
|
|
|
- Added conditional native compilation.
|
|
|
|
- Fix path where demo is located.
|
2004-09-09 06:38:32 +00:00
|
|
|
|
2013-03-21 13:47:03 +00:00
|
|
|
* Fri Mar 03 2006 Ralph Apel <r.apel at r-apel.de> - 0:3.8.2-1jpp
|
2006-07-23 02:14:22 +00:00
|
|
|
- First JPP-1.7 release
|
2004-09-09 06:38:32 +00:00
|
|
|
|
2013-03-21 13:47:03 +00:00
|
|
|
* Mon Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:3.8.1-4jpp
|
2006-07-23 02:14:22 +00:00
|
|
|
- Rebuild with ant-1.6.2
|
2004-09-09 06:38:32 +00:00
|
|
|
* Fri May 09 2003 David Walluck <david@anti-microsoft.org> 0:3.8.1-3jpp
|
|
|
|
- update for JPackage 1.5
|
|
|
|
|
|
|
|
* Fri Mar 21 2003 Nicolas Mailhot <Nicolas.Mailhot (at) JPackage.org> 3.8.1-2jpp
|
|
|
|
- For jpackage-utils 1.5
|
|
|
|
|
|
|
|
* Fri Sep 06 2002 Henri Gomez <hgomez@users.sourceforge.net> 3.8.1-1jpp
|
|
|
|
- 3.8.1
|
2004-09-09 06:38:10 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
* Sun Sep 01 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 3.8-2jpp
|
|
|
|
- used original zip file
|
2004-09-09 06:38:00 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
* Thu Aug 29 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 3.8-1jpp
|
|
|
|
- 3.8
|
|
|
|
- group, vendor and distribution tags
|
2004-09-09 06:38:00 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
* Sat Jan 19 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 3.7-6jpp
|
|
|
|
- versioned dir for javadoc
|
|
|
|
- no dependencies for manual and javadoc packages
|
|
|
|
- stricter dependency for demo package
|
|
|
|
- additional sources in individual archives
|
|
|
|
- section macro
|
2004-09-09 06:36:57 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
* Sat Dec 1 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 3.7-5jpp
|
|
|
|
- javadoc in javadoc package
|
2004-09-09 06:36:57 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
* Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 3.7-4jpp
|
|
|
|
- fixed previous releases ...grrr
|
2004-09-09 06:36:57 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
* Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 3.7-3jpp
|
|
|
|
- added jpp extension
|
|
|
|
- removed packager tag
|
2004-09-09 06:36:57 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
* Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 3.7-2jpp
|
|
|
|
- first unified release
|
|
|
|
- s/jPackage/JPackage
|
2004-09-09 06:36:44 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
* Mon Sep 17 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 3.7-1mdk
|
|
|
|
- 3.7
|
|
|
|
- vendor tag
|
|
|
|
- packager tag
|
|
|
|
- s/Copyright/License/
|
|
|
|
- truncated description to 72 columns in spec
|
|
|
|
- spec cleanup
|
|
|
|
- used versioned jar
|
2007-02-12 23:53:11 +00:00
|
|
|
- moved demo files to %%{_datadir}/%%{name}
|
2004-09-09 06:36:44 +00:00
|
|
|
|
2004-09-09 06:38:32 +00:00
|
|
|
* Sat Feb 17 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 3.5-1mdk
|
|
|
|
- first Mandrake release
|