!3 switch Source0 to github and optimize patch file
From: @maminjie Reviewed-by: @zhanghua1831,@small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
580889b043
@ -1,13 +0,0 @@
|
|||||||
diff -up cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat cdrdao-1.2.3/dao/ScsiIf-linux.cc
|
|
||||||
--- cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat 2010-01-20 20:11:36.000000000 +0100
|
|
||||||
+++ cdrdao-1.2.3/dao/ScsiIf-linux.cc 2010-01-20 20:14:07.000000000 +0100
|
|
||||||
@@ -19,6 +19,9 @@
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
|
|
||||||
+#include <sys/types.h>
|
|
||||||
+#include <sys/stat.h>
|
|
||||||
+
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
Binary file not shown.
BIN
cdrdao-1.2.3.tar.gz
Normal file
BIN
cdrdao-1.2.3.tar.gz
Normal file
Binary file not shown.
16
cdrdao.spec
16
cdrdao.spec
@ -1,16 +1,17 @@
|
|||||||
|
%global bname rel_1_2_3
|
||||||
Summary: Records audio or data CD-Rs in disk-at-once (DAO) mode
|
Summary: Records audio or data CD-Rs in disk-at-once (DAO) mode
|
||||||
Name: cdrdao
|
Name: cdrdao
|
||||||
Version: 1.2.3
|
Version: 1.2.3
|
||||||
Release: 36
|
Release: 37
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://cdrdao.sourceforge.net/
|
URL: http://cdrdao.sourceforge.net/
|
||||||
Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
Source0: https://github.com/cdrdao/%{name}/archive/%{bname}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc-c++ gcc libsigc++20-devel libao-devel
|
BuildRequires: gcc-c++ gcc libsigc++20-devel libao-devel
|
||||||
BuildRequires: libvorbis-devel >= 1.0 libmad-devel
|
BuildRequires: libvorbis-devel >= 1.0 libmad-devel
|
||||||
BuildRequires: lame-devel autoconf GConf2-devel
|
BuildRequires: lame-devel autoconf GConf2-devel
|
||||||
|
|
||||||
Patch1: cdrdao-1.2.3-stat.patch
|
Patch1: cdrdao-1.2.3-helpmansync.patch
|
||||||
Patch2: cdrdao-1.2.3-format_security.patch
|
Patch2: cdrdao-1.2.3-format_security.patch
|
||||||
Patch3: cdrdao-1.2.3-narrowing.patch
|
Patch3: cdrdao-1.2.3-narrowing.patch
|
||||||
Patch4: cdrdao-1.2.3-lame-3.100.patch
|
Patch4: cdrdao-1.2.3-lame-3.100.patch
|
||||||
@ -22,7 +23,11 @@ on a textual description of the CD contents (toc-file).
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p 1
|
%autosetup -n %{name}-%{bname} -p 1
|
||||||
|
if [ -e autogen.sh ]; then
|
||||||
|
sed -i '/autoreconf/d' autogen.sh
|
||||||
|
./autogen.sh
|
||||||
|
fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -v -f -i -I.
|
autoreconf -v -f -i -I.
|
||||||
@ -49,6 +54,9 @@ autoreconf -v -f -i -I.
|
|||||||
%{_mandir}/man1
|
%{_mandir}/man1
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 26 2020 maminjie <maminjie1@huawei.com> - 1.2.3-37
|
||||||
|
- switch Source0 to github and optimize patch file
|
||||||
|
|
||||||
* Thu Jan 16 2020 fengbing <fengbing7@huawei.com> - 1.2.3-36
|
* Thu Jan 16 2020 fengbing <fengbing7@huawei.com> - 1.2.3-36
|
||||||
- Type:N/A
|
- Type:N/A
|
||||||
- ID:N/A
|
- ID:N/A
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
version_control: NA
|
version_control: github
|
||||||
src_repo: NA
|
src_repo: cdrdao/cdrdao
|
||||||
tag_prefix: NA
|
tag_prefix: "rel_"
|
||||||
seperator: NA
|
separator: "_"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user