47 lines
1.3 KiB
RPMSpec
47 lines
1.3 KiB
RPMSpec
|
Name: java-junit
|
||
|
Version: 4.12
|
||
|
Release: 3mamba
|
||
|
Summary: Simple JVM framework to write repeatable tests
|
||
|
Group: System/Libraries
|
||
|
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: EPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
## AUTOBUILDREQ-END
|
||
|
Requires: java-hamcrest
|
||
|
Provides: junit
|
||
|
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}/junit.jar
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_javadir}/junit-%{version}.jar
|
||
|
%{_javadir}/junit.jar
|
||
|
|
||
|
%changelog
|
||
|
* Fri Aug 10 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12-3mamba
|
||
|
- don't obsolete java-junit4x packages
|
||
|
|
||
|
* Wed Aug 08 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12-2mamba
|
||
|
- provides/obsolete java-junit 43/45/47/48
|
||
|
|
||
|
* Wed Aug 08 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12-1mamba
|
||
|
- package created using the webbuild interface
|