Hello community, here is the log from the commit of package jmock for openSUSE:Factory checked in at 2017-05-22 10:47:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jmock (Old) and /work/SRC/openSUSE:Factory/.jmock.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jmock" Mon May 22 10:47:11 2017 rev:16 rq:496595 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/jmock/jmock.changes 2015-04-02 15:57:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.jmock.new/jmock.changes 2017-05-22 10:48:32.703936590 +0200 @@ -1,0 +2,6 @@ +Fri May 19 10:44:05 UTC 2017 - [email protected] + +- New build dependency: javapackages-local +- spec cleaned using spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jmock.spec ++++++ --- /var/tmp/diff_new_pack.lGKzNK/_old 2017-05-22 10:48:33.323849216 +0200 +++ /var/tmp/diff_new_pack.lGKzNK/_new 2017-05-22 10:48:33.323849216 +0200 @@ -1,7 +1,7 @@ # # spec file for package jmock # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,6 @@ %define section free - Name: jmock Version: 1.2.0 Release: 0 @@ -31,18 +30,19 @@ Source2: jmock-cglib-1.2.0.pom Patch0: jmock-1.2.0-AssertMo.patch Patch1: jmock-1.2.0-build_xml.patch -BuildArch: noarch BuildRequires: ant >= 1.6 BuildRequires: ant-junit -BuildRequires: javapackages-tools -BuildRequires: junit >= 3.8.1 #BuildRequires: cglib >= 2.1.3 BuildRequires: asm >= 1.5.3 BuildRequires: cglib-nohook >= 2.1.3 +BuildRequires: java-devel +BuildRequires: javapackages-local +BuildRequires: javapackages-tools +BuildRequires: junit >= 3.8.1 Requires: asm >= 1.5.3 Requires: cglib >= 2.1.3 -BuildRequires: java-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description jMock is a library for testing Java code using mock objects. Mock @@ -56,8 +56,6 @@ * is easy to extend. - - %package javadoc Summary: Test Java code using mock objects Group: Development/Libraries/Java @@ -74,8 +72,6 @@ * is easy to extend. - - %package demo Summary: Test Java code using mock objects Group: Development/Libraries/Java @@ -92,13 +88,11 @@ * is easy to extend. - - %prep %setup -q find . -name "*.jar" | xargs rm -%patch0 -p0 -%patch1 -p0 +%patch0 +%patch1 # needs net.sf.cglib.asm. classes fron dropped cglib-nohook rm -rf src/test src/atest @@ -110,26 +104,26 @@ %install install -Dpm 644 build/%{name}-core-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}.jar + %{buildroot}%{_javadir}/%{name}.jar install -pm 644 build/%{name}-cglib-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}-cglib.jar + %{buildroot}%{_javadir}/%{name}-cglib.jar install -pm 644 build/%{name}-tests-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}-tests.jar + %{buildroot}%{_javadir}/%{name}-tests.jar # poms -install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} +install -d -m 755 %{buildroot}%{_mavenpomdir} install -pm 644 %{SOURCE1} \ - $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom + %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom #install -pm 644 %{SOURCE2} \ # $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-cglib.pom %add_maven_depmap # -install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name} -cp -pr build/javadoc-%{version}/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} +install -dm 755 %{buildroot}%{_javadocdir}/%{name} +cp -pr build/javadoc-%{version}/* %{buildroot}%{_javadocdir}/%{name} # -install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version} -cp -pr examples/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version} +install -dm 755 %{buildroot}%{_datadir}/%{name}-%{version} +cp -pr examples/* %{buildroot}%{_datadir}/%{name}-%{version} %files %defattr(0644,root,root,0755)
