Accepting request 74249 from zypp:Head

- Add configuration template for automatic kernel 
  purge (feature#312018) to zypp.conf

OBS-URL: https://build.opensuse.org/request/show/74249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libzypp?expand=0&rev=238
This commit is contained in:
Sascha Peilicke 2011-06-21 10:00:41 +00:00 committed by Git OBS Bridge
commit 87b5b1a7d3
3 changed files with 17 additions and 18 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:5d6800273adf3e3fcd1a51eb7f10f8b54967ee882dbdd40eb06249bd773dee73 oid sha256:79ea29ae698c8c3228302110d645f9958ecedad57250dceea539457087b07eba
size 4695223 size 4695885

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 21 10:44:47 CEST 2011 - dmacvicar@suse.de
- Add configuration template for automatic kernel
purge (feature#312018) to zypp.conf
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 14 13:38:00 CEST 2011 - ma@suse.de Tue Jun 14 13:38:00 CEST 2011 - ma@suse.de

View File

@ -1,30 +1,22 @@
# #
# spec file for package libzypp # spec file for package libzypp
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# #
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild # norootforbuild
Name: libzypp Name: libzypp
License: GPLv2 License: GPLv2
Group: System/Packages Group: System/Packages
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Package, Patch, Pattern, and Product Management Summary: Package, Patch, Pattern, and Product Management
Version: 9.8.1 Version: 9.8.1
Release: 1 Release: 0
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source1: %{name}-rpmlintrc Source1: %{name}-rpmlintrc
Provides: yast2-packagemanager Provides: yast2-packagemanager
@ -138,7 +130,6 @@ Authors:
Ladislav Slezak <lslezak@suse.cz> Ladislav Slezak <lslezak@suse.cz>
%package devel %package devel
Requires: libzypp = %{version} Requires: libzypp = %{version}
Requires: libxml2-devel Requires: libxml2-devel
Requires: openssl-devel Requires: openssl-devel
@ -158,14 +149,14 @@ Requires: cmake
%if 0%{?suse_version} %if 0%{?suse_version}
%if 0%{?suse_version} >= 1100 %if 0%{?suse_version} >= 1100
# Code11+ # Code11+
Requires: libcurl-devel >= %{min_curl_version} Requires: libcurl-devel >= %{min_curl_version}
%else %else
# Code10 # Code10
Requires: curl-devel Requires: curl-devel
%endif %endif
%else %else
# Other distros (Fedora) # Other distros (Fedora)
Requires: libcurl-devel >= %{min_curl_version} Requires: libcurl-devel >= %{min_curl_version}
%endif %endif
%if 0%{?suse_version} >= 1100 %if 0%{?suse_version} >= 1100
%requires_ge libsatsolver-devel %requires_ge libsatsolver-devel
@ -252,6 +243,7 @@ make -C po install DESTDIR=$RPM_BUILD_ROOT
cd .. cd ..
%{find_lang} zypp %{find_lang} zypp
%post %post
/sbin/ldconfig /sbin/ldconfig
if [ -f /var/cache/zypp/zypp.db ]; then rm /var/cache/zypp/zypp.db; fi if [ -f /var/cache/zypp/zypp.db ]; then rm /var/cache/zypp/zypp.db; fi
@ -316,6 +308,7 @@ if is_old ${LOCKSFILE}
done done
fi fi
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%clean %clean