Package assertj-core: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | Group: Development/Java BuildRequires: /proc rpm-build-java BuildRequires: jpackage-default # fedora bcond_with macro %define bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} %define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}} # redefine altlinux specific with and without %define with() %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}} %define without() %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}} # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %bcond_with bootstrap Name: assertj-core Version: 3.19.0 Release: alt1_3jpp11 Summary: Library of assertions similar to fest-assert License: ASL 2.0 URL: https://joel-costigliola.github.io/assertj/ Source0: https://github.com/joel-costigliola/assertj-core/archive/assertj-core-%{version}.tar.gz BuildArch: noarch BuildRequires: maven-local %if %{with bootstrap} BuildRequires: javapackages-bootstrap %else BuildRequires: mvn(junit:junit) BuildRequires: mvn(net.bytebuddy:byte-buddy) BuildRequires: mvn(org.hamcrest:hamcrest) BuildRequires: mvn(org.junit.jupiter:junit-jupiter-api) BuildRequires: mvn(org.opentest4j:opentest4j) %endif Source44: import.info %description A rich and intuitive set of strongly-typed assertions to use for unit testing (either with JUnit or TestNG). %package javadoc Group: Development/Java Summary: API documentation for %{name} BuildArch: noarch %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" "<groupId>org.assertj</groupId>" %pom_xpath_remove "pom:release" %pom_remove_plugin :maven-invoker-plugin %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 %pom_remove_plugin :yuicompressor-maven-plugin %pom_remove_plugin :bnd-maven-plugin %pom_remove_plugin :bnd-resolver-maven-plugin %pom_remove_plugin :maven-antrun-plugin %pom_remove_plugin :maven-jar-plugin %pom_remove_plugin :bnd-testing-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} %build %mvn_build -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.javadoc.source=1.8 -Dmaven.compiler.release=8 -Dproject.build.sourceEncoding=UTF-8 -P \!java9+ %install %mvn_install %files -f .mfiles %doc README.md CONTRIBUTING.md %doc --no-dereference LICENSE.txt %files javadoc -f .mfiles-javadoc %doc CONTRIBUTING.md %doc --no-dereference LICENSE.txt %changelog * Thu Jun 09 2022 Igor Vlasenko <viy@altlinux.org> 3.19.0-alt1_3jpp11 - new version * Thu Jun 10 2021 Igor Vlasenko <viy@altlinux.org> 3.17.2-alt1_2jpp11 - new version * Tue Jun 01 2021 Igor Vlasenko <viy@altlinux.org> 3.17.0-alt1_1jpp11 - new version * Thu Apr 29 2021 Igor Vlasenko <viy@altlinux.org> 3.8.0-alt1_7jpp11 - update * Sat May 25 2019 Igor Vlasenko <viy@altlinux.ru> 3.8.0-alt1_4jpp8 - new version * Tue Feb 05 2019 Igor Vlasenko <viy@altlinux.ru> 3.8.0-alt1_3jpp8 - fc29 update * Sun Apr 15 2018 Igor Vlasenko <viy@altlinux.ru> 3.8.0-alt1_2jpp8 - java update * Fri Nov 10 2017 Igor Vlasenko <viy@altlinux.ru> 3.8.0-alt1_1jpp8 - new version * Sun Oct 22 2017 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt1_3jpp8 - new jpp release * Tue Nov 22 2016 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt1_2jpp8 - new fc release * Fri Feb 12 2016 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt1_1jpp8 - added osgi provides |