Compare commits

..

No commits in common. "dce1123714301c369bdfbfc0a226eaed339d6cdf" and "c1b46d44ae8f619b3cf6ff32bc064e982e5ff4ee" have entirely different histories.

2 changed files with 17 additions and 83 deletions

View File

@ -1,32 +0,0 @@
diff -Naur cdrkit-1.1.11.org/include/btorder.h cdrkit-1.1.11.sw/include/btorder.h
--- cdrkit-1.1.11.org/include/btorder.h 2022-02-28 02:48:17.340000000 +0000
+++ cdrkit-1.1.11.sw/include/btorder.h 2022-02-28 02:52:34.310000000 +0000
@@ -112,6 +112,7 @@
# if defined(__i386__) || defined(__i386) || defined(i386) || \
defined(__alpha__) || defined(__alpha) || defined(alpha) || \
+ defined(__sw_64__) || defined(__sw_64) || defined(sw_64) || \
defined(__arm__) || defined(__arm) || defined(arm)
# define _BIT_FIELDS_LTOH
# endif
diff -Naur cdrkit-1.1.11.org/libusal/scsi-vms.c cdrkit-1.1.11.sw/libusal/scsi-vms.c
--- cdrkit-1.1.11.org/libusal/scsi-vms.c 2022-02-28 02:48:17.310000000 +0000
+++ cdrkit-1.1.11.sw/libusal/scsi-vms.c 2022-02-28 02:54:34.040000000 +0000
@@ -117,7 +117,7 @@
Uint SCSI$L_RES_6; /* Reserved */
};
-#ifdef __ALPHA
+#if defined __ALPHA || defined __SW_64
#pragma member_alignment save
#pragma nomember_alignment
#endif
@@ -129,7 +129,7 @@
Uchar SCSI$B_IOSB_STS; /* SCSI device status */
};
-#ifdef __ALPHA
+#if defined __ALPHA || defined __SW_64
#pragma member_alignment restore
#endif

View File

@ -1,14 +1,13 @@
Name: cdrkit
Version: 1.1.11
Release: 51
Release: 45
Summary: A collection of CD/DVD utilities
License: GPLv2
URL: http://cdrkit.org/
Source0: http://cdrkit.org/releases/cdrkit-%{version}.tar.gz
Provides: dirsplit = %{version}-%{release} wodim = %{version}-%{release}
Obsoletes: dirsplit < %{version}-%{release} wodim < %{version}-%{release}
Obsoletes: cdrkit-help < %{version}-%{release}
Provides: dirsplit wodim
Obsoletes: dirsplit wodim
Patch1: cdrkit-1.1.8-werror.patch
Patch2: cdrkit-1.1.9-efi-boot.patch
@ -31,15 +30,12 @@ Patch20: cdrkit-1.1.11-werror_gcc5.patch
Patch21: cdrkit-1.1.11-devname.patch
Patch22: cdrkit-1.1.11-sysmacros.patch
Patch23: cdrkit-1.1.11-gcc10.patch
%ifarch sw_64
Patch24: cdrkit-1.1.11-sw.patch
%endif
BuildRequires: gcc cmake libcap-devel zlib-devel perl-interpreter
BuildRequires: perl-generators file-devel bzip2-devel
Requires: perl-interpreter >= 4:5.8.1 genisoimage = %{version}-%{release}
Requires: libusal = %{version}-%{release}
Requires: libusal = %{version}-%{release} git
Requires(preun): %{_sbindir}/alternatives coreutils
Requires(post): %{_sbindir}/alternatives coreutils
@ -51,7 +47,6 @@ Summary: genisoimage packages for cdrkit
Requires: libusal = %{version}-%{release}
Requires(preun): %{_sbindir}/alternatives coreutils
Requires(post): %{_sbindir}/alternatives coreutils
Obsoletes: cdrkit-help < %{version}-%{release}
%description -n genisoimage
Genisoimage packages for cdrkit
@ -68,7 +63,6 @@ BuildRequires: cdparanoia-devel
Requires: libusal = %{version}-%{release} vorbis-tools cdparanoia
Requires(preun): %{_sbindir}/alternatives coreutils
Requires(post): %{_sbindir}/alternatives coreutils
Obsoletes: cdrkit-help < %{version}-%{release}
%description -n icedax
Icedax for cdrkit
@ -82,6 +76,8 @@ Obsoletes: libusal-devel
%description devel
Header files for cdrkit.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
@ -180,13 +176,9 @@ fi
%{_bindir}/readom
%{_bindir}/dirsplit
%exclude %{_bindir}/cdda2mp3
%ghost %{_bindir}/cdrecord
%ghost %{_bindir}/dvdrecord
%{_mandir}/man1/devdump.*
%{_mandir}/man1/wodim.*
%{_mandir}/man1/netscsid.*
%{_mandir}/man1/readom.*
%{_mandir}/man1/dirsplit.*
%files -n genisoimage
%defattr(-,root,root)
@ -195,16 +187,9 @@ fi
%{_bindir}/readmult
%{_bindir}/pitchplay
%{_bindir}/genisoimage
%ghost %{_bindir}/mkisofs
%ghost %{_bindir}/mkhybrid
%{_mandir}/man5/genisoimagerc.*
%{_mandir}/man1/genisoimage.*
%{_mandir}/man1/isodebug.*
%{_mandir}/man1/isodump.*
%{_mandir}/man1/isoinfo.*
%{_mandir}/man1/isovfy.*
%{_mandir}/man1/pitchplay.*
%{_mandir}/man1/readmult.*
%files -n libusal
%defattr(-,root,root)
@ -216,10 +201,8 @@ fi
%license COPYING
%{_bindir}/icedax
%{_bindir}/cdda2ogg
%ghost %{_bindir}/cdda2wav
%{_mandir}/man1/icedax.*
%{_mandir}/man1/cdda2ogg.*
%{_mandir}/man1/list_audio_tracks.*
%files devel
%defattr(-,root,root)
@ -227,33 +210,16 @@ fi
%{_libdir}/*.so
%{_includedir}/usal
%files help
%defattr(-,root,root)
%doc doc/READMEs doc/wodim
%doc Changelog FAQ FORK START doc/icedax
%doc doc/genisoimage doc/plattforms/README.linux
%{_mandir}/*
%changelog
* Thu Jan 4 2024 zhangpan<zhangpan103@h-partners.com> - 1.1.11-51
- Type:bugfix
- ID:NA
- SUG:NA
- delete autosetup macro in changelog
* Mon Oct 30 2023 yueyuankun<yueyuankun@kylinos.cn> - 1.1.11-50
- Type:update
- ID:NA
- SUG:NA
- DESC:delete Requires git
* Wed Nov 23 2022 wangkerong<wangkerong@h-partners.com> - 1.1.11-49
- fix spell error
* Wed Nov 16 2022 wangkerong<wangkerong@h-partners.com> - 1.1.11-48
- fix empty link
* Thu Nov 3 2022 wuzx<wuzx1226@qq.com> - 1.1.11-47
- add sw64 patch
* Tue Oct 25 2022 wangkerong <wangkerong@h-partners.com> - 1.1.11-46
- rebuild for next release
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.1.11-45
- DESC: delete -S git from autosetup, and delete BuildRequires git
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Fri Jul 30 2021 liuyumeng <liuyumeng5@huawei.com> - 1.1.11-44
- fix build fail on gcc-10