!8 Fix-licence-year

From: @xing_xing1992 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
This commit is contained in:
openeuler-ci-bot 2023-01-09 06:30:31 +00:00 committed by Gitee
commit f4e69ec2de
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 44 additions and 2 deletions

View File

@ -0,0 +1,39 @@
From 9dc7c994e48026394226bd8b373d55526fc543a2 Mon Sep 17 00:00:00 2001
From: Joel Costigliola <joel.costigliola@gmail.com>
Date: Sun, 30 Jul 2017 18:12:03 +1200
Subject: [PATCH] Fix licence year
---
src/main/java/org/assertj/core/api/HamcrestCondition.java | 2 +-
src/test/java/org/assertj/core/api/HamcrestConditionTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/assertj/core/api/HamcrestCondition.java b/src/main/java/org/assertj/core/api/HamcrestCondition.java
index e6e13aaf2..6f705cd5e 100644
--- a/src/main/java/org/assertj/core/api/HamcrestCondition.java
+++ b/src/main/java/org/assertj/core/api/HamcrestCondition.java
@@ -8,7 +8,7 @@
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
- * Copyright 2012-2015 the original author or authors.
+ * Copyright 2012-2017 the original author or authors.
*/
package org.assertj.core.api;
diff --git a/src/test/java/org/assertj/core/api/HamcrestConditionTest.java b/src/test/java/org/assertj/core/api/HamcrestConditionTest.java
index e63db3f6f..4c41a4190 100644
--- a/src/test/java/org/assertj/core/api/HamcrestConditionTest.java
+++ b/src/test/java/org/assertj/core/api/HamcrestConditionTest.java
@@ -8,7 +8,7 @@
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
- * Copyright 2012-2015 the original author or authors.
+ * Copyright 2012-2017 the original author or authors.
*/
package org.assertj.core.api;
--
2.39.0.windows.2

View File

@ -1,7 +1,7 @@
%bcond_with memoryfilesystem %bcond_with memoryfilesystem
Name: assertj-core Name: assertj-core
Version: 3.8.0 Version: 3.8.0
Release: 3 Release: 4
Summary: Library of assertions similar to fest-assert Summary: Library of assertions similar to fest-assert
License: ASL 2.0 License: ASL 2.0
URL: http://joel-costigliola.github.io/assertj/ URL: http://joel-costigliola.github.io/assertj/
@ -24,7 +24,7 @@ Summary: API documentation for %{name}
This package provides API documentation for %{name}. This package provides API documentation for %{name}.
%prep %prep
%setup -q -n assertj-%{name}-%{version} %autosetup -n assertj-%{name}-%{version} -p1
%pom_remove_parent %pom_remove_parent
%pom_xpath_inject "pom:project" "<groupId>org.assertj</groupId>" %pom_xpath_inject "pom:project" "<groupId>org.assertj</groupId>"
%pom_remove_plugin :maven-javadoc-plugin %pom_remove_plugin :maven-javadoc-plugin
@ -53,6 +53,9 @@ rm -r src/test/java/org/assertj/core/internal/{Paths*.java,paths}
%license LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Sat Jan 07 2023 xingxing<xingxing@xfusion.com> - 3.8.0-4
- Fix-licence-year
* Fri Nov 11 2022 xu_ping <xuping33@h-partners.com> - 3.8.0-3 * Fri Nov 11 2022 xu_ping <xuping33@h-partners.com> - 3.8.0-3
- Modify the source package to match the source url - Modify the source package to match the source url