From b5e4047c6b172eac92d162b685194df104cf07de Mon Sep 17 00:00:00 2001 From: Ales Kozumplik Date: Thu, 28 Mar 2013 12:53:43 +0100 Subject: [PATCH] New upstream version: 7b1d503 --- .gitignore | 1 + dnf.spec | 49 ++++++++++++++++++++++++++++++++++++++++++++----- sources | 2 +- 3 files changed, 46 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 8f75ced..b728397 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /dnf-97180b8.tar.xz /dnf-4c0def8.tar.xz /dnf-3e52d13.tar.xz +/dnf-7b1d503.tar.xz diff --git a/dnf.spec b/dnf.spec index 35759dc..5be9ce1 100644 --- a/dnf.spec +++ b/dnf.spec @@ -1,12 +1,12 @@ -%global gitrev 3e52d13 +%global gitrev 7b1d503 %global hawkey_version 0.3.9 %global librepo_version 0.0.2-2.20130318gitb3c3323%{dist} %global confdir %{_sysconfdir}/dnf Name: dnf -Version: 0.3.0 -Release: 2.git%{gitrev}%{?dist} +Version: 0.3.1 +Release: 3.git%{gitrev}%{?dist} Summary: Package manager forked from Yum, using libsolv as a dependency resolver Group: System Environment/Base # For a breakdown of the licensing, see PACKAGE-LICENSING @@ -22,14 +22,17 @@ BuildRequires: python-librepo = %{librepo_version} BuildRequires: python-nose BuildRequires: python-sphinx BuildRequires: rpm-python +BuildRequires: systemd BuildRequires: urlgrabber -Requires: crontabs Requires: libreport-filesystem Requires: python-hawkey = %{hawkey_version} Requires: python-iniparse Requires: python-librepo = %{librepo_version} Requires: rpm-python Requires: urlgrabber +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd %description Package manager forked from Yum, using libsolv as a dependency resolver. @@ -55,11 +58,47 @@ make ARGS="-V" test %{python_sitelib}/dnf/ %dir %{confdir} %config(noreplace) %{confdir}/dnf.conf -%{_sysconfdir}/cron.hourly/dnf-makecache.cron %{_sysconfdir}/libreport/events.d/collect_dnf.conf %{_mandir}/man8/dnf.8.gz +%{_unitdir}/dnf-makecache.service +%{_unitdir}/dnf-makecache.timer + +%post +%systemd_post dnf-makecache.timer +systemctl enable dnf-makecache.timer + +%preun +%systemd_preun dnf-makecacache.timer + +%postun +%systemd_postun_with_restart dnf-makecache.timer %changelog +* Thu Mar 28 2013 Aleš Kozumplík - 0.3.1-3.git7b1d503 +- makecache: no on_ac_power binary means we should go ahead anyway. (Ales Kozumplik) +- packaging: run systemd scriptlets so the timer service can be enabled by default. (Ales Kozumplik) +- :doc release notes - the metadata_expire default has changed. (Ales Kozumplik) +- :doc start making release notes. (Ales Kozumplik) +- abrt: change the event to post-create so journalctl works (post-create runs under root) (Ales Kozumplik) +- :doc clean_requiremennts_on_remove on by default. (Ales Kozumplik) +- logging: put a log file marker on each run, nicer 'Ext Commands' output. (Ales Kozumplik) +- :doc explain how timed metadata syncing can be tweaked and disabled. (Ales Kozumplik) +- Do not execute the timer makecache when running on a battery. (RhBug:919769) (Ales Kozumplik) +- :doc create dnf.config, describe 'metadata_timer_sync'. (Ales Kozumplik) +- config defaults: timer makecache every 3 hours, bump default md expiry to 48 hours. (RhBug:892064) (Ales Kozumplik) +- mechanism for disabling or changing the period of automatic metadata syncing. (RhBug:922664) (Ales Kozumplik) +- run the regular makecache from a systemd timer (RhBug:878826) (Ales Kozumplik) +- stop using the obsoleted repo.cache property (RhBug:926871) (Ales Kozumplik) +- userconfirm() mustn't fail on EOFError. (RhBug:922521) (Ales Kozumplik) +- :doc document --nogpgcheck and --releasever. (Ales Kozumplik) +- :doc remove yum.repos and yum.yumRepo from the obsoleted API documentation. (Ales Kozumplik) +- :doc sort CLI options alphabetically. (Ales Kozumplik) +- Downgrade only once if multiple old versions are available. (RhBug:921294) (Ales Kozumplik) +- :refactor, improve base.ts management, use properties. (Ales Kozumplik) +- Filter rpm.RPMPROB_FILTER_OLDPACKAGE for all transactions whatsover (RhBug:916657) (Ales Kozumplik) +- :tests :move test_yumbase.py -> test_base.py (Ales Kozumplik) +- remove: finally drop yum/repos.py and yum/yumRepo.py (Ales Kozumplik) + * Thu Mar 21 2013 Aleš Kozumplík - 0.3.0-2.git3e52d13 - repo: use shutil.move instead of os.rename (Ales Kozumplik) diff --git a/sources b/sources index 43f16d6..94cbe04 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e2ea27a5962611ebca8bee55ebd54656 dnf-3e52d13.tar.xz +38a4a6c960abb82f02331d4d20c959f1 dnf-7b1d503.tar.xz