diff --git a/libisoburn.spec b/libisoburn.spec index f2cce8a2ca6aab2976cd3329443df4eb8d0b0fd3..e54a9f174cc999c8424a25071af06f906afc4b81 100644 --- a/libisoburn.spec +++ b/libisoburn.spec @@ -1,10 +1,11 @@ Name: libisoburn Version: 1.5.4 -Release: 1 +Release: 2 Summary: Library to enables creation and expansion of ISO-9660 filesystems License: GPLv2+ URL: http://libburnia-project.org/ Source0: http://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz +Patch0: support-specify-cc.patch BuildRequires: libburn-devel >= %{version}, libisofs-devel >= %{version} BuildRequires: gcc gcc-c++ @@ -53,7 +54,7 @@ supported media: CD-R, CD-RW, DVD-R, DVD-RW, DVD+R, DVD+R DL, DVD+RW, DVD-RAM, BD-R and BD-RE. %prep -%setup -q +%autosetup -p1 %build %configure --disable-static @@ -140,6 +141,9 @@ fi %{_mandir}/man1/xorriso-tcltk.1* %changelog +* Wed Apr 26 2023 Xiaoya Huang - 1.5.4-2 +- Support specify CC + * Fri Jun 24 2022 dillon chen - 1.5.4-1 - update to 1.5.4 diff --git a/support-specify-cc.patch b/support-specify-cc.patch new file mode 100644 index 0000000000000000000000000000000000000000..e1803e3c9ebf68490428534b26d27bbd052c6d89 --- /dev/null +++ b/support-specify-cc.patch @@ -0,0 +1,12 @@ +diff -up libisoburn-1.5.4/releng/auto_cxx.orig2 libisoburn-1.5.4/releng/auto_cxx +--- libisoburn-1.5.4/releng/auto_cxx.orig2 2023-04-26 21:35:34.746604953 +0800 ++++ libisoburn-1.5.4/releng/auto_cxx 2023-04-26 21:37:06.058285371 +0800 +@@ -29,7 +29,7 @@ fi + + # xorriso binary is not needed for that particular test + SAMPLE_CODE_DIR=codesamples +-CC=g++ ++CC=$CXX + + # check compiler + if ! which "${CC}" >/dev/null 2>&1; then