From cea39be6da7b35dcae2501f51f03097837c1fce3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 00:07:19 +0100 Subject: [PATCH] don't obsolete java-junit4x packages [release 4.12-3mamba;Fri Aug 10 2018] --- README.md | 2 ++ java-junit.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 java-junit.spec 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