Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[glibc] Add debuginfo handling, doc package. Contributes to JB#45154
  • Loading branch information
xfade committed Apr 26, 2019
1 parent 77e854d commit 4869567
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
3 changes: 3 additions & 0 deletions glibc.changes
@@ -1,3 +1,6 @@
* Fri Apr 26 2019 Niels Breet <niels.breet@jolla.com> - 2.28+git2
- Add debuginfo handling, doc package. Contributes to JB#45154

* Thu Apr 25 2019 Niels Breet <niels.breet@jolla.com> - 2.28+git1
- Update to 2.28. Fixes JB#45154
- Fixes CVE-2016-10739, CVE-2016-6261, CVE-2016-6263, CVE-2017-14062,
Expand Down
25 changes: 5 additions & 20 deletions glibc.spec
Expand Up @@ -5,7 +5,7 @@
Name: glibc

Summary: GNU C library shared libraries
Version: 2.28+git1
Version: 2.28+git2
Release: 0
License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
Group: System/Libraries
Expand Down Expand Up @@ -193,16 +193,6 @@ which can be helpful during program debugging.

If unsure if you need this, don't install this package.

%package debuginfo
Summary: Debug libraries from GNU C library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description debuginfo
The glibc-debug package contains debug libraries.

If unsure if you need this, don't install this package.

%package doc
Summary: Documentation for %{name}
Group: Documentation
Expand All @@ -212,7 +202,7 @@ Requires: %{name} = %{version}-%{release}
%{summary}.

%prep
rm -rf %{glibcsrcdir}
%setup -q -n %{glibcsrcdir}
xz -dc %SOURCE0 | tar -x

cd %{glibcsrcdir}
Expand Down Expand Up @@ -1131,11 +1121,6 @@ fi
%ghost %config(missingok,noreplace) /etc/sysconfig/nscd
%endif

%if 0%{?_enable_debug_packages}
%files debuginfo -f debuginfo.filelist
%ifarch %{debuginfocommonarches}
%ifnarch %{auxarches}
#%%files debuginfo-common -f debuginfocommon.filelist
%endif
%endif
%endif
%files doc
%defattr(-,root,root)
%{_docdir}/%{name}-%{version}

0 comments on commit 4869567

Please sign in to comment.