Hello community, here is the log from the commit of package nested for openSUSE:Factory checked in at 2012-02-01 09:58:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nested (Old) and /work/SRC/openSUSE:Factory/.nested.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "nested", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/nested/nested.changes 2012-01-27 15:22:36.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.nested.new/nested.changes 2012-02-01 09:58:24.000000000 +0100 @@ -1,0 +2,9 @@ +Wed Jan 25 11:49:49 UTC 2012 - saschpe@suse.de + +- Spec cleanup: + * Reduce unneeded macro usage + * Removed outdated %clean section + * Fix some rpmlint issues (%find_lang) +- Removed scary service files + +------------------------------------------------------------------- Old: ---- _service _service:download_files:nested-1.2.2.tar.gz New: ---- nested-1.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nested.spec ++++++ --- /var/tmp/diff_new_pack.PELhmw/_old 2012-02-01 09:58:33.000000000 +0100 +++ /var/tmp/diff_new_pack.PELhmw/_new 2012-02-01 09:58:33.000000000 +0100 @@ -1,7 +1,8 @@ # # spec file for package nested # -# Copyright (c) Copyright 2011 Izaac Zavaleta +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 Izaac Zavaleta # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,60 +16,54 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -%define name nested -%define version 1.2.2 -%define unmangled_version 1.2.2 -%define release 1 +Name: nested +Version: 1.2.2 +Release: 0 Summary: Specialized editor for structured documents - -Name: %{name} -Version: %{version} -Release: %{release} License: GPL-2.0+ and Apache-2.0 Group: Productivity/Editors/Other Url: http://nestededitor.sourceforge.net/ -Source0: http://prdownloads.sourceforge.net/nestededitor/files/%{name}-%{unmangled_version}.tar.gz +Source0: http://downloads.sourceforge.net/project/nestededitor/%{name}-%{version}.tar.gz Source1: %{name}.desktop +BuildRequires: fdupes +BuildRequires: python-devel +BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build -Prefix: %{_prefix} %if 0%{?suse_version} >= 1210 -BuildRequires: fdupes python-devel python-distribute update-desktop-files -%else -BuildRequires: fdupes python-devel update-desktop-files +BuildRequires: python-distribute %endif -Requires: python-gtk, python-webkitgtk texlive texlive-latex netpbm -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 -BuildArch: noarch +Requires: netpbm +Requires: python-gtk +Requires: python-webkitgtk +Requires: texlive +Requires: texlive-latex +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")} -%endif +BuildArch: noarch %endif %description Nested is a specialized editor focused on creating structured documents such as reports, publications, presentations, books, etc. It is designed to help the user concentrate on writing content without been distracted by format or markup. It offers a rich WYSIWYM interface where the user writes plain text with a lightweight markup language. %prep -%setup -n %{name}-%{unmangled_version} +%setup -q %build -%{__python} setup.py build +python setup.py build %install -%{__python} setup.py install -O1 --prefix=%{_prefix} --root=%{buildroot} +python setup.py install --prefix=%{_prefix} --root=%{buildroot} mkdir -p %{buildroot}%{_datadir}/applications/ -cp %SOURCE1 %{buildroot}%{_datadir}/applications/ +cp %{SOURCE1} %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/pixmaps/ -%{__python} l10n/compile_mo.py +python l10n/compile_mo.py mkdir -p %{buildroot}%{_datadir}/locale mv l10n/mo/* %{buildroot}%{_datadir}/locale mkdir -p %{buildroot}%{_mandir}/man1 -%{__python} -B %{_builddir}/%{name}-%{version}/nested/txt2tags.py --target man \ ---infile %{_builddir}/%{name}-%{version}/nested/examples/Manpage/Manpage.t2t \ ---outfile %{_builddir}/%{name}-%{version}/nested/nested.1 +python -B %{_builddir}/%{name}-%{version}/nested/txt2tags.py --target man \ + --infile %{_builddir}/%{name}-%{version}/nested/examples/Manpage/Manpage.t2t \ + --outfile %{_builddir}/%{name}-%{version}/nested/nested.1 cp -p %{_builddir}/%{name}-%{version}/nested/nested.1 %{buildroot}%{_mandir}/man1 %if 0%{?suse_version} < 1210 cp %{buildroot}%{python_sitelib}/nested/nested.png %{buildroot}%{_datadir}/pixmaps/ @@ -77,48 +72,16 @@ %endif %suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop %fdupes %{buildroot}%{python_sitelib}/nested/ +%find_lang %{name} -%clean -rm -rf %{buildroot} - -%files +%files -f %name.lang %defattr(-,root,root,-) %doc CHANGELOG.txt LICENSE.txt %{_bindir}/nested %{_datadir}/applications/nested.desktop %{_datadir}/pixmaps/nested.png -%{_datadir}/locale//es/LC_MESSAGES/%{name}.mo -%dir %{python_sitelib}/nested -%dir %{python_sitelib}/nested/examples -%dir %{python_sitelib}/nested/icons -%dir %{python_sitelib}/nested/libraries -%dir %{python_sitelib}/nested/templates -%dir %{python_sitelib}/nested/themes -%if 0%{?suse_version} >= 1140 -%{python_sitelib}/nested-%{version}-py2.7.egg-info -%endif -%if 0%{?suse_version} <= 1130 -%{python_sitelib}/nested-%{version}-py2.6.egg-info -%endif -%{python_sitelib}/nested/*.pyc -%{python_sitelib}/nested/*.pyo -%{python_sitelib}/nested/export.py -%{python_sitelib}/nested/config.ini -%{python_sitelib}/nested/__init__.py -%{python_sitelib}/nested/nested_gui.py -%{python_sitelib}/nested/nested.svg -%{python_sitelib}/nested/t2t_highlight.py -%{python_sitelib}/nested/gui.glade -%{python_sitelib}/nested/logos.png -%{python_sitelib}/nested/examples/* -%{python_sitelib}/nested/libraries/* -%{python_sitelib}/nested/icons/* -%{python_sitelib}/nested/templates/* -%{python_sitelib}/nested/themes/* +%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo +%{python_sitelib}/* %{_mandir}/man1/%{name}.1.* -%attr(755,root,root) %{python_sitelib}/nested/txt2tags.py -%if 0%{?suse_version} <= 1140 -%{python_sitelib}/nested/nested.png -%endif %changelog ++++++ nested.rpmlintrc ++++++ --- /var/tmp/diff_new_pack.PELhmw/_old 2012-02-01 09:58:33.000000000 +0100 +++ /var/tmp/diff_new_pack.PELhmw/_new 2012-02-01 09:58:33.000000000 +0100 @@ -1,4 +1,2 @@ -addFilter("W: file-not-in-%lang") -addFilter("W: untranslated-desktop-file") addFilter("W: python-naming-policy-not-applied") addFilter("W: no-manual-page-for-binary") -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org