commit c8d673aa6142791639ce2edc90765621f3504f69 Author: Adam Samalik Date: Fri May 5 17:11:27 2023 +0200 import sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..565b6d0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/assertj-core-3.13.2.tar.gz diff --git a/assertj-core.spec b/assertj-core.spec new file mode 100644 index 0000000..507d2b7 --- /dev/null +++ b/assertj-core.spec @@ -0,0 +1,94 @@ +Name: assertj-core +Version: 3.13.2 +Release: 2%{?dist} +Summary: Library of assertions similar to fest-assert +License: ASL 2.0 +URL: http://joel-costigliola.github.io/assertj/ +Source0: https://github.com/joel-costigliola/assertj-core/archive/assertj-core-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(cglib:cglib-nodep) +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api) +BuildRequires: mvn(org.mockito:mockito-core) + +%description +A rich and intuitive set of strongly-typed assertions to use for unit testing +(either with JUnit or TestNG). + +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +This package provides API documentation for %{name}. + +%prep +%setup -q -n assertj-core-assertj-core-%{version} + +%pom_remove_parent +%pom_xpath_inject "pom:project" "org.assertj" +%pom_xpath_remove "pom:release" + +%pom_remove_plugin :maven-javadoc-plugin +%pom_remove_plugin :maven-shade-plugin +%pom_remove_plugin :maven-dependency-plugin +%pom_remove_plugin :maven-enforcer-plugin +%pom_remove_plugin :jacoco-maven-plugin + +# package org.mockito.internal.util.collections does not exist +rm -rf ./src/test/java/org/assertj/core/error/ShouldContainString_create_Test.java + +%pom_remove_dep :memoryfilesystem +rm -r src/test/java/org/assertj/core/internal/{Paths*.java,paths} + +# test lib not in Fedora +%pom_remove_dep org.junit:junit-bom: + +%build +%mvn_build -f -- -Dproject.build.sourceEncoding=UTF-8 -P \!java9+ + +%install +%mvn_install + +%files -f .mfiles +%doc README.md CONTRIBUTING.md +%license LICENSE + +%files javadoc -f .mfiles-javadoc +%doc CONTRIBUTING.md +%license LICENSE + +%changelog +* Tue Nov 05 2019 Mikolaj Izdebski - 3.13.2-2 +- Mass rebuild for javapackages-tools 201902 + +* Tue Aug 06 2019 Marian Koncek - 3.13.2-1 +- Update to upstream version 3.13.2 + +* Thu Jun 06 2019 Marian Koncek - 3.12.2-1 +- Update to upstream version 3.12.2 + +* Fri May 24 2019 Mikolaj Izdebski - 3.8.0-3 +- Mass rebuild for javapackages-tools 201901 + +* Wed Feb 07 2018 Fedora Release Engineering - 3.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jul 28 2017 Mat Booth - 3.8.0-1 +- Update to latest version of assertj +- Disable tests due to missing deps in Fedora + +* Wed Jul 26 2017 Fedora Release Engineering - 2.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Feb 06 2017 Michael Simacek - 2.2.0-3 +- Add conditional for memoryfilesystem + +* Wed Feb 03 2016 Fedora Release Engineering - 2.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Sep 02 2015 Roman Mohr - 2.2.0-1 +- Initial packaging diff --git a/sources b/sources new file mode 100644 index 0000000..569ad31 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (assertj-core-3.13.2.tar.gz) = 930672939aca0fcb2134d04cf582368943e971133e8ff1a9ea42d55affb5183cdd9faafc1d4530d424ec09e23dae137557ccd38350755e80f4667483ab499b30