Hello community,
here is the log from the commit of package apache-commons-validator for
openSUSE:Factory checked in at 2014-07-16 16:49:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-validator (Old)
and /work/SRC/openSUSE:Factory/.apache-commons-validator.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-validator"
Changes:
--------
---
/work/SRC/openSUSE:Factory/apache-commons-validator/apache-commons-validator.changes
2014-06-30 22:49:37.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.apache-commons-validator.new/apache-commons-validator.changes
2014-07-16 16:49:36.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Jul 8 12:28:41 UTC 2014 - [email protected]
+
+- Cleanup with spec-cleaner and fix build on Factory.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-commons-validator.spec ++++++
--- /var/tmp/diff_new_pack.WBWzNw/_old 2014-07-16 16:49:37.000000000 +0200
+++ /var/tmp/diff_new_pack.WBWzNw/_new 2014-07-16 16:49:37.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package apache-commons-validator
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -14,48 +14,43 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# icecream 0
%define short_name commons-validator
-
Name: apache-%{short_name}
+Version: 1.3.1
+Release: 0
Summary: Apache Commons Validator
License: Apache-2.0
Group: Development/Libraries/Java
-Version: 1.3.1
-Release: 0
Url: http://commons.apache.org/commons/
Source0: %{short_name}-%{version}-src.tar.gz
Patch0: commons-validator-1.3.1-crosslink.patch
# https://issues.apache.org/jira/browse/VALIDATOR-303
Patch1: commons-validator-1.3.1-srcencoding.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildArch: noarch
-
BuildRequires: ant
BuildRequires: apache-commons-beanutils
+BuildRequires: apache-commons-collections
BuildRequires: apache-commons-logging
BuildRequires: jakarta-commons-digester
BuildRequires: java-devel
BuildRequires: junit
BuildRequires: oro
-%if 0%{?suse_version} == 1110
-BuildRequires: ant-apache-oro
-%endif
-
Requires: apache-commons-beanutils >= 1.5
+Requires: apache-commons-collections
Requires: apache-commons-logging >= 1.0.2
Requires: jakarta-commons-digester >= 1.3
Requires: oro >= 2.0.6
-%if 0%{?suse_version} == 1110
-Requires: ant-apache-oro
-%endif
-
Provides: %{short_name} = %{version}-%{release}
Obsoletes: %{short_name} < %{version}-%{release}
Provides: jakarta-%{short_name} = %{version}-%{release}
Obsoletes: jakarta-%{short_name} < %{version}-%{release}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
+%if 0%{?suse_version} == 1110
+BuildRequires: ant-apache-oro
+Requires: ant-apache-oro
+%endif
%description
A common issue when receiving data either electronically or from user
@@ -67,9 +62,10 @@
of validation rules.
%package javadoc
-PreReq: coreutils
Summary: Javadoc for jakarta-commons-validator
Group: Development/Libraries/Java
+# FIXME: use proper Requires(pre/post/preun/...)
+PreReq: coreutils
%description javadoc
A common issue when receiving data either electronically or from user
@@ -83,8 +79,6 @@
This package contains the javadoc documentation for the Jakarta Commons
Validator Package.
-
-
%prep
%setup -q -n %{short_name}-%{version}-src
%patch0 -p1
@@ -100,6 +94,7 @@
%build
export CLASSPATH=$(build-classpath \
+ commons-collections \
commons-logging \
commons-digester \
commons-beanutils \
@@ -110,6 +105,7 @@
%check
export CLASSPATH=$(build-classpath \
+ commons-collections \
commons-logging \
commons-digester \
commons-beanutils \
@@ -129,9 +125,6 @@
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
cp -pr dist/docs/api*/* %{buildroot}%{_javadocdir}/%{name}/
-%clean
-rm -rf %{buildroot}
-
%files
%defattr(-,root,root,-)
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]