The package rpms/jmock.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/jmock.git/commit/?id=67f4bcf5740d....
Change:
+ExclusiveArch: %{java_arches} noarch
Thanks.
Full change:
============
commit 4623556b5be862f62f819e8995dbe0116dd9a15c
Author: Didik Supriadi <didiksupriadi41(a)fedoraproject.org>
Date: Sat Jul 23 02:15:41 2022 +0700
Change BR: jaxws-api to jakarta.xml.ws-api
Enable enforcer plugin
Signed-off-by: Didik Supriadi <didiksupriadi41(a)fedoraproject.org>
diff --git a/jmock.spec b/jmock.spec
index d83c604..9ce3b79 100644
--- a/jmock.spec
+++ b/jmock.spec
@@ -1,6 +1,6 @@
Name: jmock
Version: 2.12.0
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Java library for testing code with mock objects
License: BSD
URL:
http://www.jmock.org/
@@ -8,16 +8,16 @@ BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
Source0:
https://github.com/jmock-developers/jmock-library/archive/%{version}/%{na...
-
BuildRequires: maven-local
BuildRequires: mvn(cglib:cglib)
BuildRequires: mvn(com.google.auto.service:auto-service)
BuildRequires: mvn(com.google.code.findbugs:jsr305)
-BuildRequires: mvn(javax.xml.ws:jaxws-api)
+BuildRequires: mvn(jakarta.xml.ws:jakarta.xml.ws-api)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(net.bytebuddy:byte-buddy)
BuildRequires: mvn(org.apache-extras.beanshell:bsh)
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
+BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.codehaus.mojo:exec-maven-plugin)
BuildRequires: mvn(org.hamcrest:hamcrest)
BuildRequires: mvn(org.hamcrest:hamcrest-library)
@@ -43,105 +43,86 @@ The jMock library:
* plugs into your favorite test framework
* is easy to extend.
-
%package example
Summary: jMock Examples
-
%description example
jMock Examples.
-
%package imposters
Summary: jMock imposters
-
%description imposters
jMock imposters.
-
%package junit3
Summary: jMock JUnit 3 Integration
-
%description junit3
jMock JUnit 3 Integration.
-
%package junit4
Summary: jMock JUnit 4 Integration
-
%description junit4
jMock JUnit 4 Integration.
-
%package junit5
Summary: jMock JUnit 5 Integration
-
%description junit5
jMock JUnit 5 Integration.
-
%package legacy
Summary: jMock Legacy Plugins
-
%description legacy
Plugins that make it easier to use jMock with legacy code.
-
%package testjar
Summary: jMock Test Jar
-
%description testjar
Source for JAR files used in jMock Core tests.
-
%{?javadoc_package}
-
%prep
+# -p1: strip one level directory in patch
+# -n: base directory name
%autosetup -p1 -n %{name}-library-%{version}
-
# remove unnecessary dependency on parent POM
%pom_remove_parent
-
# remove maven plugins that are not required for RPM builds
-%pom_remove_plugin :maven-enforcer-plugin
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :nexus-staging-maven-plugin
%pom_remove_plugin -r :versions-maven-plugin
%pom_remove_plugin :maven-gpg-plugin testjar
-
+# change dep artifact
+%pom_change_dep :jaxws-api jakarta.xml.ws:jakarta.xml.ws-api jmock
# use correct maven artifact for @javax.annotations.Nullable
%pom_change_dep com.google.code.findbugs:annotations com.google.code.findbugs:jsr305
testjar
-
# don't install imposters-tests and parent package
%mvn_package :jmock-imposters-tests __noinstall
%mvn_package :jmock-parent __noinstall
-
%build
%mvn_build -s -- -Dmaven.test.failure.ignore=true
-
%install
%mvn_install
-
%files -f .mfiles-%{name}
%doc README*
%license LICENSE.txt
-
%files example -f .mfiles-%{name}-example
%files imposters -f .mfiles-%{name}-imposters
%files junit3 -f .mfiles-%{name}-junit3
%files junit4 -f .mfiles-%{name}-junit4
%files junit5 -f .mfiles-%{name}-junit5
%files legacy -f .mfiles-%{name}-legacy
-
%files testjar -f .mfiles-%{name}-testjar
%license LICENSE.txt
-
%changelog
+* Fri Jul 22 2022 Didik Supriadi <didiksupriadi41(a)fedoraproject.org> - 2.12.0-10
+- Change BR: jaxws-api to jakarta.xml.ws-api
+- Enable enforcer plugin
+
* Thu Jul 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.12.0-9
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
commit 512ef5568d98be71fad3b587ce4c1601d3b05da8
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Jul 21 15:18:40 2022 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/jmock.spec b/jmock.spec
index 6c4682d..d83c604 100644
--- a/jmock.spec
+++ b/jmock.spec
@@ -1,6 +1,6 @@
Name: jmock
Version: 2.12.0
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Java library for testing code with mock objects
License: BSD
URL:
http://www.jmock.org/
@@ -142,6 +142,9 @@ Source for JAR files used in jMock Core tests.
%changelog
+* Thu Jul 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.12.0-9
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
* Fri Jul 08 2022 Jiri Vanek <jvanek(a)redhat.com> - 2.12.0-8
- Rebuilt for Drop i686 JDKs
commit 67f4bcf5740dda08626b3e50be419c9efea61ed0
Author: Jiri <jvanek(a)redhat.com>
Date: Fri Jul 8 15:54:51 2022 +0200
Rebuilt for Drop i686 JDKs
https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
diff --git a/jmock.spec b/jmock.spec
index 874ae95..6c4682d 100644
--- a/jmock.spec
+++ b/jmock.spec
@@ -1,10 +1,11 @@
Name: jmock
Version: 2.12.0
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Java library for testing code with mock objects
License: BSD
URL:
http://www.jmock.org/
BuildArch: noarch
+ExclusiveArch: %{java_arches} noarch
Source0:
https://github.com/jmock-developers/jmock-library/archive/%{version}/%{na...
@@ -141,6 +142,9 @@ Source for JAR files used in jMock Core tests.
%changelog
+* Fri Jul 08 2022 Jiri Vanek <jvanek(a)redhat.com> - 2.12.0-8
+- Rebuilt for Drop i686 JDKs
+
* Sat Feb 05 2022 Jiri Vanek <jvanek(a)redhat.com> - 2.12.0-7
- Rebuilt for java-17-openjdk as system jdk