Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| fb37e973c0 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e7ee31e9d865a1fcb16ce79eeb56427db7a7522f48ee7e4c7bd4d1671b09143
|
||||
size 9178289
|
||||
BIN
zypper-1.14.93.tar.bz2
LFS
Normal file
BIN
zypper-1.14.93.tar.bz2
LFS
Normal file
Binary file not shown.
329
zypper.changes
329
zypper.changes
@@ -1,3 +1,331 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 18 20:33:46 CEST 2025 - ma@suse.de
|
||||
|
||||
- Fix addrepo to handle explicit --check and --no-check requests
|
||||
(bsc#1246466)
|
||||
- Accept "show" as alias for "info" (bsc#1245985)
|
||||
- version 1.14.93
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 4 18:53:57 CEST 2025 - ma@suse.de
|
||||
|
||||
- sh: Reset solver options after command (bsc#1245496)
|
||||
- Explicitly selecting DownloadAsNeeded also selects the
|
||||
classic_rpmtrans backend.
|
||||
- version 1.14.92
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 18 12:26:40 CEST 2025 - ma@suse.de
|
||||
|
||||
- BuildRequires: libzypp-devel >= 17.37.6.
|
||||
Enhancements regarding mirror handling during repo refresh. Adapt
|
||||
to libzypp API changes. (bsc#1230267)
|
||||
- version 1.14.91
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 22 16:26:42 CEST 2025 - ma@suse.de
|
||||
|
||||
- BuildRequires: libzypp-devel >= 17.37.0.
|
||||
- Use libzypp improvements for preload and mirror handling.
|
||||
- xmlout.rnc: Update repo-element (bsc#1241463)
|
||||
Add the "metalink" attribute and reflect that the "url" elements
|
||||
list may in fact be empty, if no baseurls are defined in the
|
||||
.repo files.
|
||||
- man: update --allow-unsigned-rpm description.
|
||||
Explain how to achieve the same for packages provided by
|
||||
repositories.
|
||||
- version 1.14.90
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 30 12:56:34 CEST 2025 - ma@suse.de
|
||||
|
||||
- Updated translations (bsc#1230267)
|
||||
- version 1.14.89
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 13 16:50:20 CET 2025 - ma@suse.de
|
||||
|
||||
- Do not double encode URL strings passed on the commandline
|
||||
(bsc#1237587)
|
||||
URLs passed on the commandline must have their special chars
|
||||
encoded already. We just want to check and encode forgotten
|
||||
unsafe chars like a blank. A '%' however must not be encoded
|
||||
again.
|
||||
- version 1.14.88
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 28 16:38:40 CET 2025 - ma@suse.de
|
||||
|
||||
- Package preloader that concurrently downloads files. It's not yet
|
||||
enabled per default. To enable the preview set ZYPP_CURL2=1 and
|
||||
ZYPP_PCK_PRELOAD=1 in the environment. (#104)
|
||||
- BuildRequires: libzypp-devel >= 17.36.4.
|
||||
- version 1.14.87
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 27 23:53:31 CET 2025 - ma@suse.de
|
||||
|
||||
- refresh: add --include-all-archs (fixes #598)
|
||||
Future multi-arch repos may allow to download only those metadata
|
||||
which refer to packages actually compatible with the systems
|
||||
architecture. Some tools however want zypp to provide the full
|
||||
metadata of a repository without filtering incompatible
|
||||
architectures.
|
||||
- info,search: add option to search and list Enhances
|
||||
(bsc#1237949)
|
||||
- version 1.14.86
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 27 10:23:48 CET 2025 - ma@suse.de
|
||||
|
||||
- Annonunce --root in commands not launching a Target
|
||||
(bsc#1237044)
|
||||
- BuildRequires: libzypp-devel >= 17.36.3.
|
||||
- version 1.14.85
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 12 16:02:10 CET 2025 - ma@suse.de
|
||||
|
||||
- Let zypper dup fail in case of (temporarily) unaccessible repos
|
||||
(bsc#1228434, bsc#1236939, fixes #446)
|
||||
- version 1.14.84
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 19:02:26 CET 2025 - ma@suse.de
|
||||
|
||||
- New system-architecture command (bsc#1236384)
|
||||
Prints the detected system architecture.
|
||||
- version 1.14.83
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 16:19:54 CET 2025 - ma@suse.de
|
||||
|
||||
- requires: libzypp >= 17.36.0.
|
||||
- Change versioncmp command to return exit code according to the
|
||||
comparison result (#593)
|
||||
- version 1.14.82
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 22 18:05:15 CET 2025 - ma@suse.de
|
||||
|
||||
- lr: show the repositories keep-packages flag (bsc#1232458)
|
||||
It is shown in the details view or by using -k,--keep-packages.
|
||||
In addition libyzpp supports to enforce keeping downloaded
|
||||
packages of all repos within a package cache by creating a
|
||||
'.keep_packages' file there.
|
||||
- version 1.14.81
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 17 18:03:18 CET 2025 - ma@suse.de
|
||||
|
||||
- Try to refresh update repos first to have updated GPG keys on
|
||||
the fly (bsc#1234752)
|
||||
An update repo may contain a prolonged GPG key for the GA repo.
|
||||
Refreshing the update repo first updates a trusted key on the fly
|
||||
and avoids a 'key has expired' warning being issued when
|
||||
refreshing the GA repo.
|
||||
- Refresh: restore legacy behavior and suppress Exception
|
||||
reporting as non-root (bsc#1235636)
|
||||
- version 1.14.80
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 8 15:43:37 CET 2025 - ma@suse.de
|
||||
|
||||
- info: Allow to query a specific version (jsc#PED-11268)
|
||||
To query for a specific version simply append "-<version>" or
|
||||
"-<version>-<release>" to the "<name>" pattern. Note that the
|
||||
edition part must always match exactly.
|
||||
- version 1.14.79
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 12 14:43:45 CET 2024 - ma@suse.de
|
||||
|
||||
- Don't try to download missing raw metadata if cache is not
|
||||
writable (bsc#1225451)
|
||||
- man: Update 'search' command description.
|
||||
Hint to "se -v" showing the matches within the packages metadata.
|
||||
Explain that search strings starting with a "/" will implicitly
|
||||
look into the filelist as well. Otherfise an explicit "-f" is
|
||||
needed.
|
||||
- version 1.14.78
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 6 11:56:39 CEST 2024 - ma@suse.de
|
||||
|
||||
- API refactoring. Prevent zypper from using now private libzypp
|
||||
symbols (bsc#1230267)
|
||||
- BuildRequires: libzypp-devel >= 17.35.10.
|
||||
- Fix wrong numbers used in CommitSummary skipped/failed messages.
|
||||
- version 1.14.77
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 16:05:02 CEST 2024 - ma@suse.de
|
||||
|
||||
- Show rpm install size before installing (bsc#1224771)
|
||||
If filesystem snapshots are taken before the installation (e.g.
|
||||
by snapper) no disk space is freed by removing old packages. In
|
||||
this case the install size of all packages is a hint how much
|
||||
additional disk space is needed by the new packages static
|
||||
content.
|
||||
- version 1.14.76
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 14:06:51 CEST 2024 - ma@suse.de
|
||||
|
||||
- Fix readline setup to handle Ctrl-C and Ctrl-D corrrectly
|
||||
(bsc#1227205)
|
||||
- version 1.14.75
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 26 17:16:26 CEST 2024 - ma@suse.de
|
||||
|
||||
- Let_readline_abort_on_Ctrl-C (bsc#1226493)
|
||||
- packages: add '--system' to show @System packages (bsc#222971)
|
||||
- version 1.14.74
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 3 12:37:42 CEST 2024 - ma@suse.de
|
||||
|
||||
- Fixed check for outdated repo metadata as non-root user
|
||||
(bsc#1222086)
|
||||
- BuildRequires: libzypp-devel >= 17.33.0.
|
||||
- Delay zypp lock until command options are parsed (bsc#1223766)
|
||||
- version 1.14.73
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 29 12:41:23 CEST 2024 - ma@suse.de
|
||||
|
||||
- Unify message format(fixes #485)
|
||||
- version 1.14.72
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 24 07:42:28 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- switch cmake build type to RelWithDebInfo
|
||||
- modernize spec file (remove Authors section, use proper macros,
|
||||
remove redundant clean section, don't mark man pages as doc)
|
||||
- switch to -O2 -fvisibility=hidden -fpie:
|
||||
* PIC is not needed as no shared lib is built
|
||||
* fstack-protector-strong is default on modern dists and would
|
||||
be downgraded by fstack-protector
|
||||
* default visibility hidden allows better optimisation
|
||||
* O2 is reducing inlining bloat
|
||||
-> 18% reduced binary size
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 22 13:11:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- remove procps requires (was only for ZMD which is dropped)
|
||||
(jsc#PED-8153)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 13:02:18 CEST 2024 - ma@suse.de
|
||||
|
||||
- Do not try to refresh repo metadata as non-root user
|
||||
(bsc#1222086)
|
||||
Instead show refresh stats and hint how to update them.
|
||||
- man: Explain how to protect orphaned packages by collecting
|
||||
them in a plaindir repo.
|
||||
- packages: Add --autoinstalled and --userinstalled options to
|
||||
list them.
|
||||
- Don't print 'reboot required' message if download-only or
|
||||
dry-run (fixes #529)
|
||||
Instead point out that a reboot would be required if the option
|
||||
was not used.
|
||||
- Resepect zypper.conf option `showAlias` search commands
|
||||
(bsc#1221963)
|
||||
Repository::asUserString (or Repository::label) respects the
|
||||
zypper.conf option, while name/alias return the property.
|
||||
- version 1.14.71
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 25 17:48:54 CET 2024 - ma@suse.de
|
||||
|
||||
- dup: New option --remove-orphaned to remove all orphaned
|
||||
packages in dup (bsc#1221525)
|
||||
- version 1.14.70
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 22 18:09:02 CET 2024 - ma@suse.de
|
||||
|
||||
- info,summary: Support VendorSupportOption flag
|
||||
VendorSupportSuperseded (jsc#OBS-301, jsc#PED-8014)
|
||||
- BuildRequires: libzypp-devel >= 17.32.0.
|
||||
API cleanup and changes for VendorSupportSuperseded.
|
||||
- Show active dry-run/download-only at the commit propmpt.
|
||||
- patch: Add --skip-not-applicable-patches option (closes #514)
|
||||
- Fix printing detailed solver problem description.
|
||||
The problem description() is one rule out possibly many in
|
||||
completeProblemInfo() the solver has chosen to represent the
|
||||
problem. So either description or completeProblemInfo should be
|
||||
printed, but not both.
|
||||
- Fix bash-completion to work with right adjusted numbers in the
|
||||
1st column too (closes #505)
|
||||
- Set libzypp shutdown request signal on Ctrl+C (fixes #522)
|
||||
- lr REPO: In the detailed view show all baseurls not just the
|
||||
first one (bsc#1218171)
|
||||
- version 1.14.69
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 14 10:55:34 CET 2023 - ma@suse.de
|
||||
|
||||
- Fix search/info commands ignoring --ignore-unknown (bsc#1217593)
|
||||
The switch makes search commands return 0 rather than 104 for
|
||||
empty search results.
|
||||
- version 1.14.68
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 8 13:11:10 CET 2023 - ma@suse.de
|
||||
|
||||
- patch: Make sure reboot-needed is remembered until next boot
|
||||
(bsc#1217873)
|
||||
- version 1.14.67
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 12 14:30:36 CEST 2023 - ma@suse.de
|
||||
|
||||
- Return 104 also if info suggests near matches (fixes #504)
|
||||
- Rephrase upgrade message for openSUSE Tumbleweed (bsc#1212422)
|
||||
- Fix typo (fixes #484)
|
||||
- version 1.14.66
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 21 14:55:56 CEST 2023 - ma@suse.de
|
||||
|
||||
- Fix some typos and spelling errors found by Lintian (fixes #501)
|
||||
- Prefer unaliased `grep` to avoid unexpected/wrong completions.
|
||||
(#503)
|
||||
- commit: Insert a headline to separate output of different rpm
|
||||
scripts (bsc#1041742)
|
||||
- Fix typo in changes file.
|
||||
- version 1.14.65
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 5 18:35:23 CEST 2023 - ma@suse.de
|
||||
|
||||
- Fix name of the bash completion script (bsc#1215007)
|
||||
In 1.14.63 the location of the bash completion script was changed
|
||||
to /usr/share/bash-completion/completions/. But the patch failed
|
||||
to also rename the completion script. The original script name
|
||||
zypper.sh is not recognized at the new location.
|
||||
- Update notes about failing signature checks (bsc#1214395)
|
||||
It might be a transient issue if the server is in the midst of
|
||||
receiving new data. Retry after a few minutes might work.
|
||||
- Improve the SIGINT handler to be signal safe (bsc#1214292)
|
||||
This patch updates the SIGINT handling strategy to be signal
|
||||
safe. Meaning the signal handler will do not much more than
|
||||
setting a flag, which we are going to check in the normal program
|
||||
flow as much as possible.
|
||||
- version 1.14.64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 16 16:55:29 CEST 2023 - ma@suse.de
|
||||
|
||||
- Changed location of bash completion script (bsc#1213854).
|
||||
This changes the location of zypper.sh bash completion script
|
||||
from /usr/share/bash-completion/completions/.
|
||||
- version 1.14.63
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 28 12:29:23 CEST 2023 - ma@suse.de
|
||||
|
||||
@@ -3362,7 +3690,6 @@ Wed Jun 8 13:11:23 CEST 2011 - ma@suse.de
|
||||
- Adapt to changed ZYppCommitResult api.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
||||
Mon Jun 6 14:49:06 CEST 2011 - dheidler@suse.de
|
||||
|
||||
- fix crashing zypper when there are double config entries
|
||||
|
||||
132
zypper.spec
132
zypper.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package zypper
|
||||
# spec file for package zypper.spec
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,19 +17,41 @@
|
||||
|
||||
|
||||
Name: zypper
|
||||
Version: 1.14.93
|
||||
Release: 0
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: %{name}-rpmlintrc
|
||||
URL: https://github.com/openSUSE/zypper
|
||||
BuildRequires: augeas-devel >= 1.10.0
|
||||
%if 0%{?suse_version} > 1325
|
||||
BuildRequires: libboost_headers-devel
|
||||
%else
|
||||
BuildRequires: boost-devel >= 1.33.1
|
||||
%endif
|
||||
BuildRequires: cmake >= 3.1
|
||||
BuildRequires: cmake >= 3.10
|
||||
BuildRequires: gcc-c++ >= 7
|
||||
BuildRequires: gettext-devel >= 0.15
|
||||
BuildRequires: libzypp-devel >= 17.31.7
|
||||
BuildRequires: libzypp-devel >= 17.37.12
|
||||
BuildRequires: readline-devel >= 5.1
|
||||
BuildRequires: libxml2-devel
|
||||
Requires: procps
|
||||
|
||||
# required for documentation
|
||||
BuildRequires: rubygem(asciidoctor)
|
||||
|
||||
# TUI library which is built and shipped with libzypp-devel
|
||||
BuildRequires: libzypp-tui-devel >= 1
|
||||
|
||||
Summary: Command line software manager using libzypp
|
||||
License: GPL-2.0-or-later
|
||||
Group: System/Packages
|
||||
|
||||
Provides: y2pmsh
|
||||
Obsoletes: y2pmsh
|
||||
Provides: zypper(auto-agree-with-product-licenses)
|
||||
Provides: zypper(oldpackage)
|
||||
Provides: zypper(updatestack-only)
|
||||
Provides: zypper(purge-kernels)
|
||||
Provides: zypper(include-all-archs)
|
||||
%if 0%{?suse_version}
|
||||
Requires: libaugeas0 >= 1.10.0
|
||||
%requires_ge libzypp
|
||||
@@ -39,28 +61,6 @@ Recommends: zypper-log
|
||||
Requires: augeas >= 1.10.0
|
||||
%endif
|
||||
|
||||
# required for documentation
|
||||
BuildRequires: rubygem(asciidoctor)
|
||||
|
||||
# TUI library which is built and shipped with libzypp-devel
|
||||
BuildRequires: libzypp-tui-devel >= 1
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Command line software manager using libzypp
|
||||
License: GPL-2.0-or-later
|
||||
Group: System/Packages
|
||||
Version: 1.14.62
|
||||
Release: 0
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: %{name}-rpmlintrc
|
||||
Url: https://github.com/openSUSE/zypper
|
||||
Provides: y2pmsh
|
||||
Obsoletes: y2pmsh
|
||||
|
||||
Provides: zypper(auto-agree-with-product-licenses)
|
||||
Provides: zypper(oldpackage)
|
||||
Provides: zypper(updatestack-only)
|
||||
Provides: zypper(purge-kernels)
|
||||
|
||||
%description
|
||||
Zypper is a command line tool for managing software. It can be used to add
|
||||
@@ -70,23 +70,15 @@ install patches, hardware drivers, verify dependencies, and more.
|
||||
Zypper can be used interactively or non-interactively by user, from scripts,
|
||||
or front-ends.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Jan Kupec <jkupec@suse.cz>
|
||||
Michael Andres <ma@suse.de>
|
||||
Duncan Mac-Vicar <dmacvicar@suse.de>
|
||||
Martin Vidner <mvidner@suse.cz>
|
||||
Josef Reidinger <jreidinger@suse.cz>
|
||||
|
||||
%package log
|
||||
Requires: /bin/bash
|
||||
Requires: /usr/bin/awk
|
||||
Requires: /usr/bin/grep
|
||||
BuildArch: noarch
|
||||
Summary: CLI for accessing the zypper logfile
|
||||
Group: System/Packages
|
||||
Requires: %{_bindir}/awk
|
||||
Requires: %{_bindir}/grep
|
||||
Requires: /bin/bash
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n zypper-log
|
||||
%description log
|
||||
CLI for accessing the zypper logfile
|
||||
|
||||
%package aptitude
|
||||
@@ -99,28 +91,20 @@ BuildArch: noarch
|
||||
%description aptitude
|
||||
provides compatibility to Debian's aptitude command using zypper
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Bernhard M. Wiedemann <bernhard+aptitude4zypp lsmod de>
|
||||
|
||||
%package needs-restarting
|
||||
Summary: needs-restarting compatibility with zypper
|
||||
Group: System/Packages
|
||||
Requires: zypper
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version}
|
||||
Supplements: zypper
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%description needs-restarting
|
||||
provides compatibility to YUM needs-restarting command using zypper
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Michael Andres <ma@suse.de>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
mkdir -p build
|
||||
@@ -135,40 +119,41 @@ CMAKE_FLAGS=
|
||||
CMAKE_FLAGS="$CMAKE_FLAGS -DLEGACY_ENABLE_LONGOPT_ABBREV=1"
|
||||
%endif
|
||||
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="%{optflags}"
|
||||
export LDFLAGS="-Wl,--as-needed -fpie %{optflags}"
|
||||
|
||||
cmake $CMAKE_FLAGS \
|
||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DSYSCONFDIR=%{_sysconfdir} \
|
||||
-DMANDIR=%{_mandir} \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
|
||||
-DCMAKE_C_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DENABLE_BUILD_TESTS=ON \
|
||||
..
|
||||
|
||||
#gettextize -f
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
pushd build/tests
|
||||
cd build/tests
|
||||
ctest --output-on-failure .
|
||||
popd
|
||||
|
||||
%install
|
||||
cd build
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%make_install
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypper
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/zypper/commands
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/zypper
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/zypper/commands
|
||||
|
||||
# yzpper symlink
|
||||
ln -s zypper $RPM_BUILD_ROOT%{_bindir}/yzpper
|
||||
ln -s zypper %{buildroot}%{_bindir}/yzpper
|
||||
|
||||
# Create filelist with translations
|
||||
cd ..
|
||||
%{find_lang} zypper
|
||||
%{__install} -d -m755 $RPM_BUILD_ROOT%{_var}/log
|
||||
touch $RPM_BUILD_ROOT%{_var}/log/zypper.log
|
||||
%find_lang zypper
|
||||
install -d -m755 %{buildroot}%{_var}/log
|
||||
touch %{buildroot}%{_var}/log/zypper.log
|
||||
|
||||
%if %{defined _distconfdir}
|
||||
# Move logratate files form /etc/logrotate.d to /usr/etc/logrotate.d
|
||||
@@ -177,9 +162,6 @@ mv %{buildroot}/%{_sysconfdir}/logrotate.d/zypper.lr %{buildroot}%{_distconfdir}
|
||||
mv %{buildroot}/%{_sysconfdir}/logrotate.d/zypp-refresh.lr %{buildroot}%{_distconfdir}/logrotate.d
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf "$RPM_BUILD_ROOT"
|
||||
|
||||
%if %{defined _distconfdir}
|
||||
%pre
|
||||
# Prepare for migration to /usr/etc; save any old .rpmsave
|
||||
@@ -197,7 +179,6 @@ done
|
||||
%endif
|
||||
|
||||
%files -f zypper.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%license COPYING
|
||||
%endif
|
||||
@@ -209,7 +190,7 @@ done
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/zypper.lr
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/zypp-refresh.lr
|
||||
%endif
|
||||
%{_sysconfdir}/bash_completion.d/zypper.sh
|
||||
%{_datadir}/bash-completion/completions/zypper
|
||||
%{_bindir}/zypper
|
||||
%{_bindir}/yzpper
|
||||
%{_bindir}/installation_sources
|
||||
@@ -219,21 +200,19 @@ done
|
||||
%dir %{_datadir}/zypper/xml
|
||||
%{_datadir}/zypper/xml/xmlout.rnc
|
||||
%{_prefix}/lib/zypper
|
||||
%doc %{_mandir}/man8/zypper.8*
|
||||
%doc %{_mandir}/man8/zypp-refresh.8*
|
||||
%doc %dir %{_datadir}/doc/packages/zypper
|
||||
%doc %{_datadir}/doc/packages/zypper/HACKING
|
||||
%{_mandir}/man8/zypper.8%{?ext_man}
|
||||
%{_mandir}/man8/zypp-refresh.8%{?ext_man}
|
||||
%doc %dir %{_docdir}/zypper
|
||||
%doc %{_docdir}/zypper/HACKING
|
||||
# declare ownership of the log file but prevent
|
||||
# it from being erased by rpm -e
|
||||
%ghost %config(noreplace) %attr (640,root,root) %{_var}/log/zypper.log
|
||||
|
||||
%files log
|
||||
%defattr(-,root,root)
|
||||
%{_sbindir}/zypper-log
|
||||
%doc %{_mandir}/man8/zypper-log.8*
|
||||
%{_mandir}/man8/zypper-log.8%{?ext_man}
|
||||
|
||||
%files aptitude
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/aptitude
|
||||
%{_bindir}/apt-get
|
||||
%{_bindir}/apt
|
||||
@@ -241,8 +220,7 @@ done
|
||||
%config(noreplace) %{_sysconfdir}/zypp/apt-packagemap.d/*
|
||||
|
||||
%files needs-restarting
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/needs-restarting
|
||||
%doc %{_mandir}/man1/needs-restarting.1*
|
||||
%{_mandir}/man1/needs-restarting.1%{?ext_man}
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user