The package rpms/containers.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/containers.git/commit/?id=ca0c652fab....
Change: +ExclusiveArch: %{ldc_arches}
Thanks.
Full change: ============
commit 479a02c87c825157354b01114f7876718fa02417 Author: MERCIER Jonathan bioinfornatics@gmail.com Date: Mon Oct 8 17:28:36 2018 +0200
Add stdx-allocator as build requirement
diff --git a/containers.spec b/containers.spec index 9babeaf..c5e348e 100644 --- a/containers.spec +++ b/containers.spec @@ -8,7 +8,7 @@
Name: containers Version: %{major_version}.%{minor_version}.%{patch_version} -Release: 2%{?pre:.%{pre}}%{?dist} +Release: 3%{?pre:.%{pre}}%{?dist} Summary: Efficient library to use collection in D Summary(fr): Bibliothque efficace pour l'utilisation des collections en D
@@ -33,7 +33,8 @@ bibliothque standard Phobos. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: stdx-allocator-devel +Requires: stdx-allocator-devel +BuildRequires: stdx-allocator-devel
%description devel containers package contains header files for developing D applications @@ -106,6 +107,9 @@ install -pm0644 %{name}.d.tags %{buildroot}/%{_datadir}/geany/tags/
%changelog +* Mon Oct 08 2018 MERCIER Jonathan <bioinfornatics at gmail.com> - 0.8.0-3.alpha.9 +- Add stdx-allocator as build requirement + * Sun Aug 26 2018 MERCIER Jonathan <bioinfornatics at gmail.com> - 0.8.0-2.alpha.9 - Apply Robert-Andr Mauchin fix
commit ca0c652fabffbf31e2a23209348e2c8e16865f48 Author: MERCIER Jonathan bioinfornatics@gmail.com Date: Mon Oct 8 16:19:32 2018 +0200
Initial import (#1613571)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aa29575 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/containers-0.8.0-alpha.9.tar.gz diff --git a/containers.spec b/containers.spec new file mode 100644 index 0000000..9babeaf --- /dev/null +++ b/containers.spec @@ -0,0 +1,113 @@ +# debug info seem not works with D compiler +%global debug_package %{nil} + +%global major_version 0 +%global minor_version 8 +%global patch_version 0 +%global pre alpha.9 + +Name: containers +Version: %{major_version}.%{minor_version}.%{patch_version} +Release: 2%{?pre:.%{pre}}%{?dist} +Summary: Efficient library to use collection in D +Summary(fr): Bibliothque efficace pour l'utilisation des collections en D + +License: Boost +URL: https://github.com/dlang-community/dsymbol + +Source0: https://github.com/dlang-community/containers/archive/v%%7Bversion%7D%%7B?pr... +ExclusiveArch: %{ldc_arches} + +BuildRequires: ldc meson +Requires: ldc-phobos ldc-druntime stdx-allocator + +%description +Efficient library to use collection in D. Value insertion can be up to 200 +time faster than method provided by the standard library Phobos. + +%description -l fr +Bibliothque efficace pour l'utilisation des collections en D . L'insertion de +valeur peut tre jusqu' 200 fois plus rapide que la mthode propos par la +bibliothque standard Phobos. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: stdx-allocator-devel + +%description devel +containers package contains header files for developing D applications +that use containers. + +%description devel -l fr +Le paquet containers contient les fichiers d'enttes pour dvelopper +des applications en D utilisant containers. + + +%package geany-tags +Summary: Support for enable autocompletion in geany +Requires: %{name} = %{version}-%{release} +BuildArch: noarch +BuildRequires: geany +Requires: geany + +%description geany-tags +Enable autocompletion for dsymbol library in geany (IDE) + +%description -l fr geany-tags +Active l'autocompletion pour pour la bibliothque dsymbol dans geany (IDE) + +%prep +%setup -q -n %{name}-%{version}%{?pre:-%{pre}} +# temp geany config directory for allow geany to generate tags +mkdir geany_config + +%build +LDFLAGS='-Wl,-z,relro -Wl,-z,now' %meson +%meson_build + +# generate doc +src_dir='src' +sources=$(find "${src_dir}" -name '*.d') +for f in ${sources[@]}; do + d_path=$(dirname ${f}); + d_file=$(basename ${f}); + doc_file=doc-src/${d_path/${src_dir}}/${d_file/.d/.html} + ldc2 -L-lstdx-allocator -I %{_includedir}/d/stdx-allocator -I "${src_dir}" -o- -c $f -Df ${doc_file} doc-src/index.ddoc; +done +mv doc-src html + +# generate geany tags +headers=$(find src -name '*.d') +geany -c geany_config -g %{name}.d.tags ${headers[@]} + +%install +%meson_install + +# geany tags +mkdir -p %{buildroot}%{_datadir}/geany/tags/ +install -pm0644 %{name}.d.tags %{buildroot}/%{_datadir}/geany/tags/ + +%files +%license LICENSE.txt +%doc README.md +%{_libdir}/libd%{name}.so.%{version} +%{_libdir}/libd%{name}.so.%{major_version} + + +%files devel +%doc html +%{_libdir}/pkgconfig/d%{name}.pc +%{_includedir}/d/%{name} +%{_libdir}/libd%{name}.so + +%files geany-tags +%{_datadir}/geany/tags/%{name}.d.tags + + +%changelog +* Sun Aug 26 2018 MERCIER Jonathan <bioinfornatics at gmail.com> - 0.8.0-2.alpha.9 +- Apply Robert-Andr Mauchin fix + +* Thu Aug 2 2018 MERCIER Jonathan <bioinfornatics at gmail.com> - 0.8.0-1.alpha.9 +- Initial release diff --git a/sources b/sources new file mode 100644 index 0000000..05ebe1e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (containers-0.8.0-alpha.9.tar.gz) = f27b944f94771d6e1e76fd9710991fba1c9840dbc80676c3536f4c884009bd3b0db1c9f38058cde50b4e6fe3c5d1f55fd2f34523cf3554528d932b1d42e58323