diff --git a/autogen.changes b/autogen.changes index a9f2da7..1dcba99 100644 --- a/autogen.changes +++ b/autogen.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu May 5 07:10:15 UTC 2016 - mpluskal@suse.com + +- Rename devel package to libopts-devel +- Add corresponding obsoletion + +------------------------------------------------------------------- +Tue May 3 15:34:42 UTC 2016 - mpluskal@suse.com + +- Fix typo in preun script + ------------------------------------------------------------------- Tue Apr 19 08:38:13 UTC 2016 - mpluskal@suse.com diff --git a/autogen.spec b/autogen.spec index 1bc1dd2..34f6320 100644 --- a/autogen.spec +++ b/autogen.spec @@ -35,9 +35,11 @@ BuildRequires: libxml2-devel BuildRequires: makeinfo BuildRequires: pkg-config BuildRequires: xz +# Since shared library and devel package were split, we need to require +# libopts-devel untill all depending packages have fixed buildrequires7 +Requires: libopts-devel Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} -Requires: %{libname}-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -48,7 +50,7 @@ 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 +Summary: Shared library libopts Group: System/Libraries %description -n %{libname} @@ -60,12 +62,13 @@ must be kept synchronized in parallel tables. This package contains shared library libopts -%package -n %{libname}-devel -Summary: Development files for libopt +%package -n libopts-devel +Summary: Development files for libopts Group: Development/Languages/C and C++ +Obsoletes: %{libname}-devel < %{version}-%{release} Requires: %{libname} = %{version}-%{release} -%description -n %{libname}-devel +%description -n libopts-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. @@ -96,7 +99,7 @@ make %{?_smp_mflags} check %install_info --info-dir=%{_infodir} %{_infodir}/autogen.info%{ext_info} %preun -%install_info_delete --info-dir=%{_infodir} %%{_infodir}/autogen.info%{ext_info} +%install_info_delete --info-dir=%{_infodir} %{_infodir}/autogen.info%{ext_info} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig @@ -118,7 +121,7 @@ make %{?_smp_mflags} check %defattr(-,root,root) %{_libdir}/libopts.so.* -%files -n %{libname}-devel +%files -n libopts-devel %defattr(-,root,root) %{_libdir}/libopts.so %{_includedir}/*