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

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

Loading…
Cancel
Save