summaryrefslogtreecommitdiffstats
path: root/urpmi.spec
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-10 17:37:48 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-10 17:37:48 +0000
commita63b3926d11c60c6da45d5c2828050d78c511470 (patch)
tree284f0a5067b2a2f50948dab2162901529a6a329d /urpmi.spec
parentdd3b5b59d0261479bb8e606bb89deecb981118d7 (diff)
downloadurpmi-a63b3926d11c60c6da45d5c2828050d78c511470.tar
urpmi-a63b3926d11c60c6da45d5c2828050d78c511470.tar.gz
urpmi-a63b3926d11c60c6da45d5c2828050d78c511470.tar.bz2
urpmi-a63b3926d11c60c6da45d5c2828050d78c511470.tar.xz
urpmi-a63b3926d11c60c6da45d5c2828050d78c511470.zip
Add new package urpmi-recover.
Require recent URPM.
Diffstat (limited to 'urpmi.spec')
-rw-r--r--urpmi.spec26
1 files changed, 22 insertions, 4 deletions
diff --git a/urpmi.spec b/urpmi.spec
index cb77ff53..37eb4251 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -27,15 +27,15 @@ Summary: Command-line software installation tools
URL: http://search.cpan.org/dist/%{name}/
Requires: %{req_webfetch} eject gnupg
Requires(pre): perl-Locale-gettext >= 1.01-14mdk
-Requires(pre): perl-URPM >= 1.33
-Requires: perl-URPM >= 1.33
+Requires(pre): perl-URPM >= 1.35
+Requires: perl-URPM >= 1.35
#- this one is require'd by urpmq, so it's not found [yet] by perl.req
Requires: perl-MDV-Packdrakeng >= 1.01
BuildRequires: bzip2-devel
BuildRequires: gettext
BuildRequires: perl-File-Slurp
BuildRequires: perl-ldap
-BuildRequires: perl-URPM >= 1.33
+BuildRequires: perl-URPM >= 1.35
BuildRequires: perl-MDV-Packdrakeng
BuildRequires: perl-Locale-gettext >= 1.01-14mdk
BuildRoot: %{_tmppath}/%{name}-buildroot
@@ -96,6 +96,18 @@ Group: %{group}
urpmi-ldap is an extension module to urpmi to allow to specify
urpmi configuration (notably media) in an LDAP directory.
+%package -n urpmi-recover
+Summary: A tool to manage rpm repackaging and rollback
+Requires: urpmi >= %{version}-%{release}
+Requires: perl
+Requires: perl-DateManip
+Group: %{group}
+
+%description -n urpmi-recover
+urpmi-recover is a tool that enables to set up a policy to keep trace of all
+packages that are uninstalled or upgraded on an rpm-based system, and to
+perform rollbacks, that is, to revert the system back to a previous state.
+
%prep
%setup -q -n %{name}-%{version}
@@ -193,7 +205,9 @@ if (-e "/etc/urpmi/urpmi.cfg") {
%{_sbindir}/urpmi
%{_sbindir}/rurpmi
%{_sbindir}/urpme
-%{_sbindir}/urpmi.*
+%{_sbindir}/urpmi.addmedia
+%{_sbindir}/urpmi.removemedia
+%{_sbindir}/urpmi.update
%{_mandir}/man?/urpm*
%{_mandir}/man?/rurpmi*
%{_mandir}/man?/proxy*
@@ -243,6 +257,10 @@ if (-e "/etc/urpmi/urpmi.cfg") {
%doc urpmi.schema
%{compat_perl_vendorlib}/urpm/ldap.pm
+%files -n urpmi-recover
+%{_sbindir}/urpmi.recover
+%config(noreplace) /etc/rpm/macros.d/urpmi.recover.macros
+
%changelog
* Thu Feb 02 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 4.8.9-1mdk
- Fix call of --limit-rate option with recent curls