summaryrefslogtreecommitdiffstats
path: root/urpmi.spec
diff options
context:
space:
mode:
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