Hello community,

here is the log from the commit of package antlr for openSUSE:Factory
checked in at Thu Jul 28 16:17:29 CEST 2011.



--------
--- antlr/antlr.changes 2010-08-23 10:19:14.000000000 +0200
+++ /mounts/work_src_done/STABLE/antlr/antlr.changes    2011-07-21 
15:17:15.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jul 21 13:56:03 UTC 2011 - [email protected]
+  
+- Modify descriptions (fix for RPMLINT warnings)
+- Check for duplicate files (fix for RPMLINT warnings)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ antlr-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.qv47ui/_old  2011-07-28 16:16:19.000000000 +0200
+++ /var/tmp/diff_new_pack.qv47ui/_new  2011-07-28 16:16:19.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package antlr-bootstrap (Version 2.7.7)
+# spec file for package antlr-bootstrap
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -25,7 +25,7 @@
 %define       real_name antlr
 Summary:        Antlr for bootstrapping purposes
 Version:        2.7.7
-Release:        79
+Release:        80
 Url:            http://www.antlr.org
 Group:          Development/Libraries/Java
 License:        BSD3c ; Public Domain, Freeware

++++++ antlr.spec ++++++
--- /var/tmp/diff_new_pack.qv47ui/_old  2011-07-28 16:16:19.000000000 +0200
+++ /var/tmp/diff_new_pack.qv47ui/_new  2011-07-28 16:16:19.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package antlr (Version 2.7.7)
+# spec file for package antlr
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -15,15 +15,14 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 %define section free
 
 Name:           antlr
-Summary:        Another Tool for Language Recognition
 Version:        2.7.7
-Release:        79
+Release:        83
 License:        GPLv2+ ; Public Domain, Freeware ; MIT
+Summary:        Another Tool for Language Recognition
 Url:            http://www.antlr.org/
 Group:          Development/Tools/Other
 #Source0:      http://www.antlr.org/download/antlr-2.7.4.tar.gz
@@ -35,23 +34,23 @@
 Patch0:         %{name}-jedit.patch
 Patch1:         gcc45fix.diff
 Patch2:         fix-docpath.diff
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ant
-BuildRequires:  java-devel
-BuildRequires:  xml-commons-apis
+BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+BuildRequires:  java-devel
 BuildRequires:  libstdc++-devel
-BuildRequires:  python-devel
-%py_requires
 BuildRequires:  mono-core
 BuildRequires:  mono-data
 BuildRequires:  mono-devel
+BuildRequires:  python-devel
 BuildRequires:  unzip
-BuildRequires:  fdupes
-Requires:       jpackage-utils
+BuildRequires:  xml-commons-apis
 Requires:       %{name}-java
-Provides:       %{name}-bootstrap = %{version}-%{release}
-Obsoletes:      %{name}-bootstrap < %{version}-%{release}
+Requires:       jpackage-utils
+Provides:       %{name}-bootstrap = %{version}
+Obsoletes:      %{name}-bootstrap < %{version}
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%py_requires
 
 %description
 ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a
@@ -62,49 +61,70 @@
 # To not introduce arch dependent java package, lets have this in separate 
subpackage
 %package        java
 License:        GPLv2+ ; Public Domain, Freeware ; MIT
-Group:          Development/Tools/Other
 Summary:        ANother Tool for Language Recognition (Manual)
-BuildArch:      noarch
+Group:          Development/Tools/Other
 Requires:       java >= 1.6.0
 Provides:       file:/%{_javadir}/%{name}.jar
+BuildArch:      noarch
 
 %description    java
-Java runtime for antlr
+ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a
+language tool that provides a framework for constructing recognizers,
+compilers, and translators from grammatical descriptions containing C++
+or Java actions (you can use PCCTS 1.xx to generate C-based parsers).
+
+This package provides the Java runtime for antlr
 
 %package        manual
 License:        GPLv2+ ; Public Domain, Freeware ; MIT
-Group:          Development/Tools/Other
 Summary:        ANother Tool for Language Recognition (Manual)
+Group:          Development/Tools/Other
 BuildArch:      noarch
 
 %description    manual
-Manual and examples for antlr.
+ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a
+language tool that provides a framework for constructing recognizers,
+compilers, and translators from grammatical descriptions containing C++
+or Java actions (you can use PCCTS 1.xx to generate C-based parsers).
+
+This package provides the manual and examples for antlr.
 
 %package        javadoc
 License:        GPLv2+ ; Public Domain, Freeware ; MIT
-PreReq:         coreutils
-Group:          Development/Tools/Other
 Summary:        ANother Tool for Language Recognition (Java Documentation)
+Group:          Development/Tools/Other
+PreReq:         coreutils
 BuildArch:      noarch
 
 %description    javadoc
-Javadoc for antlr.
+ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a
+language tool that provides a framework for constructing recognizers,
+compilers, and translators from grammatical descriptions containing C++
+or Java actions (you can use PCCTS 1.xx to generate C-based parsers).
+
+This package provides the Javadoc for antlr.
 
 %package        devel
 License:        GPLv2+ ; Public Domain, Freeware ; MIT
-Group:          Development/Tools/Other
 Summary:        ANother Tool for Language Recognition (c++ runtime)
+Group:          Development/Tools/Other
 Requires:       antlr
 
 %description    devel
-C++ runtime (libantlr.a) and a headers files of antlr
+ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a
+language tool that provides a framework for constructing recognizers,
+compilers, and translators from grammatical descriptions containing C++
+or Java actions (you can use PCCTS 1.xx to generate C-based parsers).
+
+This package provides the C++ runtime (libantlr.a) and a headers files 
+of antlr
 
 %package -n     python-%{name}
 
 
 License:        GPLv2+ ; Public Domain, Freeware ; MIT
-Group:          Development/Tools/Other
 Summary:        ANother Tool for Language Recognition (python runtime)
+Group:          Development/Tools/Other
 Requires:       antlr
 %py_requires
 
@@ -118,10 +138,10 @@
 
 %package        csharp
 License:        GPLv2+ ; Public Domain, Freeware ; MIT
-Group:          Development/Tools/Other
 Summary:        ANother Tool for Language Recognition (python runtime)
-Requires:       mono-core
+Group:          Development/Tools/Other
 Requires:       antlr
+Requires:       mono-core
 
 %description    csharp
 To be able to build and use the C# language Lexers, Parsers and TreeParsers,
@@ -146,12 +166,11 @@
 %patch2 -p0
 # check for license problematic files:
 find | grep "\(ShowString.java$\|StreamConverter.java$\)" && exit 42
-%fdupes -s doc/ examples/
 
 %build
 ant -Dj2se.apidoc=%{_javadocdir}/java
 %configure
-%__make 
+make
 %py_compile lib/python/antlr
 
 %install
@@ -160,40 +179,43 @@
 # instead of fixing it, let's install it in %%install section
 
 #### jars ###
-%{__install} -d -m 0755 %{buildroot}%{_javadir}
-%{__cp} -a work/lib/%{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
-(cd %{buildroot}%{_javadir} && for jar in *-%{version}.jar; do %{__ln_s} -f 
${jar} `echo $jar| %{__sed} "s|-%{version}||g"`; done)
+install -d -m 0755 %{buildroot}%{_javadir}
+cp -a work/lib/%{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
+(cd %{buildroot}%{_javadir} && for jar in *-%{version}.jar; do ln -s -f ${jar} 
`echo $jar| sed "s|-%{version}||g"`; done)
 # compat symlink
-%{__install} -d -m 0755 %{buildroot}%{_datadir}/%{name}-%{version}/
-%{__ln_s} -f %{_javadir}/%{name}-%{version}.jar 
%{buildroot}%{_datadir}/%{name}-%{version}/%{name}.jar
+install -d -m 0755 %{buildroot}%{_datadir}/%{name}-%{version}/
+ln -s -f %{_javadir}/%{name}-%{version}.jar 
%{buildroot}%{_datadir}/%{name}-%{version}/%{name}.jar
 
 ### scripts ###
-%{__install} -d -m 0755 %{buildroot}%{_bindir}/
-%{__install} -m 0755 %{SOURCE2} %{buildroot}%{_bindir}/%{name}
-%{__install} -m 0755 scripts/%{name}-config %{buildroot}%{_bindir}/
+install -d -m 0755 %{buildroot}%{_bindir}/
+install -m 0755 %{SOURCE2} %{buildroot}%{_bindir}/%{name}
+install -m 0755 scripts/%{name}-config %{buildroot}%{_bindir}/
 
 ### javadoc ###
-%{__install} -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
-%{__cp} -ar work/api/* %{buildroot}%{_javadocdir}/%{name}
+install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
+cp -ar work/api/* %{buildroot}%{_javadocdir}/%{name}
 
 ### python runtime ###
-%{__install} -d -m 0755 %{buildroot}%{py_sitedir}/%{name}
-%{__cp} -a lib/python/antlr/* %{buildroot}%{py_sitedir}/%{name}
+install -d -m 0755 %{buildroot}%{py_sitedir}/%{name}
+cp -a lib/python/antlr/* %{buildroot}%{py_sitedir}/%{name}
 # compat symlink
-%{__ln_s} -f %{py_sitedir}/%{name}/*.py 
%{buildroot}%{_datadir}/%{name}-%{version}/
-%{__ln_s} -f %{py_sitedir}/%{name}/*.pyc 
%{buildroot}%{_datadir}/%{name}-%{version}/
+ln -s -f %{py_sitedir}/%{name}/*.py %{buildroot}%{_datadir}/%{name}-%{version}/
+ln -s -f %{py_sitedir}/%{name}/*.pyc 
%{buildroot}%{_datadir}/%{name}-%{version}/
 
 ### csharp runtime ###
-%{__install} -d -m 0755 %{buildroot}%{_libdir}
-%{__install} -m 0755 lib/*dll %{buildroot}%{_libdir}
+install -d -m 0755 %{buildroot}%{_libdir}
+install -m 0755 lib/*dll %{buildroot}%{_libdir}
 # compat symlink
-%{__ln_s} -f %{_libdir}/%{name}.astframe.dll 
%{buildroot}%{_datadir}/%{name}-%{version}/
-%{__ln_s} -f %{_libdir}/%{name}.runtime.dll  
%{buildroot}%{_datadir}/%{name}-%{version}/
+ln -s -f %{_libdir}/%{name}.astframe.dll 
%{buildroot}%{_datadir}/%{name}-%{version}/
+ln -s -f %{_libdir}/%{name}.runtime.dll  
%{buildroot}%{_datadir}/%{name}-%{version}/
 
 ### cpp runtime ###
-%{__install} -m 0644 lib/cpp/src/lib%{name}.a %{buildroot}%{_libdir}
-%{__install} -d -m 0755 %{buildroot}%{_includedir}/%{name}
-%{__install} -m 0644 lib/cpp/%{name}/*hpp %{buildroot}%{_includedir}/%{name}
+install -m 0644 lib/cpp/src/lib%{name}.a %{buildroot}%{_libdir}
+install -d -m 0755 %{buildroot}%{_includedir}/%{name}
+install -m 0644 lib/cpp/%{name}/*hpp %{buildroot}%{_includedir}/%{name}
+
+### find duplicates ###
+%fdupes -s examples
 
 %clean
 rm -rf %{buildroot}
@@ -207,7 +229,7 @@
 
 %files
 %defattr(0644,root,root,0755)
-%doc LICENSE.txt README.txt  CHANGES.txt
+%doc %attr(644,-,-) LICENSE.txt README.txt  CHANGES.txt
 %dir %{_datadir}/%{name}-%{version}
 %defattr(0755,root,root,0755)
 %{_bindir}/antlr


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to