diff --git a/README.md b/README.md index 3ea1b58..26f5721 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # java-junit +Simple JVM framework to write repeatable tests. + diff --git a/java-junit.spec b/java-junit.spec new file mode 100644 index 0000000..dcd588c --- /dev/null +++ b/java-junit.spec @@ -0,0 +1,46 @@ +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 +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 4.12-3mamba +- don't obsolete java-junit4x packages + +* Wed Aug 08 2018 Silvan Calarco 4.12-2mamba +- provides/obsolete java-junit 43/45/47/48 + +* Wed Aug 08 2018 Silvan Calarco 4.12-1mamba +- package created using the webbuild interface