Compare commits

...

No commits in common. 'c9' and 'stream-javapackages-tools-202201-rhel-9.1.0' have entirely different histories.

21
.gitignore vendored

@ -1 +1,20 @@
SOURCES/hamcrest-2.2.tar.gz /hamcrest-all-1.3.pom
/hamcrest-core-1.3.pom
/hamcrest-generator-1.3.pom
/hamcrest-integration-1.3.pom
/hamcrest-library-1.3.pom
/hamcrest-parent-1.3.pom
/hamcrest-text-1.3.pom
/hamcrest-*.tgz
/hamcrest-*/
/.project
/*.src.rpm
/noarch
/.build-*.log
/hamcrest-java-1.3.tar.gz
/hamcrest-2.1.tar.gz
/hamcrest-2.1.pom
/hamcrest-2.2~rc1.tar.gz
/hamcrest-2.2-rc1.pom
/hamcrest-2.2.tar.gz
/hamcrest-2.2.pom

@ -1 +0,0 @@
0083e68913e577762eeff193eec742dc5ff2a4f3 SOURCES/hamcrest-2.2.tar.gz

@ -1,35 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>2.2</version>
<name>Hamcrest</name>
<description>Core API and libraries of hamcrest matcher framework.</description>
<url>http://hamcrest.org/JavaHamcrest/</url>
<licenses>
<license>
<name>BSD License 3</name>
<url>http://opensource.org/licenses/BSD-3-Clause</url>
</license>
</licenses>
<developers>
<developer>
<id>joewalnes</id>
<name>Joe Walnes</name>
</developer>
<developer>
<id>npryce</id>
<name>Nat Pryce</name>
</developer>
<developer>
<id>sf105</id>
<name>Steve Freeman</name>
</developer>
</developers>
<scm>
<connection>git@github.com:hamcrest/JavaHamcrest.git</connection>
<url>https://github.com/hamcrest/JavaHamcrest</url>
</scm>
</project>

@ -4,28 +4,25 @@
Name: hamcrest Name: hamcrest
Version: 2.2 Version: 2.2
Release: 9%{?dist} Release: 8%{?dist}
Summary: Library of matchers for building test expressions Summary: Library of matchers for building test expressions
License: BSD License: BSD
URL: https://github.com/hamcrest/JavaHamcrest URL: https://github.com/hamcrest/JavaHamcrest
BuildArch: noarch BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
Source0: https://github.com/hamcrest/JavaHamcrest/archive/v%{upstream_version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/hamcrest/JavaHamcrest/archive/v%{upstream_version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: https://repo1.maven.org/maven2/org/hamcrest/hamcrest/%{upstream_version}/hamcrest-%{upstream_version}.pom Source1: https://repo1.maven.org/maven2/org/hamcrest/hamcrest/%{upstream_version}/hamcrest-%{upstream_version}.pom
Patch0: 0001-Fix-build-with-OpenJDK-11.patch Patch0: 0001-Fix-build-with-OpenJDK-11.patch
BuildRequires: maven-local
%if %{with bootstrap} %if %{with bootstrap}
BuildRequires: javapackages-bootstrap BuildRequires: javapackages-bootstrap
%else %else
BuildRequires: maven-local
BuildRequires: mvn(junit:junit) BuildRequires: mvn(junit:junit)
%endif %endif
Provides: hamcrest-core = %{version}-%{release}
Obsoletes: hamcrest-core < 1.3-32
Obsoletes: hamcrest-demo < 1.3-32
%description %description
Provides a library of matcher objects (also known as constraints or predicates) Provides a library of matcher objects (also known as constraints or predicates)
allowing 'match' rules to be defined declaratively, to be used in other allowing 'match' rules to be defined declaratively, to be used in other
@ -40,7 +37,7 @@ Javadoc for %{name}.
%prep %prep
%setup -q -n JavaHamcrest-%{upstream_version} %setup -q -n JavaHamcrest-%{upstream_version}
%patch -P 0 -p1 %patch0 -p1
rm -rf docs rm -rf docs
rm -rf *gradle* rm -rf *gradle*
@ -89,21 +86,17 @@ sed -i 's/\r//' LICENSE.txt
%license LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 2.2-9 * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-8
- Fix patch usage - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Nov 19 2024 Marián Konček <mkoncek@redhat.com> - 2.2-8
- Rebuild with regenerated Requires on Java
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.2-7 * Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2.2-7
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for java-17-openjdk as system jdk
Related: rhbz#1991688
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-6 * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-6
- Rebuild to workaround DistroBaker issue - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-5 * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-5
- Bootstrap Maven for CentOS Stream 9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jun 01 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-4 * Tue Jun 01 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-4
- Obsolete hamcrest-core and -demo - Obsolete hamcrest-core and -demo

@ -0,0 +1,2 @@
SHA512 (hamcrest-2.2.tar.gz) = 8120e4f4ad83ff41b8b8ede1fe0817eb8fce6f13072e932aff7fc8c9f64689698753ae47b9f024922d5ab0a5bf7bb88b9e1998064d69a58b8c418ab89200e66a
SHA512 (hamcrest-2.2.pom) = e48470aa7c3c1d3fe2cac3a7b218e07564ed7ce6e4eafc90433ae0ffb8e303322027092d2358b3e655ae1b5e58ea313249c8d3ceed9d550a655af8d890df6390
Loading…
Cancel
Save