Hello community,

here is the log from the commit of package sdcc for openSUSE:Factory checked in 
at 2016-09-21 18:50:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sdcc (Old)
 and      /work/SRC/openSUSE:Factory/.sdcc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sdcc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/sdcc/sdcc.changes        2016-09-16 
11:00:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.sdcc.new/sdcc.changes   2016-09-21 
18:50:46.000000000 +0200
@@ -1,0 +2,9 @@
+Tue Sep 20 19:24:27 UTC 2016 - stefan.bru...@rwth-aachen.de
+
+- Spec file cleanup:
+  * disable non-free build, instead of deleting build files
+  * do not install bfd info, which conflicts with binutils package,
+    and is useless, as sdcc links libbfd statically
+  * cleanup %doc
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ sdcc.spec ++++++
--- /var/tmp/diff_new_pack.X1cAv9/_old  2016-09-21 18:50:48.000000000 +0200
+++ /var/tmp/diff_new_pack.X1cAv9/_new  2016-09-21 18:50:48.000000000 +0200
@@ -101,6 +101,7 @@
 CFLAGS="%{optflags} -fno-strict-aliasing" \
 %configure \
     --docdir=%{_docdir}/sdcc \
+    --disable-non-free \
     %if 0%{?suse_version} >= 1320
     --enable-doc
     %endif
@@ -113,8 +114,6 @@
 # install documentation
 mkdir -p %{buildroot}%{_docdir}/%{name}/sdas
 cp sdas/doc/* %{buildroot}%{_docdir}/%{name}/sdas
-cp ChangeLog %{buildroot}%{_docdir}/%{name}
-cp COPYING %{buildroot}%{_docdir}/%{name}
 
 mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp
 mv %{buildroot}%{_bindir}/*.el %{buildroot}%{_datadir}/emacs/site-lisp
@@ -122,9 +121,6 @@
 #remove useless file
 rm %{buildroot}%{_docdir}/%{name}/INSTALL.txt
 
-cp ChangeLog %{buildroot}%{_docdir}/%{name}
-cp COPYING %{buildroot}%{_docdir}/%{name}
-
 #remove strange suff (installed by mistake?)
 rm -rf %{buildroot}%{_includedir}
 rm -rf %{buildroot}%{_libdir}
@@ -132,6 +128,9 @@
 # remove non-free libraries, see doc/README.txt: Licenses
 rm -rf %{buildroot}%{_datadir}/%{name}/non-free/
 
+# remove documentation of bundled libbfd, conflicts with binutils
+rm %{buildroot}%{_infodir}/bfd.info*
+
 # duplicates
 %fdupes -s %{buildroot}%{_datadir}/%{name}/lib/src
 
@@ -143,19 +142,12 @@
 rm -rf %{buildroot}%{_datadir}/%{name}/non-free/lib/src/pic16/libdev/.deps
 %endif
 
-%post
-%install_info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
-
-%preun
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
-
-
 %files
 %defattr(-,root,root)
-%dir %{_docdir}/%{name}
-%{_docdir}/%{name}/ChangeLog
-%{_docdir}/%{name}/COPYING
-%{_docdir}/%{name}/README.txt
+%doc ChangeLog COPYING doc/README.txt
+%exclude %{_docdir}/%{name}/ucsim/
+%exclude %{_docdir}/%{name}/sdas/
+%exclude %{_docdir}/%{name}/*.pdf
 %{_bindir}/*
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/include
@@ -163,7 +155,6 @@
 %exclude %{_datadir}/%{name}/lib/src
 %dir %{_datadir}/emacs/site-lisp
 %{_datadir}/emacs/site-lisp/*.el
-%{_infodir}/bfd.info.gz
 
 %files libc-sources
 %defattr(-,root,root)


Reply via email to