- do not require mysql-connector-java, just recommend
to break some build cycles OBS-URL: https://build.opensuse.org/package/show/Java:packages/jython?expand=0&rev=7
This commit is contained in:
parent
870d8d879d
commit
e4c55ad82a
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 28 14:11:15 UTC 2012 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
- do not require mysql-connector-java, just recommend
|
||||||
|
to break some build cycles
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 11 13:01:53 UTC 2011 - mvyskocil@suse.cz
|
Fri Mar 11 13:01:53 UTC 2011 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
58
jython.spec
58
jython.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package jython
|
# spec file for package jython
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -13,6 +13,8 @@
|
|||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
%{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')}
|
%{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')}
|
||||||
|
|
||||||
@ -23,39 +25,39 @@
|
|||||||
|
|
||||||
Name: jython
|
Name: jython
|
||||||
Version: 2.2.1
|
Version: 2.2.1
|
||||||
Release: 1
|
Release: 0
|
||||||
Summary: A Java implementation of the Python language
|
Summary: A Java implementation of the Python language
|
||||||
License: ASL 1.1 and BSD and CNRI and JPython and Python
|
License: Apache-1.1 and BSD and CNRI and JPython and Python-2.0
|
||||||
URL: http://www.jython.org/
|
Group: Development/Languages/Python
|
||||||
Group: Development/Languages/Python
|
Url: http://www.jython.org/
|
||||||
# Use the included fetch-jython.sh script to generate the source drop
|
# Use the included fetch-jython.sh script to generate the source drop
|
||||||
# for jython 2.2.1
|
# for jython 2.2.1
|
||||||
# sh fetch-jython.sh \
|
# sh fetch-jython.sh \
|
||||||
# jython https://jython.svn.sourceforge.net/svnroot Release_2_2_1
|
# jython https://jython.svn.sourceforge.net/svnroot Release_2_2_1
|
||||||
#
|
#
|
||||||
Source0: %{name}-fetched-src-%{svn_tag}.tar.bz2
|
Source0: %{name}-fetched-src-%{svn_tag}.tar.bz2
|
||||||
Source2: fetch-%{name}.sh
|
Source2: fetch-%{name}.sh
|
||||||
Patch0: %{name}-cachedir.patch
|
Patch0: %{name}-cachedir.patch
|
||||||
# Make javadoc and copy-full tasks not depend upon "full-build"
|
# Make javadoc and copy-full tasks not depend upon "full-build"
|
||||||
# Also, copy python's license from source directory and not
|
# Also, copy python's license from source directory and not
|
||||||
# ${python.home}
|
# ${python.home}
|
||||||
Patch1: %{name}-nofullbuildpath.patch
|
Patch1: %{name}-nofullbuildpath.patch
|
||||||
Requires: jpackage-utils >= 1.5
|
Requires: jakarta-oro
|
||||||
Requires: jakarta-oro
|
Requires: jpackage-utils >= 1.5
|
||||||
Requires: servletapi5
|
Requires: libreadline-java >= 0.8.0-16
|
||||||
Requires: python >= %{cpython_version}
|
Requires: python >= %{cpython_version}
|
||||||
Requires: libreadline-java >= 0.8.0-16
|
Requires: servletapi5
|
||||||
Requires: mysql-connector-java
|
Recommends: mysql-connector-java
|
||||||
Requires: java >= 1.6.0
|
Requires: java >= 1.6.0
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: ht2html
|
BuildRequires: ht2html
|
||||||
BuildRequires: libreadline-java >= 0.8.0-16
|
BuildRequires: jakarta-oro
|
||||||
BuildRequires: mysql-connector-java
|
BuildRequires: java-devel >= 1.6.0
|
||||||
BuildRequires: jakarta-oro
|
BuildRequires: libreadline-java >= 0.8.0-16
|
||||||
BuildRequires: python >= %{cpython_version}
|
BuildRequires: mysql-connector-java
|
||||||
BuildRequires: pyxml >= %{pyxml_version}
|
BuildRequires: python >= %{cpython_version}
|
||||||
BuildRequires: servletapi5
|
BuildRequires: pyxml >= %{pyxml_version}
|
||||||
BuildRequires: java-devel >= 1.6.0
|
BuildRequires: servletapi5
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -134,8 +136,8 @@ development and in shipping products.
|
|||||||
|
|
||||||
%package demo
|
%package demo
|
||||||
Summary: Demonstration and samples for jython
|
Summary: Demonstration and samples for jython
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description demo
|
%description demo
|
||||||
This package contains demonstration and sample files for Jython.
|
This package contains demonstration and sample files for Jython.
|
||||||
@ -182,7 +184,6 @@ ant \
|
|||||||
-Dtargetver=1.3 \
|
-Dtargetver=1.3 \
|
||||||
copy-dist
|
copy-dist
|
||||||
|
|
||||||
|
|
||||||
# remove #! from python files
|
# remove #! from python files
|
||||||
pushd dist
|
pushd dist
|
||||||
for f in `find . -name '*.py'`
|
for f in `find . -name '*.py'`
|
||||||
@ -297,7 +298,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc LICENSE.txt README.txt
|
%doc LICENSE.txt README.txt
|
||||||
%doc %{name}-manual-%{version}
|
%doc %{name}-manual-%{version}
|
||||||
|
|
||||||
|
|
||||||
%files demo
|
%files demo
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ACKNOWLEDGMENTS NEWS LICENSE.txt README.txt
|
%doc ACKNOWLEDGMENTS NEWS LICENSE.txt README.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user