Accepting request 687879 from home:jengelh:branches:Java:packages
- Make scriptlets POSIX sh compatible. - Trim filler wording from descriptions. OBS-URL: https://build.opensuse.org/request/show/687879 OBS-URL: https://build.opensuse.org/package/show/Java:packages/scala?expand=0&rev=7
This commit is contained in:
parent
892055fe5d
commit
d70e7bcbd0
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 23 08:27:59 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Make scriptlets POSIX sh compatible.
|
||||||
|
- Trim filler wording from descriptions.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 1 06:35:22 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
Fri Mar 1 06:35:22 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
24
scala.spec
24
scala.spec
@ -99,10 +99,10 @@ Obsoletes: %{base_name}-bootstrap
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Scala is a general purpose programming language designed to express common
|
Scala is a general purpose programming language designed to express
|
||||||
programming patterns in a concise, elegant, and type-safe way. It smoothly
|
common programming patterns in a concise and type-safe way. It
|
||||||
integrates features of object-oriented and functional languages. It is also
|
integrates features of object-oriented and functional languages. It
|
||||||
fully interoperable with Java.
|
is also interoperable with Java.
|
||||||
|
|
||||||
%package apidoc
|
%package apidoc
|
||||||
Summary: Documentation for the Scala programming language
|
Summary: Documentation for the Scala programming language
|
||||||
@ -114,16 +114,16 @@ object-oriented and functional programming. This package provides
|
|||||||
reference and API documentation for the Scala programming language.
|
reference and API documentation for the Scala programming language.
|
||||||
|
|
||||||
%package swing
|
%package swing
|
||||||
Summary: The swing library for the scala programming languages
|
Summary: The swing library for the Scala programming languages
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Requires: java >= 1.7
|
Requires: java >= 1.7
|
||||||
Requires: scala = %{version}-%{release}
|
Requires: scala = %{version}-%{release}
|
||||||
|
|
||||||
%description swing
|
%description swing
|
||||||
This package contains the swing library for the scala programming languages.
|
This package contains the swing library for the Scala programming languages.
|
||||||
This library is required to develop GUI-related applications in scala.
|
This library is required to develop GUI-related applications in Scala.
|
||||||
The release provided by this package is not the original version from upstream
|
The release provided by this package is not the original version from upstream
|
||||||
because this version is not compatible with JDK-1.7.
|
because this version is not compatible with JDK 1.7.
|
||||||
|
|
||||||
%package -n ant-%{name}
|
%package -n ant-%{name}
|
||||||
Summary: Development files for Scala
|
Summary: Development files for Scala
|
||||||
@ -134,7 +134,7 @@ Requires: scala = %{version}-%{release}
|
|||||||
%description -n ant-%{name}
|
%description -n ant-%{name}
|
||||||
Scala is a general purpose programming language for the JVM that blends
|
Scala is a general purpose programming language for the JVM that blends
|
||||||
object-oriented and functional programming. This package enables support for
|
object-oriented and functional programming. This package enables support for
|
||||||
the scala ant tasks.
|
the Scala ant tasks.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
@ -274,15 +274,15 @@ install -d %{buildroot}%{_mandir}/man1
|
|||||||
install -p -m 644 build/scaladoc/manual/man/man1/* %{buildroot}%{_mandir}/man1
|
install -p -m 644 build/scaladoc/manual/man/man1/* %{buildroot}%{_mandir}/man1
|
||||||
|
|
||||||
%post
|
%post
|
||||||
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
touch --no-create %{_datadir}/mime/packages >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
update-mime-database %{_datadir}/mime &> /dev/null || :
|
update-mime-database %{_datadir}/mime >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
update-mime-database %{?fedora:-n} %{_datadir}/mime >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user