2013-01-30 08:28:31 +00:00
|
|
|
%global gitrev e7d9c11
|
2013-01-30 12:48:25 +00:00
|
|
|
%global hawkey_version 0.3.6-2.gita53a6b1.fc19
|
2012-07-16 10:37:13 +00:00
|
|
|
%global confdir %{_sysconfdir}/dnf
|
|
|
|
|
|
|
|
Name: dnf
|
2013-01-18 14:34:38 +00:00
|
|
|
Version: 0.2.20
|
2013-01-30 08:28:31 +00:00
|
|
|
Release: 2.git%{gitrev}%{?dist}
|
2012-07-16 10:37:13 +00:00
|
|
|
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
|
|
|
|
License: GPLv2+ and GPLv2 and GPL
|
|
|
|
URL: https://github.com/akozumpl/dnf
|
|
|
|
Source0: http://akozumpl.fedorapeople.org/dnf-%{gitrev}.tar.xz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: python2
|
2012-09-24 05:26:21 +00:00
|
|
|
BuildRequires: python-nose
|
|
|
|
BuildRequires: python-sphinx
|
|
|
|
BuildRequires: rpm-python
|
|
|
|
BuildRequires: urlgrabber
|
2012-11-08 14:11:15 +00:00
|
|
|
BuildRequires: python-hawkey = %{hawkey_version}
|
|
|
|
Requires: python-hawkey = %{hawkey_version}
|
2012-07-16 10:37:13 +00:00
|
|
|
Requires: crontabs
|
2012-10-17 13:27:26 +00:00
|
|
|
Requires: libreport-filesystem
|
2012-07-16 10:37:13 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Package manager forked from Yum, using libsolv as a dependency resolver.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n dnf
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake .
|
|
|
|
make %{?_smp_mflags}
|
2012-09-13 08:54:43 +00:00
|
|
|
make doc-man
|
2012-07-16 10:37:13 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
2012-09-21 13:07:06 +00:00
|
|
|
%check
|
|
|
|
make ARGS="-V" test
|
|
|
|
|
2012-07-16 10:37:13 +00:00
|
|
|
%files
|
|
|
|
%doc AUTHORS README.md COPYING PACKAGE-LICENSING
|
|
|
|
%{_bindir}/dnf
|
|
|
|
%{python_sitelib}/dnf/
|
|
|
|
%dir %{confdir}
|
|
|
|
%config(noreplace) %{confdir}/dnf.conf
|
|
|
|
%{_sysconfdir}/cron.hourly/dnf-makecache.cron
|
2012-10-17 13:27:26 +00:00
|
|
|
%{_sysconfdir}/libreport/events.d/collect_dnf.conf
|
2012-09-21 13:07:06 +00:00
|
|
|
%{_mandir}/man8/dnf.8.gz
|
2012-07-16 10:37:13 +00:00
|
|
|
|
|
|
|
%changelog
|
2013-01-30 08:28:31 +00:00
|
|
|
* Wed Jan 30 2013 Aleš Kozumplík <ales@redhat.com> - 0.2.20-2.gite7d9c11
|
|
|
|
- cosmetic: trailing whitespace in dnf.yum.callbacks (Ales Kozumplik)
|
|
|
|
- rename 'YumBase' to 'Base'. (Ales Kozumplik)
|
|
|
|
- remove base.yumvar property. (Ales Kozumplik)
|
|
|
|
- Get rid of preconf. (Ales Kozumplik)
|
|
|
|
- BaseConfig.overrides() (Ales Kozumplik)
|
|
|
|
- YumOptionParser._non_nones2dict() (Ales Kozumplik)
|
|
|
|
- cosmetic: trailing whitespace in dnf.yum.parser (Ales Kozumplik)
|
|
|
|
- Make the Base object accessible from the toplevel 'dnf' module. (Ales Kozumplik)
|
|
|
|
- Config option for the default userinput answer. (Ales Kozumplik)
|
|
|
|
- tests: reflect changes to querying updates in hawkey commit 961ca40. (Ales Kozumplik)
|
|
|
|
|
2013-01-18 14:34:38 +00:00
|
|
|
* Fri Jan 18 2013 Aleš Kozumplík <ales@redhat.com> - 0.2.20-1.gitdec970f
|
|
|
|
- fix '--exclude' command-line option (related RhBug:871892)
|
|
|
|
- Introduce --best switch to force trying latest packages in transactions ( RhBug:882211)
|
|
|
|
- fix '--disablerepo' (related RhBug:871892)
|
|
|
|
- Tell RPM it's OK to downgrade during dist-sync (RhBug:894339)
|
|
|
|
- 'dnf install' should skip already installed packages and say so. (RhBug:882851)
|
|
|
|
|
|
|
|
* Thu Jan 3 2013 Aleš Kozumplík <ales@redhat.com> - 0.2.19-1.gitb901926
|
|
|
|
- options parsing: do not access repositories before cache_c is ready. (RhBug:889706)
|
|
|
|
- move to the latest hawkey using libsolv-0.2.3
|
|
|
|
|
|
|
|
* Mon Dec 17 2012 Aleš Kozumplík <ales@redhat.com> - 0.2.18-1.git3701ad6
|
|
|
|
- Allow specifying removal with 'name.arch' and others (RhBug:877449)
|
|
|
|
- install: use Subject class to allow installation by provides (RhBug:880303)
|
|
|
|
- Remove rpmdb_warn_checks() and friends. (RhBug:884623)
|
|
|
|
- DNF should not allow .src.rpm installation (RhBug:884603).
|
|
|
|
- Some DNF commands require different Goal/Solver configuration. (RhBug:873079)
|
|
|
|
- Match ordinary package provides in 'dnf provides <provide>', not just files. (RhBug:871892)
|
|
|
|
- doc: update how arguments to commands can be specified.
|
|
|
|
|
2012-11-26 15:23:39 +00:00
|
|
|
* Mon Nov 26 2012 Aleš Kozumplík <ales@redhat.com> - 0.2.17-1.git6a055e6
|
|
|
|
- fix UnicodeDecodeError crash in history.py. (RhBug:877332)
|
|
|
|
- Support the 'dnf upgrade-to' command.
|
|
|
|
- fix: transaction traceback when rpmdb contains a package with no HDRID (RhBug:878823)
|
|
|
|
- Enable 'dnf distro-sync'.
|
|
|
|
|
|
|
|
* Thu Nov 15 2012 Aleš Kozumplík <ales@redhat.com> - 0.2.16-1.git9f050eb
|
|
|
|
- massive dead code removals accross the code base (3k LOC dropped)
|
|
|
|
- fix match_counter.sorted() tracebacks if its empty. (RhBug:873875)
|
|
|
|
- fix: callback error in some rpm transactions because of nonexistent Package.verEQ.
|
|
|
|
- Plain 'dnf update' ignores packages with broken deps. (RhBug:872948)
|
|
|
|
- support 'dnf upgrade' syntax to do the same thing as 'dnf update'.
|
|
|
|
- refactor: YumCommand is just Command now.
|
|
|
|
- Split Cli out of the YumBaseCli eintopf.
|
|
|
|
- Enable 'dnf reinstall <pkg> again.
|
|
|
|
|
|
|
|
* Thu Nov 8 2012 Aleš Kozumplík <ales@redhat.com> - 0.2.15-3.git5d85f6b
|
2012-11-08 14:11:15 +00:00
|
|
|
- support full NEVRA specification for the erase and install commands. (RhBug: 867553)
|
|
|
|
- Enable check-update command. (RhBug: 868810)
|
|
|
|
- Support listing patterned obsoletes.
|
|
|
|
- fix traceback: list --showduplicates.
|
|
|
|
|
2012-10-17 17:19:52 +00:00
|
|
|
* Wed Oct 17 2012 Aleš Kozumplík <ales@redhat.com> - 0.2.14-2.git4831982
|
2012-10-17 13:27:26 +00:00
|
|
|
- works against hawkey-0.3.0
|
|
|
|
- search: sort so same matched keywords stay next to each other.
|
|
|
|
- Add custom ABRT collector.
|
|
|
|
- fix: _preload_file() does the right thing when destfn does not exist.
|
|
|
|
- Make the logfiles readable by everyone.
|
|
|
|
- yumRepo: log when we are leaving MD files behind and don't know why.
|
|
|
|
- Support globs in the install command when multilib_policy is 'best'. (RhBug: 864710)
|
2012-10-17 17:19:52 +00:00
|
|
|
- Fix failing unit tests on i686.
|
2012-10-17 13:27:26 +00:00
|
|
|
|
2012-10-05 08:48:36 +00:00
|
|
|
* Fri Oct 5 2012 Aleš Kozumplík <ales@redhat.com> - 0.2.13-1.gitda60a96
|
|
|
|
- fix: traceback in YumBase.verifyTransaction() for local .rpms.
|
|
|
|
- Enable the 'clean' command. (RhBug: 853940)
|
|
|
|
- download no sqlite metadata.
|
|
|
|
- Reenable the search command. (RhBug: 853940)
|
|
|
|
|
2012-09-21 13:07:06 +00:00
|
|
|
* Fri Sep 21 2012 Aleš Kozumplík <ales@redhat.com> - 0.2.12-1.git832ecd1
|
|
|
|
- fix 'dnf --version'. (RhBug: 857710)
|
|
|
|
- Latest hawkey compatibilities.
|
|
|
|
- Run 'make check' when building the RPM.
|
|
|
|
|
2012-09-13 08:54:43 +00:00
|
|
|
* Thu Sep 13 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.11-1.git9da1268
|
|
|
|
- Make 'dnf help' work. (RhBug: 853923)
|
|
|
|
- Add the man page. (RhBug: 853923)
|
|
|
|
|
2012-08-30 12:46:25 +00:00
|
|
|
* Thu Aug 30 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.10-1.gitb06d183
|
|
|
|
- Latest hawkey compatibilities.
|
|
|
|
- RhBug: 852803
|
|
|
|
|
2012-08-23 11:51:26 +00:00
|
|
|
* Thu Aug 23 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.9-1.git5dea6e7
|
|
|
|
- Latest hawkey compatibilities.
|
|
|
|
- RhBug: 847098
|
|
|
|
|
2012-08-06 08:09:27 +00:00
|
|
|
* Mon Aug 6 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.7-6.git8ac0959
|
|
|
|
- Maintenance build to conform the new hawkey repo loading APIs.
|
|
|
|
|
2012-07-24 12:45:10 +00:00
|
|
|
* Tue Jul 24 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.7-5.git632e1eb
|
2012-07-24 12:18:21 +00:00
|
|
|
- Clean dependencies during 'dnf erase'.
|
|
|
|
- fixed: readline problems under pdb.
|
|
|
|
- 'dnf info' now works.
|
|
|
|
- removal: yum.sqlitesack, yum.packageSack and RPMDBPackageSack.
|
|
|
|
|
2012-07-18 20:58:14 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-3.gitb74addd
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-16 14:03:32 +00:00
|
|
|
* Mon Jul 16 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.7-2.gitb74addd
|
|
|
|
- Add missing rpmUtils.error.
|
|
|
|
|
2012-07-16 10:37:13 +00:00
|
|
|
* Mon Jul 16 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.7-1.git3f2389e
|
|
|
|
- First Fedora rawhide build.
|
|
|
|
|
|
|
|
* Wed Jul 11 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.6-11.gitb1f1c08
|
|
|
|
- More licensing changes.
|
|
|
|
|
|
|
|
* Mon Jul 9 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.6-10.git964faae
|
|
|
|
- Licensing changes.
|
|
|
|
|
2013-02-04 13:26:04 +00:00
|
|
|
* Thu Jun 21 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.6-9.gitb4aa5c1
|
2012-07-16 10:37:13 +00:00
|
|
|
- More spec fixes.
|
|
|
|
|
|
|
|
* Tue Jun 19 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.6-8.gitb4aa5c1
|
|
|
|
- Fix rpmlint issues.
|
|
|
|
|
|
|
|
* Wed Jun 13 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.6-6.git9d95cc5
|
|
|
|
- Depend on the latest python-hawkey.
|
|
|
|
|
|
|
|
* Tue Jun 12 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.6-4.git2791093
|
|
|
|
- Fix missing cli/__init__.py
|
|
|
|
|
|
|
|
* Fri Jun 8 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.6-3 .git365322d
|
|
|
|
- Logging improvements.
|
|
|
|
|
|
|
|
* Wed May 16 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.5-2.gitf594065
|
|
|
|
- erase: remove dependants along with their dependency.
|
|
|
|
|
|
|
|
* Mon May 14 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.4-3.gite3adb52
|
|
|
|
- Use cron to prefetch metadata.
|
|
|
|
- Always loads filelists (attempts to fix some resolving problems).
|
|
|
|
|
|
|
|
* Mon May 7 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.3-1.gitbbc0801
|
|
|
|
- Fix assert in hawkey's sack.c.
|
|
|
|
|
|
|
|
* Fri May 4 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.2-6.git6787583
|
|
|
|
- support plain 'dnf update'.
|
|
|
|
- disable plugins.
|
|
|
|
|
|
|
|
* Thu Apr 26 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.1-2.gitde732f5
|
|
|
|
- Create 'etc/dnf/dnf.conf'.
|
|
|
|
|
|
|
|
* Wed Apr 25 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.2.0-2.git70753dd
|
|
|
|
- New version.
|
|
|
|
|
|
|
|
* Thu Apr 12 2012 Aleš Kozumplík <akozumpl@redhat.com> - 0.1-0.git833c054
|
|
|
|
- Initial package.
|