Update to last sucessful build
OBS-URL: https://build.opensuse.org/package/show/zypp:Head/libzypp?expand=0&rev=636
This commit is contained in:
parent
4b02f205e1
commit
8f542d2ea4
3
libzypp-6.31.3.tar.bz2
Normal file
3
libzypp-6.31.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4dcc4f197c7ee9af37acf2b75b9f4351adabb6e7e3ff0f7ec45e9027fbc99cf1
|
||||
size 4974405
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:92f69315ce5df676761607aeb3cfdac9be099d575d3d2118a71963c5c77f5928
|
||||
size 4963112
|
389
libzypp.changes
389
libzypp.changes
@ -1,392 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 13 16:14:13 CEST 2010 - dheidler@suse.de
|
||||
|
||||
- Make MetaLinkParser accept InputStreams
|
||||
- Make MetaLinkParser accept Pathnames insted of strings
|
||||
- Fix MetaLinkv4 hash parsing
|
||||
- Add MetaLinkParser test
|
||||
- version 8.7.0 (7)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 11 17:06:17 CEST 2010 - ma@suse.de
|
||||
|
||||
- Use timeouts in plugin script communication.
|
||||
- Fix ExternalProgram to correctly remember exit status.
|
||||
- version 8.6.0 (5)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 10 01:13:40 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 8 08:43:02 UTC 2010 - dmacvicar@novell.com
|
||||
|
||||
- fix services not being linked to their file after being
|
||||
saved
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 7 09:02:26 CEST 2010 - jkupec@suse.cz
|
||||
|
||||
- Don't use aria2c for FTP (bnc #641328)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 6 15:39:59 UTC 2010 - dmacvicar@novell.com
|
||||
|
||||
- implementation for url resolver plugins
|
||||
- version 8.5.0 (5)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 6 16:54:15 CEST 2010 - dheidler@suse.de
|
||||
|
||||
- Use DownloadInHeaps as default, when there is nothing configured
|
||||
and when the target root is set to "/". (bnc#591476)
|
||||
- version 8.4.0 (4)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 28 17:12:51 CEST 2010 - dheidler@suse.de
|
||||
|
||||
- fixed replacing releasever (for fedora systems) - (bnc#637470)
|
||||
- version 8.3.0 (0)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 24 13:07:25 CEST 2010 - mls@suse.de
|
||||
|
||||
- fix metalink4 parsing [bnc#641484]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 23 01:13:45 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 20 15:31:31 UTC 2010 - dmacvicar@novell.com
|
||||
|
||||
- Allow per repository proxy settings like yum does.
|
||||
Including setting it to _none_ overriding the
|
||||
system proxy.
|
||||
Patch from Zhang, Qiang <qiang.z.zhang@intel.com>
|
||||
- version 8.2.1 (0)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 10 17:06:34 CEST 2010 - dheidler@suse.de
|
||||
|
||||
- fixed replacing basearch (for fedora systems) - (bnc#637473)
|
||||
- version 8.2.0 (0)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 10 11:57:29 CEST 2010 - ma@suse.de
|
||||
|
||||
- Report download failures in commit result (bnc#431854)
|
||||
- Fix Solvable::onSystemByUser returning true for uninstalled solvables.
|
||||
- version 8.1.3 (0)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 31 20:01:26 CEST 2010 - ma@suse.de
|
||||
|
||||
- Fix download-only not to omit source packages (bnc#635596)
|
||||
- version 8.1.2 (0)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 26 01:13:38 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 13 12:33:26 UTC 2010 - dmacvicar@novell.com
|
||||
|
||||
- fix basearch url variable
|
||||
- use the right release package name on fedora
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 10 13:18:08 CEST 2010 - ma@suse.de
|
||||
|
||||
- MediaDISK: Use blkid to verify disk volumes. (bnc#623226)
|
||||
- version 8.1.1 (0)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 8 01:13:37 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 5 01:13:53 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 3 16:17:04 CEST 2010 - ma@suse.de
|
||||
|
||||
- Fix memory leaks.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 2 11:58:57 CEST 2010 - ma@suse.de
|
||||
|
||||
- Enhance PoolItem interface to assist patch classification. (bnc#627316)
|
||||
- version 8.1.0 (0)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 15:38:00 CEST 2010 - ma@suse.de
|
||||
|
||||
- Fix bug in PoolQuery::addDependency
|
||||
- Disable MediaAria and enable MultiCurl as default http/ftp backend.
|
||||
MultiCurl implements MetaLink and Zsync support using libcurl. In
|
||||
case of trouble set ZYPP_MULTICURL=0 in the envirionment to disable
|
||||
the new backend.
|
||||
- version 8.0.1 (0)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 26 17:05:14 CEST 2010 - ma@suse.de
|
||||
|
||||
- Bump heads major version after 11.3 branched away.
|
||||
- version 8.0.0 (0)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 22 01:13:27 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 7 13:56:49 CEST 2010 - ma@suse.de
|
||||
|
||||
- Add PoolQuery for name, edition AND architecture in one go. (bnc#614362)
|
||||
- version 7.8.0 (6)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 5 13:03:57 CEST 2010 - ma@suse.de
|
||||
|
||||
- Fix requirement to /usr/bin/uuidgen (bnc#613304)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 4 01:13:29 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 29 17:46:13 CEST 2010 - ma@suse.de
|
||||
|
||||
- Fix CURLOPT_MAX_RECV_SPEED_LARGE expecting a curl_off_t argument.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 29 10:22:06 CEST 2010 - ma@suse.de
|
||||
|
||||
- Respect zypp.conf policy settings when solving for update.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 25 11:35:52 CEST 2010 - ma@suse.de
|
||||
|
||||
- Don't bloat logfile by logging install progess values.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 10 01:13:49 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 7 17:52:50 CEST 2010 - ma@suse.de
|
||||
|
||||
- Add missing Date constant declarations.
|
||||
- version 7.7.5 (6)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 7 11:46:58 CEST 2010 - ma@suse.de
|
||||
|
||||
- Prevent against daemons launched in rpm %post, that do not close
|
||||
their filedescriptors. Original fix was accidentally reverted.
|
||||
(bnc#174548)
|
||||
- version 7.7.4 (6)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 6 01:13:52 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 4 17:14:17 CEST 2010 - ma@suse.de
|
||||
|
||||
- Fix default evaluation of recommendations of installed
|
||||
packages (bnc#605490)
|
||||
- version 7.7.3 (6)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 3 01:14:08 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 21 20:00:55 CEST 2010 - ma@suse.de
|
||||
|
||||
- Fix broken IdStringType comparison (bnc#607572)
|
||||
- version 7.7.2 (6)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 20 21:01:05 CEST 2010 - ma@suse.de
|
||||
|
||||
- Fix packages provided via delta rpm being placed in
|
||||
the wrong package cache (bnc#607583)
|
||||
- version 7.7.1 (6)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 20 01:13:49 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 18 18:02:44 CEST 2010 - ma@suse.de
|
||||
|
||||
- Fix arch detection on sprac (bug #566291)
|
||||
- Arch: add sparc64v and sparcv9v and armv7l
|
||||
- RepoManager: refresh repo if last refresh is in the future (bnc#593617)
|
||||
- version 7.6.1 (6)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 17 15:25:14 CEST 2010 - ma@suse.de
|
||||
|
||||
- Fix package-manager-su to support LXDE (Andrea Florio) (bnc#582235)
|
||||
- Cleanup spec file (Pavol Rusnak)
|
||||
- version 7.6.0 (6)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 16 01:13:39 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 12 19:09:54 CEST 2010 - ma@suse.de
|
||||
|
||||
- Add methods to evaluate gpg geys expiration dates.
|
||||
- Export all rpmDb keys to the zypp trusted keyring in one go.
|
||||
- version 7.6.0 (6)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 12 17:35:44 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 9 01:13:45 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 8 01:13:43 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 7 01:13:55 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2 (Revision: 54959)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 5 14:49:39 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update zypp-po.tar.bz2 (Revision: 54959)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 4 01:13:43 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 3 18:12:36 CEST 2010 - ma@suse.de
|
||||
|
||||
- Improve solver.cleandepsOnRemove result by evaluating the install
|
||||
history to find packages installed on behalf of a user request (not
|
||||
auto added by the solver).
|
||||
- version 7.5.0 (5)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 1 01:13:43 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 30 01:13:46 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 29 17:10:29 CEST 2010 - ma@suse.de
|
||||
|
||||
- Cleanup when deleting packages. New zypp.conf expert option
|
||||
solver.cleandepsOnRemove telling whether the solver should per
|
||||
default try to remove packages exclusively required by the ones
|
||||
he's asked to delete (default false).
|
||||
- Resolver::cleandepsOnRemove API to allow applications to change
|
||||
the solver option.
|
||||
- version 7.4.0 (4)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 29 01:13:40 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 28 16:35:04 CEST 2010 - ma@suse.de
|
||||
|
||||
- Enable splitprovides on update.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 28 01:13:37 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 27 17:42:20 CEST 2010 - ma@suse.de
|
||||
|
||||
- Selectable: Classify broken but locked patch as isUnwanted (bnc#577118)
|
||||
- version 7.3.0 (2)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 27 11:25:17 CEST 2010 - ma@suse.de
|
||||
|
||||
- Use libudev to detect available cd/dvd devices (bnc#590707,fate#308980)
|
||||
- Fix specfile to BuildRequire libudev-devel.
|
||||
- version 7.2.0 (2)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 26 11:57:23 CEST 2010 - ma@suse.de
|
||||
|
||||
- Support URLs and ISOs ending on 'Media1', 'Media2', etc., when
|
||||
rewiting the URL to access a specific media number. By now only
|
||||
nanmes ending on 'CD' or 'DVD' were supported. (bnc#594850)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 23 01:13:34 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 21 01:13:38 CEST 2010 - ma@suse.de
|
||||
|
||||
- Update translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 16:56:59 CEST 2010 - ma@suse.de
|
||||
|
||||
- /etc/zypp/locks: Allow to specify edition ranges with
|
||||
solvable:name and dependencies.
|
||||
- version 7.1.1 (1)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 15 12:49:01 CEST 2010 - ma@suse.de
|
||||
|
||||
- Provide name of the lock holder in ZYppFactoryException. (bnc#580513)
|
||||
- version 7.1.0 (1)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 14 15:09:18 CEST 2010 - ma@suse.de
|
||||
|
||||
- Using boost-1.42 requires -fno-strict-aliasing (bnc#595545)
|
||||
- Bump major version for 11.3 development.
|
||||
- version 7.0.0 (0)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 13 14:36:31 CEST 2010 - ma@suse.de
|
||||
|
||||
- Fix parsing port from IPv6 URL (bnc#593385)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 26 19:23:59 CET 2010 - ma@suse.de
|
||||
|
||||
|
153
libzypp.spec
153
libzypp.spec
@ -1,32 +1,26 @@
|
||||
#
|
||||
# spec file for package libzypp (Version 8.7.0)
|
||||
# spec file for package libzypp
|
||||
#
|
||||
# Copyright (c) 2010 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/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: libzypp
|
||||
License: GPLv2+
|
||||
License: GPL v2 or later
|
||||
Group: System/Packages
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Autoreqprov: on
|
||||
Summary: Package, Patch, Pattern, and Product Management
|
||||
Version: 8.7.0
|
||||
Release: 1
|
||||
Version: 6.31.3
|
||||
Release: 0
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: %{name}-rpmlintrc
|
||||
Prefix: /usr
|
||||
Provides: yast2-packagemanager
|
||||
Obsoletes: yast2-packagemanager
|
||||
%if 0%{?suse_version}
|
||||
@ -34,20 +28,13 @@ Recommends: logrotate
|
||||
%endif
|
||||
BuildRequires: cmake
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: dejagnu
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: boost-devel dejagnu doxygen gcc-c++ gettext-devel graphviz hal-devel libxml2-devel
|
||||
|
||||
BuildRequires: libsatsolver-devel >= 0.14.17
|
||||
BuildRequires: libsatsolver-devel >= 0.14.13
|
||||
%if 0%{?suse_version}
|
||||
%requires_eq satsolver-tools
|
||||
%else
|
||||
Requires: satsolver-tools
|
||||
Requires: satsolver-tools
|
||||
%endif
|
||||
|
||||
# required for testsuite, webrick
|
||||
@ -60,23 +47,19 @@ BuildRequires: expat-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: rpm-devel
|
||||
Requires: /usr/bin/uuidgen
|
||||
BuildRequires: hicolor-icon-theme update-desktop-files rpm-devel
|
||||
Requires: uuid-runtime
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version}
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: popt-devel
|
||||
BuildRequires: rpm-devel
|
||||
BuildRequires: glib2-devel popt-devel dbus-glib-devel rpm-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?mandriva_version}
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: librpm-devel
|
||||
# uuidgen
|
||||
Requires: e2fsprogs
|
||||
Requires: e2fsprogs
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
@ -85,6 +68,7 @@ Requires: gpg2
|
||||
Requires: gnupg2
|
||||
%endif
|
||||
|
||||
%define min_aria_version 1.1.2
|
||||
# ---------------------------------------------------------------
|
||||
%if 0%{?suse_version} == 1110
|
||||
# (almost) common codebase, but on SLES11-SP1 (according to Rudi
|
||||
@ -93,23 +77,25 @@ Requires: gnupg2
|
||||
# from po/sle-zypp-po.tar.bz2.
|
||||
%define min_curl_version 7.19.0-11.22
|
||||
%define use_translation_set sle-zypp
|
||||
# No requirement, but as we'd use it in case it is present,
|
||||
# check for a sufficient version:
|
||||
Conflicts: aria2 < %{min_aria_version}
|
||||
# ---------------------------------------------------------------
|
||||
%else
|
||||
# ---------------------------------------------------------------
|
||||
# This is >=11.2 (better not sles11-sp1)
|
||||
# This is 11.2 (better not sles11-sp1)
|
||||
# need CURLOPT_REDIR_PROTOCOLS:
|
||||
%define min_curl_version 7.19.4
|
||||
# want aria2:
|
||||
Requires: aria2 >= %{min_aria_version}
|
||||
BuildRequires: aria2 >= %{min_aria_version}
|
||||
%endif
|
||||
# No requirement, but as we'd use it in case it is present,
|
||||
# check for a sufficient version:
|
||||
%define min_aria_version 1.1.2
|
||||
Conflicts: aria2 < %{min_aria_version}
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
%if 0%{?suse_version}
|
||||
Requires: libcurl4 >= %{min_curl_version}
|
||||
Requires: libcurl4 >= %{min_curl_version}
|
||||
%else
|
||||
Requires: libcurl >= %{min_curl_version}
|
||||
Requires: libcurl >= %{min_curl_version}
|
||||
%endif
|
||||
BuildRequires: libcurl-devel >= %{min_curl_version}
|
||||
|
||||
@ -128,24 +114,15 @@ Authors:
|
||||
Ladislav Slezak <lslezak@suse.cz>
|
||||
|
||||
%package devel
|
||||
License: GPLv2+
|
||||
Requires: libzypp = %{version}
|
||||
Requires: libxml2-devel
|
||||
Requires: openssl-devel
|
||||
Requires: rpm-devel
|
||||
Requires: glibc-devel
|
||||
Requires: zlib-devel
|
||||
Requires: bzip2
|
||||
Requires: popt-devel
|
||||
Requires: boost-devel
|
||||
Requires: libstdc++-devel
|
||||
Requires: libudev-devel
|
||||
Requires: libzypp == %{version}
|
||||
Requires: libxml2-devel openssl-devel rpm-devel glibc-devel zlib-devel
|
||||
Requires: bzip2 popt-devel dbus-1-devel glib2-devel hal-devel boost-devel libstdc++-devel
|
||||
Requires: cmake
|
||||
Requires: libcurl-devel >= %{min_curl_version}
|
||||
%if 0%{?suse_version}
|
||||
%requires_ge libsatsolver-devel
|
||||
%else
|
||||
Requires: libsatsolver-devel
|
||||
Requires: libsatsolver-devel
|
||||
%endif
|
||||
Summary: Package, Patch, Pattern, and Product Management - developers files
|
||||
Group: System/Packages
|
||||
@ -173,20 +150,20 @@ Authors:
|
||||
mkdir build
|
||||
cd build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
export CXXFLAGS="$CFLAGS"
|
||||
cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \
|
||||
-DDOC_INSTALL_DIR=%{_docdir} \
|
||||
-DLIB=%{_lib} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_SKIP_RPATH=1 \
|
||||
%{?use_translation_set:-DUSE_TRANSLATION_SET=%use_translation_set} \
|
||||
..
|
||||
make %{?_smp_mflags} VERBOSE=1
|
||||
make -C doc/autodoc %{?_smp_mflags}
|
||||
make -C po %{?_smp_mflags} translations
|
||||
make %{?jobs:-j %jobs} VERBOSE=1
|
||||
make -C doc/autodoc %{?jobs:-j %jobs}
|
||||
make -C po %{?jobs:-j %jobs} translations
|
||||
|
||||
%if 0%{?run_testsuite}
|
||||
make -C tests %{?_smp_mflags}
|
||||
make -C tests %{?jobs:-j %jobs}
|
||||
pushd tests
|
||||
LD_LIBRARY_PATH=$PWD/../zypp:$LD_LIBRARY_PATH ctest .
|
||||
popd
|
||||
@ -199,15 +176,12 @@ rm -rf "$RPM_BUILD_ROOT"
|
||||
cd build
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
make -C doc/autodoc install DESTDIR=$RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/repos.d
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zypp/services.d
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/media
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypp/plugins/services
|
||||
mkdir -p $RPM_BUILD_ROOT%{_var}/lib/zypp
|
||||
mkdir -p $RPM_BUILD_ROOT%{_var}/log/zypp
|
||||
mkdir -p $RPM_BUILD_ROOT%{_var}/cache/zypp
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/zypp/repos.d
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/zypp/services.d
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_usr}/lib/zypp
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_var}/lib/zypp
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_var}/log/zypp
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_var}/cache/zypp
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%suse_update_desktop_file -G "" -C "" package-manager
|
||||
@ -218,6 +192,7 @@ make -C po install DESTDIR=$RPM_BUILD_ROOT
|
||||
cd ..
|
||||
%{find_lang} zypp
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
if [ -f /var/cache/zypp/zypp.db ]; then rm /var/cache/zypp/zypp.db; fi
|
||||
@ -225,8 +200,8 @@ if [ -f /var/cache/zypp/zypp.db ]; then rm /var/cache/zypp/zypp.db; fi
|
||||
# convert old lock file to new
|
||||
# TODO make this a separate file?
|
||||
# TODO run the sript only when updating form pre-11.0 libzypp versions
|
||||
LOCKSFILE=%{_sysconfdir}/zypp/locks
|
||||
OLDLOCKSFILE=%{_sysconfdir}/zypp/locks.old
|
||||
LOCKSFILE=/etc/zypp/locks
|
||||
OLDLOCKSFILE=/etc/zypp/locks.old
|
||||
|
||||
is_old(){
|
||||
# if no such file, exit with false (1 in bash)
|
||||
@ -282,6 +257,7 @@ if is_old ${LOCKSFILE}
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
@ -289,34 +265,35 @@ rm -rf "$RPM_BUILD_ROOT"
|
||||
|
||||
%files -f zypp.lang
|
||||
%defattr(-,root,root)
|
||||
%dir %{_sysconfdir}/zypp
|
||||
%dir %{_sysconfdir}/zypp/repos.d
|
||||
%dir %{_sysconfdir}/zypp/services.d
|
||||
%config(noreplace) %{_sysconfdir}/zypp/zypp.conf
|
||||
%config(noreplace) %{_sysconfdir}/zypp/systemCheck
|
||||
%dir /etc/zypp
|
||||
%dir /etc/zypp/repos.d
|
||||
%dir /etc/zypp/services.d
|
||||
%config(noreplace) /etc/zypp/zypp.conf
|
||||
%config(noreplace) /etc/zypp/systemCheck
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/zypp-history.lr
|
||||
%{_usr}/lib/zypp
|
||||
%dir %{_var}/lib/zypp
|
||||
%dir %{_var}/log/zypp
|
||||
%dir %{_var}/cache/zypp
|
||||
%{_prefix}/lib/zypp
|
||||
%{_datadir}/zypp
|
||||
%{_datadir}/applications/package-manager.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/package-manager-icon.svg
|
||||
%{_datadir}/icons/hicolor/16x16/apps/package-manager-icon.png
|
||||
%{_datadir}/icons/hicolor/22x22/apps/package-manager-icon.png
|
||||
%{_datadir}/icons/hicolor/24x24/apps/package-manager-icon.png
|
||||
%{_datadir}/icons/hicolor/32x32/apps/package-manager-icon.png
|
||||
%{_datadir}/icons/hicolor/48x48/apps/package-manager-icon.png
|
||||
%{_bindir}/*
|
||||
%dir %{prefix}/lib/zypp
|
||||
%{prefix}/share/zypp
|
||||
%{prefix}/share/applications/package-manager.desktop
|
||||
%{prefix}/share/icons/hicolor/scalable/apps/package-manager-icon.svg
|
||||
%{prefix}/share/icons/hicolor/16x16/apps/package-manager-icon.png
|
||||
%{prefix}/share/icons/hicolor/22x22/apps/package-manager-icon.png
|
||||
%{prefix}/share/icons/hicolor/24x24/apps/package-manager-icon.png
|
||||
%{prefix}/share/icons/hicolor/32x32/apps/package-manager-icon.png
|
||||
%{prefix}/share/icons/hicolor/48x48/apps/package-manager-icon.png
|
||||
%{prefix}/bin/*
|
||||
%{_libdir}/libzypp*so.*
|
||||
%doc %{_mandir}/man5/locks.5.*
|
||||
%doc %_mandir/man5/locks.5.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libzypp.so
|
||||
%{_docdir}/%{name}
|
||||
%{_includedir}/zypp
|
||||
%{_datadir}/cmake/Modules/*
|
||||
%{prefix}/include/zypp
|
||||
%{prefix}/share/cmake/Modules/*
|
||||
%{_libdir}/pkgconfig/libzypp.pc
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user