Accepting request 139823 from Java:packages

- examples files are now 0644 to beeing able to fdupes them properly (bnc#784670)

OBS-URL: https://build.opensuse.org/request/show/139823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/antlr?expand=0&rev=23
This commit is contained in:
Stephan Kulow 2012-11-02 15:11:20 +00:00 committed by Git OBS Bridge
commit 63d99a5cfe
3 changed files with 26 additions and 26 deletions

View File

@ -1,7 +1,8 @@
# vim:fdm=marker:foldmarker=#>>>,#<<<:foldcolumn=6:
# #
# spec file for package antlr-bootstrap # spec file for package antlr-bootstrap
# #
# 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
@ -15,21 +16,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: antlr-bootstrap Name: antlr-bootstrap
%define non_bootstrap_name antlr %define non_bootstrap_name antlr
BuildRequires: fastjar gcc-gij gcc-java unzip zip
BuildRequires: ecj-bootstrap >= 0.570 BuildRequires: ecj-bootstrap >= 0.570
BuildRequires: fastjar
BuildRequires: gcc-gij
BuildRequires: gcc-java
BuildRequires: unzip
BuildRequires: zip
%define real_name antlr %define real_name antlr
Summary: Antlr for bootstrapping purposes Summary: Antlr for bootstrapping purposes
Version: 2.7.7 License: BSD-3-Clause and SUSE-Public-Domain
Release: 80
Url: http://www.antlr.org
Group: Development/Libraries/Java Group: Development/Libraries/Java
License: BSD-3-Clause ; SUSE-Public-Domain Version: 2.7.7
AutoReqProv: on Release: 0
Url: http://www.antlr.org
Source0: antlr-%{version}.tar.bz2 Source0: antlr-%{version}.tar.bz2
Source1: manifest.antlr Source1: manifest.antlr
# files for the source package # files for the source package
@ -145,6 +147,5 @@ delBinaryFiles
#%dir %{_javadir} #%dir %{_javadir}
%{_javadir}/%{name}*.jar %{_javadir}/%{name}*.jar
#<<< #<<<
# vim:fdm=marker:foldmarker=#>>>,#<<<:foldcolumn=6:
%changelog %changelog

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 31 10:23:55 UTC 2012 - mvyskocil@suse.com
- examples files are now 0644 to beeing able to fdupes them properly (bnc#784670)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 21 13:56:03 UTC 2011 - toddrme2178@gmail.com Thu Jul 21 13:56:03 UTC 2011 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package antlr # spec file for package antlr
# #
# 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
@ -20,11 +20,11 @@
Name: antlr Name: antlr
Version: 2.7.7 Version: 2.7.7
Release: 83 Release: 0
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
Summary: Another Tool for Language Recognition Summary: Another Tool for Language Recognition
Url: http://www.antlr.org/ License: GPL-2.0+ and SUSE-Public-Domain and MIT
Group: Development/Tools/Other Group: Development/Tools/Other
Url: http://www.antlr.org/
#Source0: http://www.antlr.org/download/antlr-2.7.4.tar.gz #Source0: http://www.antlr.org/download/antlr-2.7.4.tar.gz
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
Source1: %{name}-build.xml Source1: %{name}-build.xml
@ -60,7 +60,6 @@ or Java actions (you can use PCCTS 1.xx to generate C-based parsers).
# To not introduce arch dependent java package, lets have this in separate subpackage # To not introduce arch dependent java package, lets have this in separate subpackage
%package java %package java
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
Summary: ANother Tool for Language Recognition (Manual) Summary: ANother Tool for Language Recognition (Manual)
Group: Development/Tools/Other Group: Development/Tools/Other
Requires: java >= 1.6.0 Requires: java >= 1.6.0
@ -76,7 +75,6 @@ or Java actions (you can use PCCTS 1.xx to generate C-based parsers).
This package provides the Java runtime for antlr This package provides the Java runtime for antlr
%package manual %package manual
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
Summary: ANother Tool for Language Recognition (Manual) Summary: ANother Tool for Language Recognition (Manual)
Group: Development/Tools/Other Group: Development/Tools/Other
BuildArch: noarch BuildArch: noarch
@ -90,7 +88,6 @@ or Java actions (you can use PCCTS 1.xx to generate C-based parsers).
This package provides the manual and examples for antlr. This package provides the manual and examples for antlr.
%package javadoc %package javadoc
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
Summary: ANother Tool for Language Recognition (Java Documentation) Summary: ANother Tool for Language Recognition (Java Documentation)
Group: Development/Tools/Other Group: Development/Tools/Other
PreReq: coreutils PreReq: coreutils
@ -105,7 +102,6 @@ or Java actions (you can use PCCTS 1.xx to generate C-based parsers).
This package provides the Javadoc for antlr. This package provides the Javadoc for antlr.
%package devel %package devel
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
Summary: ANother Tool for Language Recognition (c++ runtime) Summary: ANother Tool for Language Recognition (c++ runtime)
Group: Development/Tools/Other Group: Development/Tools/Other
Requires: antlr Requires: antlr
@ -121,8 +117,6 @@ of antlr
%package -n python-%{name} %package -n python-%{name}
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
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
@ -137,7 +131,6 @@ ANTLR Python support was contributed (and is to be maintained) by Wolfgang
Haefelinger and Marq Kole. Haefelinger and Marq Kole.
%package csharp %package csharp
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
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
@ -215,6 +208,7 @@ install -d -m 0755 %{buildroot}%{_includedir}/%{name}
install -m 0644 lib/cpp/%{name}/*hpp %{buildroot}%{_includedir}/%{name} install -m 0644 lib/cpp/%{name}/*hpp %{buildroot}%{_includedir}/%{name}
### find duplicates ### ### find duplicates ###
find examples -type f | xargs chmod 0644
%fdupes -s examples %fdupes -s examples
%clean %clean
@ -250,8 +244,8 @@ rm -rf %{buildroot}
%doc %{_javadocdir}/%{name} %doc %{_javadocdir}/%{name}
%files devel %files devel
%defattr(-,root,root) %defattr(0644,root,root)
%{_libdir}/libantlr.a %attr(755,root,root) %{_libdir}/libantlr.a
%{_includedir}/%{name} %{_includedir}/%{name}
%files -n python-%{name} %files -n python-%{name}
@ -262,9 +256,9 @@ rm -rf %{buildroot}
%py_sitedir/%{name} %py_sitedir/%{name}
%files csharp %files csharp
%defattr(-,root,root) %defattr(0644,root,root)
%dir %{_datadir}/%{name}-%{version} %dir %{_datadir}/%{name}-%{version}
%{_datadir}/%{name}-%{version}/*dll %attr(755,root,root) %{_datadir}/%{name}-%{version}/*dll
%{_libdir}/*.dll %attr(755,root,root) %{_libdir}/*.dll
%changelog %changelog