java-junit3/java-junit3.spec
Silvan Calarco fa3b3c9c7f don't provide junit.jar
switch to installing prebuilt jar [release 3.8.2-4mamba;Fri Aug 10 2018]
2024-01-06 00:07:29 +01:00

51 lines
1.4 KiB
RPMSpec

Name: java-junit3
Version: 3.8.2
Release: 4mamba
Summary: Java regression test package
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://junit.org/
Source: http://central.maven.org/maven2/junit/junit/%{version}/junit-%{version}.jar
License: Common Public License 1.0
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Obsoletes: java-junit3-gcj
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Simple JVM framework to write repeatable tests.
%prep
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m 644 %{SOURCE0} %{buildroot}%{_javadir}/junit-%{version}.jar
ln -s junit-%{version}.jar %{buildroot}%{_javadir}/junit3.jar
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_javadir}/junit-%{version}.jar
%{_javadir}/junit3.jar
%changelog
* Fri Aug 10 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.2-4mamba
- don't provide junit.jar
- switch to installing prebuilt jar
* Fri Feb 25 2011 gil <puntogil@libero.it> 3.8.2-3mamba
- rebuilt with java-gcj-compat 1.0.80-20mamba support
- add maven 2 pom
* Fri Jun 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.2-2mamba
- rebuilt in devel
* Sat Feb 21 2009 gil <puntogil@libero.it> 3.8.2-1mamba
- package created by autospec