Update to version 1.0.7; Fixes RHBZ#2120259

epel10
Fabio Valentini 2 years ago
parent e4acdd6b7a
commit 374cd7d805
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1,2 +1,3 @@
/link-cplusplus-1.0.5.crate
/link-cplusplus-1.0.6.crate
/link-cplusplus-1.0.7.crate

@ -1,25 +1,21 @@
# Generated by rust2rpm 16
# Generated by rust2rpm 22
%bcond_without check
%global debug_package %{nil}
%global crate link-cplusplus
Name: rust-%{crate}
Version: 1.0.6
Release: %{autorelease}
Name: rust-link-cplusplus
Version: 1.0.7
Release: %autorelease
Summary: Link libstdc++ or libc++ automatically or manually
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/link-cplusplus
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Link libstdc++ or libc++ automatically or manually.}
@ -32,14 +28,14 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%doc README.md
%license LICENSE-APACHE
%license LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -47,24 +43,23 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+libc++-devel
Summary: %{summary}
BuildArch: noarch
Provides: crate(%{crate}/libc++) = %{version_no_tilde}
%description -n %{name}+libc++-devel %{_description}
This package contains library source intended for building other packages
which use "libc++" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "libc++" feature of the "%{crate}" crate.
%files -n %{name}+libc++-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+libcxx-devel
Summary: %{summary}
@ -72,24 +67,23 @@ BuildArch: noarch
%description -n %{name}+libcxx-devel %{_description}
This package contains library source intended for building other packages
which use "libcxx" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "libcxx" feature of the "%{crate}" crate.
%files -n %{name}+libcxx-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+libstdc++-devel
Summary: %{summary}
BuildArch: noarch
Provides: crate(%{crate}/libstdc++) = %{version_no_tilde}
%description -n %{name}+libstdc++-devel %{_description}
This package contains library source intended for building other packages
which use "libstdc++" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "libstdc++" feature of the "%{crate}" crate.
%files -n %{name}+libstdc++-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+libstdcxx-devel
Summary: %{summary}
@ -97,11 +91,11 @@ BuildArch: noarch
%description -n %{name}+libstdcxx-devel %{_description}
This package contains library source intended for building other packages
which use "libstdcxx" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "libstdcxx" feature of the "%{crate}" crate.
%files -n %{name}+libstdcxx-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nothing-devel
Summary: %{summary}
@ -109,29 +103,29 @@ BuildArch: noarch
%description -n %{name}+nothing-devel %{_description}
This package contains library source intended for building other packages
which use "nothing" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "nothing" feature of the "%{crate}" crate.
%files -n %{name}+nothing-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires -a
%cargo_generate_buildrequires
%build
%cargo_build -a
%cargo_build
%install
%cargo_install -a
%cargo_install
%if %{with check}
%check
%cargo_test -a
%cargo_test
%endif
%changelog
%{autochangelog}
%autochangelog

@ -1 +1 @@
SHA512 (link-cplusplus-1.0.6.crate) = 9f77f71f7261472de0d97b2c26efb43f3d49dafbaa1eb853340467260a65d85344e94e023540e068051108afd63cc48c6a5c8025f50922a73dc6409134418e74
SHA512 (link-cplusplus-1.0.7.crate) = c8fdf9ffb29cd0f8824bb4416d28f6f4fd7a024ce5056acbe63a680f975f50fc0cb408c0d0af04a37b6985bf15f78e7e7d1fc20a9c0f8b729e7ea696460d8c75

Loading…
Cancel
Save