The package rpms/oidn.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/oidn.git/commit/?id=9fda1910efad3d17....
Change: +ExclusiveArch: x86_64
Thanks.
Full change: ============
commit 9fda1910efad3d175c3ff7f18b4f1a2c895b0f1c Author: Luya Tshimbalanga luya@fedoraproject.org Date: Tue Apr 2 08:34:46 2019 -0700
Use spaces on line 47 Make -doc subpackage noarch Make -doc subpackage requiring main package
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..479af45 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/oidn-0.8.2.src.tar.gz diff --git a/oidn.spec b/oidn.spec new file mode 100644 index 0000000..8a0a018 --- /dev/null +++ b/oidn.spec @@ -0,0 +1,94 @@ +Name: oidn +Version: 0.8.2 +Release: 4%{?dist} +Summary: Library of denoising filters for images rendered with ray tracing + +License: ASL 2.0 +URL: https://openimagedenoise.github.io/ +Source0: https://github.com/OpenImageDenoise/%%7Bname%7D/releases/download/v%%7Bversi... + +# Library only available of x86_64 arch +ExclusiveArch: x86_64 + +BuildRequires: cmake >= 3.13.0 +BuildRequires: gcc-c++ +BuildRequires: python3-devel +BuildRequires: tbb-devel + +%description +An open source library of high-performance, high-quality denoising +filters for images rendered with ray tracing. + +%package libs +Summary: Libraries for %{name} + +%description libs +The %{name}-libs package contains shared library for %{name}. + +%package devel +Summary: Development files for %{name} +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package docs +Summary: Documentation for %{name} +Requires: %{name}-libs%{?_isa} = %{version}-%{release} +BuildArch: noarch + +%description docs +The %{name}-docs package contains documentation for %{name}. + +%prep +%autosetup + + +%build +%cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \ + . +%make_build + + +%install +%make_install + +# Remove duplicated documentation +rm -rf %{buildroot}%{_docdir}/OpenImageDenoise + + +%files +%license LICENSE.txt +%doc CHANGELOG.md +%{_bindir}/denoise + +%files libs +%{_libdir}/cmake/OpenImageDenoise +%{_libdir}/libOpenImageDenoise.so.* + +%files docs +%doc README.md readme.pdf + +%files devel +%{_includedir}/OpenImageDenoise +%{_libdir}/libOpenImageDenoise.so + +%changelog +* Tue Apr 02 2019 Luya Tshimbalanga luya@fedoraproject.org - 0.8.2-4 +- Use spaces on line 47 +- Make -doc subpackage noarch +- Make -doc subpackage requiring main package + +* Mon Apr 01 2019 Luya Tshimbalanga luya@fedoraproject.org - 0.8.2-3 +- Move versioned so-files to libs subpackage +- Move unversioned so-files to devel subpackage + +* Mon Apr 01 2019 Luya Tshimbalanga luya@fedoraproject.org - 0.8.2-2 +- Add subpackage for large doc files +- Move .so files to devel subpackage +- Fix library path +- Remove unneeded clearance + +* Sun Mar 31 2019 Luya Tshimbalanga luya@fedoraproject.org - 0.8.2-1 +- Initial packaging diff --git a/sources b/sources new file mode 100644 index 0000000..a60e158 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (oidn-0.8.2.src.tar.gz) = 1e43893edfb367ebbe8854fe8cb41292c89058496094007ed4bd65eb6742765e84b6c6ccb0a72a2f4bae650467b992ee465d18b206d1c05880576ce7c54fb3bf
arch-excludes@lists.fedoraproject.org