Hello community,
here is the log from the commit of package autogen for openSUSE:Factory checked in at 2016-05-02 10:42:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autogen (Old)
and /work/SRC/openSUSE:Factory/.autogen.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autogen"
Changes:
--------
--- /work/SRC/openSUSE:Factory/autogen/autogen.changes 2015-12-13 09:38:25.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.autogen.new/autogen.changes 2016-05-02 10:42:52.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Apr 19 08:38:13 UTC 2016 - mpluskal(a)suse.com
+
+- Split shared libraries (boo#976068)
+- Move info handling to preun section
+- Do not ship .la file
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ autogen.spec ++++++
--- /var/tmp/diff_new_pack.Ggl4ZW/_old 2016-05-02 10:42:53.000000000 +0200
+++ /var/tmp/diff_new_pack.Ggl4ZW/_new 2016-05-02 10:42:53.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package autogen
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -16,6 +16,7 @@
#
+%define libname libopts25
Name: autogen
Version: 5.18.7
Release: 0
@@ -35,15 +36,43 @@
BuildRequires: pkg-config
BuildRequires: xz
Requires(post): %{install_info_prereq}
-Requires(postun): %{install_info_prereq}
+Requires(preun): %{install_info_prereq}
+Requires: %{libname}-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
AutoGen is a tool designed for generating program files that contain
repetitive text with varied substitutions. Its goal is to simplify the
maintenance of programs that contain large amounts of repetitious text.
-This is especially valuable if there are several blocks of such text
-that must be kept synchronized in parallel tables.
+This is especially valuable if there are several blocks of such text that
+must be kept synchronized in parallel tables.
+
+%package -n %{libname}
+Summary: Shared library libopt
+Group: System/Libraries
+
+%description -n %{libname}
+AutoGen is a tool designed for generating program files that contain
+repetitive text with varied substitutions. Its goal is to simplify the
+maintenance of programs that contain large amounts of repetitious text.
+This is especially valuable if there are several blocks of such text that
+must be kept synchronized in parallel tables.
+
+This package contains shared library libopts
+
+%package -n %{libname}-devel
+Summary: Development files for libopt
+Group: Development/Languages/C and C++
+Requires: %{libname} = %{version}-%{release}
+
+%description -n %{libname}-devel
+AutoGen is a tool designed for generating program files that contain
+repetitive text with varied substitutions. Its goal is to simplify the
+maintenance of programs that contain large amounts of repetitious text.
+This is especially valuable if there are several blocks of such text that
+must be kept synchronized in parallel tables.
+
+This package contains devel files for libopts
%prep
%setup -q
@@ -56,31 +85,45 @@
make %{?_smp_mflags}
%install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+make %{?_smp_mflags} DESTDIR=%{buildroot} install
+find %{buildroot} -type f -name "*.la" -delete -print
%fdupes -s %{buildroot}%{_datadir}
%check
make %{?_smp_mflags} check
%post
-/sbin/ldconfig
-%install_info --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
+%install_info --info-dir=%{_infodir} %{_infodir}/autogen.info%{ext_info}
+
+%preun
+%install_info_delete --info-dir=%{_infodir} %%{_infodir}/autogen.info%{ext_info}
-%postun
-/sbin/ldconfig
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
+%post -n %{libname} -p /sbin/ldconfig
+%postun -n %{libname} -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc NEWS ChangeLog
-%{_bindir}/*
-%{_includedir}/*
-%{_libdir}/lib*
+%{_bindir}/autogen
+%{_bindir}/autoopts-config
+%{_bindir}/columns
+%{_bindir}/getdefs
+%{_bindir}/xml2ag
%{_libdir}/autogen
-%{_libdir}/pkgconfig/*.pc
-%{_mandir}/man?/*.gz
-%{_datadir}/aclocal/*
+%{_mandir}/man1/*%{ext_man}
+%{_infodir}/*%{ext_info}
%{_datadir}/autogen
-%{_infodir}/*.gz
+
+%files -n %{libname}
+%defattr(-,root,root)
+%{_libdir}/libopts.so.*
+
+%files -n %{libname}-devel
+%defattr(-,root,root)
+%{_libdir}/libopts.so
+%{_includedir}/*
+%{_mandir}/man3/*%{ext_man}
+%{_datadir}/aclocal/*
+%{_libdir}/pkgconfig/*.pc
%changelog