Hello community,

here is the log from the commit of package epydoc for openSUSE:Factory checked 
in at 2017-11-12 17:59:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/epydoc (Old)
 and      /work/SRC/openSUSE:Factory/.epydoc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "epydoc"

Sun Nov 12 17:59:47 2017 rev:21 rq:540461 version:3.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/epydoc/epydoc.changes    2015-02-06 
10:52:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.epydoc.new/epydoc.changes       2017-11-12 
17:59:54.734138622 +0100
@@ -1,0 +2,6 @@
+Thu Nov  9 17:22:53 UTC 2017 - [email protected]
+
+- Explicitly use python2
+- Use new python packaging macros
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ epydoc.spec ++++++
--- /var/tmp/diff_new_pack.ZltHPm/_old  2017-11-12 17:59:55.602107007 +0100
+++ /var/tmp/diff_new_pack.ZltHPm/_new  2017-11-12 17:59:55.602107007 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package epydoc
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,22 +17,19 @@
 
 
 Name:           epydoc
-BuildRequires:  fdupes
-BuildRequires:  python-devel
+Version:        3.0.1
+Release:        0
 Summary:        Tool for Generating Python API Documentation
 License:        BSD-3-Clause
 Group:          Development/Tools/Doc Generators
-Version:        3.0.1
-Release:        0
+Url:            http://epydoc.sourceforge.net/
 Source0:        
http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
 Patch1:         epydoc_restructuredtext_Bug_578920.patch
 Patch2:         make-builds-reproducible.patch
-Url:            http://epydoc.sourceforge.net/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{py_requires}
-%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  python2-devel
 BuildArch:      noarch
-%endif
 
 %description
 Epydoc is a tool for generating API documentation for Python modules
@@ -43,20 +40,23 @@
 ReStructuredText, Javadoc, and plain text.
 
 %prep
-%setup
+%setup -q
 %patch1 -p1
 %patch2 -p1
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS" 
-python setup.py build
+export CFLAGS="%{optflags}"
+%python2_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT 
--record-rpm=INSTALLED_FILES
-%fdupes $RPM_BUILD_ROOT/%{_sharedir}
+%python2_install
+%fdupes %{buildroot}
 
-%files -f INSTALLED_FILES
-%defattr(-,root,root)
+%files
 %doc doc/* LICENSE.txt README.txt
+%{_bindir}/apirst2html.py
+%{_bindir}/epydoc
+%{_bindir}/epydocgui
+%{python2_sitelib}
 
 %changelog


Reply via email to