Accepting request 232231 from Java:packages
Fix buidarch, permissions, and bytecode issues on SLES. (forwarded request 232216 from deadpoint) OBS-URL: https://build.opensuse.org/request/show/232231 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/antlr?expand=0&rev=29
This commit is contained in:
commit
fada8b6df5
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package antlr-bootstrap
|
# spec file for package antlr-bootstrap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 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
|
# 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
|
||||||
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 30 13:58:14 UTC 2014 - darin@darins.net
|
||||||
|
|
||||||
|
- Set buildarch on SLE_11 or the python subpackage is packaged
|
||||||
|
as noarch when they need be arch specific.
|
||||||
|
http://lists.opensuse.org/opensuse-packaging/2014-04/msg00055.html
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 29 12:54:39 UTC 2014 - darin@darins.net
|
||||||
|
|
||||||
|
- supporess bytecode version check on SLE
|
||||||
|
- fix perms for SLES
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 9 11:05:26 UTC 2013 - tchvatal@suse.com
|
Mon Sep 9 11:05:26 UTC 2013 - tchvatal@suse.com
|
||||||
|
|
||||||
|
15
antlr.spec
15
antlr.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package antlr
|
# spec file for package antlr
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 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
|
# 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
|
||||||
@ -49,6 +49,11 @@ Obsoletes: %{name}-bootstrap < %{version}
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%py_requires
|
%py_requires
|
||||||
|
|
||||||
|
# force package arch for SLE_11
|
||||||
|
%if 0%{?suse_version} == 1110
|
||||||
|
BuildArch: %{_arch}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a
|
ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a
|
||||||
language tool that provides a framework for constructing recognizers,
|
language tool that provides a framework for constructing recognizers,
|
||||||
@ -113,7 +118,6 @@ This package provides the C++ runtime (libantlr.a) and a headers files
|
|||||||
of antlr
|
of antlr
|
||||||
|
|
||||||
%package -n python-%{name}
|
%package -n python-%{name}
|
||||||
|
|
||||||
Summary: ANother Tool for Language Recognition (python runtime)
|
Summary: ANother Tool for Language Recognition (python runtime)
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Requires: antlr
|
Requires: antlr
|
||||||
@ -150,6 +154,9 @@ make
|
|||||||
# % {makeinstall}
|
# % {makeinstall}
|
||||||
# The upstream make install just installs a files to more or less random location
|
# The upstream make install just installs a files to more or less random location
|
||||||
# instead of fixing it, let's install it in %%install section
|
# instead of fixing it, let's install it in %%install section
|
||||||
|
%if 0%{?suse_version} == 1110
|
||||||
|
export NO_BRP_CHECK_BYTECODE_VERSION=true
|
||||||
|
%endif
|
||||||
|
|
||||||
#### jars ###
|
#### jars ###
|
||||||
install -d -m 0755 %{buildroot}%{_javadir}
|
install -d -m 0755 %{buildroot}%{_javadir}
|
||||||
@ -196,7 +203,7 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%doc %attr(644,-,-) LICENSE.txt README.txt CHANGES.txt
|
%doc LICENSE.txt README.txt CHANGES.txt
|
||||||
%dir %{_datadir}/%{name}-%{version}
|
%dir %{_datadir}/%{name}-%{version}
|
||||||
%defattr(0755,root,root,0755)
|
%defattr(0755,root,root,0755)
|
||||||
%{_bindir}/antlr
|
%{_bindir}/antlr
|
||||||
@ -217,7 +224,7 @@ rm -rf %{buildroot}
|
|||||||
%doc %{_javadocdir}/%{name}
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(0644,root,root)
|
%defattr(0644,root,root,0755)
|
||||||
%attr(755,root,root) %{_libdir}/libantlr.a
|
%attr(755,root,root) %{_libdir}/libantlr.a
|
||||||
%{_includedir}/%{name}
|
%{_includedir}/%{name}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user