From 6f11e759bc89db204e5024c9dfc7835972ca43de Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mar 23 2020 12:28:49 +0000 Subject: initial import (#1815785) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2921a07 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_* +/*.src.rpm + +/fedora-update-feedback-0.5.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 62e127e..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-fedora-update-feedback - -The rust-fedora-update-feedback package \ No newline at end of file diff --git a/rust-fedora-update-feedback.spec b/rust-fedora-update-feedback.spec new file mode 100644 index 0000000..2a7ee6b --- /dev/null +++ b/rust-fedora-update-feedback.spec @@ -0,0 +1,123 @@ +# Generated by rust2rpm 13 +%bcond_without check + +%global crate fedora-update-feedback + +Name: rust-%{crate} +Version: 0.5.0 +Release: 2%{?dist} +Summary: Provide feedback for fedora updates (inspired by fedora-easy-karma) + +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/fedora-update-feedback +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Provide feedback for fedora updates (inspired by fedora-easy-karma).} + +%description %{_description} + +%if ! %{__cargo_skip_build} +%package -n %{crate} +Summary: %{summary} + +# Licenses of dependencies: +# $ rpm -qa --qf '%%{LICENSE}\n' 'rust-*-devel' | sort -u +# - (MIT or ASL 2.0) and BSD +# - ASL 2.0 +# - ASL 2.0 or Boost +# - ASL 2.0 or MIT +# - BSD +# - MIT +# - MIT or ASL 2.0 +# - Unlicense or MIT +License: ASL 2.0 and BSD and MIT + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE-APACHE LICENSE-MIT +%doc README.md +%{_bindir}/fedora-update-feedback +%endif + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%license LICENSE-APACHE LICENSE-MIT +%doc README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +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. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Mar 20 2020 Fabio Valentini - 0.5.0-2 +- Rebuild for bodhi-rs 0.5.8. + +* Sun Mar 08 2020 Fabio Valentini - 0.5.0-1 +- Update to version 0.5.0. + +* Thu Mar 05 2020 Fabio Valentini - 0.4.2-3 +- Rebuild for bodhi-rs 0.5.7. + +* Sat Feb 29 2020 Fabio Valentini - 0.4.2-2 +- Rebuild for bodhi-rs 0.5.6. + +* Fri Feb 28 2020 Fabio Valentini - 0.4.2-1 +- Update to version 0.4.2. + +* Fri Feb 28 2020 Fabio Valentini - 0.4.1-1 +- Update to version 0.4.1. + +* Mon Feb 24 2020 Fabio Valentini - 0.4.0-1 +- Update to version 0.4.0. + +* Wed Feb 19 2020 Fabio Valentini - 0.3.2-1 +- Update to version 0.3.2. + +* Mon Feb 10 2020 Fabio Valentini - 0.3.1-1 +- Initial package + diff --git a/sources b/sources new file mode 100644 index 0000000..1536491 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (fedora-update-feedback-0.5.0.crate) = 95fb6fe026a8b0b8998ea72bb94cb2d2b274ef51068ea1c7ace67a5009e97ae9be30811690885d9dbc7b8339d375e64e3afe47e0966616ea0bac3ebccd8dd908