Update to 2.1.2

Adapt to new packaging
epel9
Josh Stone 6 years ago
parent bec7690c72
commit f410d842fb

1
.gitignore vendored

@ -1,3 +1,4 @@
/data-encoding-2.0.0.crate /data-encoding-2.0.0.crate
/data-encoding-2.1.0.crate /data-encoding-2.1.0.crate
/data-encoding-2.1.1.crate /data-encoding-2.1.1.crate
/data-encoding-2.1.2.crate

@ -5,8 +5,8 @@
%global crate data-encoding %global crate data-encoding
Name: rust-%{crate} Name: rust-%{crate}
Version: 2.1.1 Version: 2.1.2
Release: 3%{?dist} Release: 1%{?dist}
Summary: Efficient and customizable data-encoding functions Summary: Efficient and customizable data-encoding functions
License: MIT License: MIT
@ -17,18 +17,36 @@ ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging
%description %global _description \
%{summary}. Efficient and customizable data-encoding functions.
%description %{_description}
%package devel %package devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description devel %description devel %{_description}
Efficient and customizable data-encoding functions.
This package contains library source intended for building other packages This package contains library source intended for building other packages
which use %{crate} from crates.io. which use "%{crate}" crate.
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%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}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version} -p1
@ -45,12 +63,11 @@ which use %{crate} from crates.io.
%cargo_test %cargo_test
%endif %endif
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%changelog %changelog
* Tue Jan 08 2019 Josh Stone <jistone@redhat.com> - 2.1.2-1
- Update to 2.1.2
- Adapt to new packaging
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

@ -1 +1 @@
SHA512 (data-encoding-2.1.1.crate) = 584291b05119e41f84d27397fd65f2901f09409333cb72675897543cd92e1d86af6cfd8a7983fd8bf96299bf516c396ed7ec53dcaf4f567f049b171d3e5de4ab SHA512 (data-encoding-2.1.2.crate) = 2c8bea2a18c019013512f9d89a5f71f2bdefa3feb0e3fd51c692bd0432c85464b80b50b38dd14a31a2794f98e4aa5fbe6259fd34fa2764a1ecfa31375e4afaed

Loading…
Cancel
Save