Accepting request 394026 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/394026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/autogen?expand=0&rev=39
This commit is contained in:
Dominique Leuenberger 2016-05-11 14:36:50 +00:00 committed by Git OBS Bridge
commit ed40f63eee
2 changed files with 21 additions and 7 deletions

View File

@ -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 Tue Apr 19 08:38:13 UTC 2016 - mpluskal@suse.com

View File

@ -35,9 +35,11 @@ BuildRequires: libxml2-devel
BuildRequires: makeinfo BuildRequires: makeinfo
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: xz 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(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq} Requires(preun): %{install_info_prereq}
Requires: %{libname}-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %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. must be kept synchronized in parallel tables.
%package -n %{libname} %package -n %{libname}
Summary: Shared library libopt Summary: Shared library libopts
Group: System/Libraries Group: System/Libraries
%description -n %{libname} %description -n %{libname}
@ -60,12 +62,13 @@ must be kept synchronized in parallel tables.
This package contains shared library libopts This package contains shared library libopts
%package -n %{libname}-devel %package -n libopts-devel
Summary: Development files for libopt Summary: Development files for libopts
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
Obsoletes: %{libname}-devel < %{version}-%{release}
Requires: %{libname} = %{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 AutoGen is a tool designed for generating program files that contain
repetitive text with varied substitutions. Its goal is to simplify the repetitive text with varied substitutions. Its goal is to simplify the
maintenance of programs that contain large amounts of repetitious text. 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} %install_info --info-dir=%{_infodir} %{_infodir}/autogen.info%{ext_info}
%preun %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 %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
@ -118,7 +121,7 @@ make %{?_smp_mflags} check
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libopts.so.* %{_libdir}/libopts.so.*
%files -n %{libname}-devel %files -n libopts-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libopts.so %{_libdir}/libopts.so
%{_includedir}/* %{_includedir}/*