Hello community,

here is the log from the commit of package rpmconf for openSUSE:Factory checked 
in at 2015-01-09 20:51:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpmconf (Old)
 and      /work/SRC/openSUSE:Factory/.rpmconf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rpmconf"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rpmconf/rpmconf.changes  2015-01-08 
23:02:01.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rpmconf.new/rpmconf.changes     2015-01-09 
20:51:14.000000000 +0100
@@ -1,0 +2,8 @@
+Fri Jan  9 12:37:28 UTC 2015 - [email protected]
+
+- Update to 1.0.6 (changes since 1.0.4):
+  * Let tito bump up version in docs/source/conf.py.
+  * Split to python class and CLI.
+  * Use rpm python api to get version.
+
+-------------------------------------------------------------------

Old:
----
  rpmconf-1.0.4-1.tar.gz

New:
----
  rpmconf-1.0.6-1.tar.gz

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

Other differences:
------------------
++++++ rpmconf.spec ++++++
--- /var/tmp/diff_new_pack.avir5v/_old  2015-01-09 20:51:15.000000000 +0100
+++ /var/tmp/diff_new_pack.avir5v/_new  2015-01-09 20:51:15.000000000 +0100
@@ -17,15 +17,19 @@
 
 
 Name:           rpmconf
-Version:        1.0.4
+Version:        1.0.6
 Release:        0
 Summary:        Tool to handle rpmnew and rpmsave files
 License:        GPL-3.0+
 Group:          System/Base
 Url:            https://github.com/xsuchy/rpmconf
-Source:         
https://github.com/xsuchy/rpmconf/archive/%{name}-%{version}-1.tar.gz
+Source:         
https://github.com/xsuchy/%{name}/archive/%{name}-%{version}-1.tar.gz
 BuildRequires:  docbook-utils-minimal
 BuildRequires:  docbook_3
+BuildRequires:  python3-Sphinx
+BuildRequires:  python3-devel
+BuildRequires:  python3-rpm
+Requires:       python3-%{name}
 Requires:       python3-rpm
 BuildArch:      noarch
 
@@ -34,25 +38,57 @@
 you what to do with them:
 Keep current version, place back old version, watch the diff or merge.
 
+%package -n python3-%{name}
+Summary:        Python interface for rpmconf
+Group:          Development/Languages/Python
+
+%description -n python3-%{name}
+Python interface of rpmconf.
+
+%package -n python3-%{name}-doc
+Summary:        Documentation of python interface for rpmconf
+Group:          Development/Languages/Python
+
+%description -n python3-%{name}-doc
+Documentation generated from code of python3-rpmconf.
+
 %prep
 %setup -q -n %{name}-%{name}-%{version}-1
-mv -f source/* .
-sed -i 's|%{_bindir}/rpm|/bin/rpm|g' %{name}.py
+sed -i 's|%{_bindir}/rpm|/bin/rpm|g' %{name}/%{name}.py
+sed -i 's/\(SPHINXBUILD \+= \+\).*$/\1sphinx-build-%{py3_ver}/g' docs/Makefile
 
 %build
+python3 setup.py build
 docbook2man %{name}.sgml
+make %{?_smp_mflags} -C docs html man
 
 %install
-install -D -m 0755 %{name}.py %{buildroot}%{_sbindir}/%{name}
-install -D -m 0644 %{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8
-
+python3 setup.py install --skip-build \
+  --install-scripts %{_sbindir}       \
+  --root %{buildroot}
+chmod a+x %{buildroot}%{python3_sitelib}/%{name}/%{name}.py
+install -Dm 0644 %{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8
+install -Dm 0644 docs/build/man/%{name}.3 %{buildroot}%{_mandir}/man3/%{name}.3
 mkdir -p %{buildroot}%{_datadir}/%{name}/
+find %{buildroot}%{_datadir} -type f -name ".buildinfo" -delete -print
 
 %files
 %defattr(-,root,root)
-%doc LICENSE README
-%{_sbindir}/%{name}
+%doc LICENSE README TODO
 %dir %{_datadir}/%{name}/
+%{_sbindir}/%{name}
 %{_mandir}/man8/%{name}.8*
 
+%files -n python3-%{name}
+%defattr(-,root,root)
+%doc LICENSE README TODO
+%{python3_sitelib}/%{name}/
+%{python3_sitelib}/%{name}-*.egg-info
+%{_mandir}/man3/%{name}.3*
+
+%files -n python3-%{name}-doc
+%defattr(-,root,root)
+%doc LICENSE README TODO
+%doc docs/build/html/
+
 %changelog

++++++ rpmconf-1.0.4-1.tar.gz -> rpmconf-1.0.6-1.tar.gz ++++++
++++ 3956 lines of diff (skipped)

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

Reply via email to