Make sure version is printed with usage, to fix k3b (#495988)

This commit is contained in:
Denis Leroy 2009-04-16 13:48:10 +00:00
parent ec5b1a343c
commit e09bf2a8d3
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- cdrdao/dao/main.cc~ 2009-04-16 15:34:27.000000000 +0200
+++ cdrdao/dao/main.cc 2009-04-16 15:34:38.000000000 +0200
@@ -207,7 +207,7 @@
static void printVersion()
{
- log_message(2, "Cdrdao version %s - (C) Andreas Mueller <andreas@daneb.de>",
+ log_message(0, "Cdrdao version %s - (C) Andreas Mueller <andreas@daneb.de>",
VERSION);
std::list<std::string> list;

View File

@ -3,13 +3,14 @@
Summary: Writes audio CD-Rs in disk-at-once (DAO) mode Summary: Writes audio CD-Rs in disk-at-once (DAO) mode
Name: cdrdao Name: cdrdao
Version: 1.2.3 Version: 1.2.3
Release: 0.%{rcversion}.1 Release: 0.%{rcversion}.2
License: GPLv2 License: GPLv2
Group: Applications/Multimedia Group: Applications/Multimedia
URL: http://cdrdao.sourceforge.net/ URL: http://cdrdao.sourceforge.net/
Source0: %{name}-%{version}%{rcversion}.tar.bz2 Source0: %{name}-%{version}%{rcversion}.tar.bz2
Patch0: cdrdao-1.2.2-gcc44.patch Patch0: cdrdao-1.2.2-gcc44.patch
Patch1: cdrdao-1.2.2-desktop.patch Patch1: cdrdao-1.2.2-desktop.patch
Patch2: cdrdao-1.2.3-version.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtkmm24-devel BuildRequires: gtkmm24-devel
@ -54,6 +55,7 @@ edition and silence insertion.
%setup -q -n %{name}-%{version}%{rcversion} %setup -q -n %{name}-%{version}%{rcversion}
%patch0 -p1 -b .gcc4 %patch0 -p1 -b .gcc4
%patch1 -p1 -b .desktop %patch1 -p1 -b .desktop
%patch2 -p1 -b .version
%build %build
@ -134,6 +136,9 @@ fi
%changelog %changelog
* Thu Apr 16 2009 Denis Leroy <denis@poolshark.org> - 1.2.3-0.rc2.2
- Make sure version is printed with usage, to fix k3b
* Tue Apr 7 2009 Denis Leroy <denis@poolshark.org> - 1.2.3-0.rc2.1 * Tue Apr 7 2009 Denis Leroy <denis@poolshark.org> - 1.2.3-0.rc2.1
- Update to latest 1.2.3 release candidate - Update to latest 1.2.3 release candidate
- Merged with gcdmaster spec file - Merged with gcdmaster spec file