Update to 0.1.36

Adapt to new packaging
epel9
Josh Stone 6 years ago
parent 844e6c5734
commit b0ce66390e

1
.gitignore vendored

@ -6,3 +6,4 @@
/cmake-0.1.33.crate /cmake-0.1.33.crate
/cmake-0.1.34.crate /cmake-0.1.34.crate
/cmake-0.1.35.crate /cmake-0.1.35.crate
/cmake-0.1.36.crate

@ -5,38 +5,55 @@
%global crate cmake %global crate cmake
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.1.35 Version: 0.1.36
Release: 2%{?dist} Release: 1%{?dist}
Summary: Build dependency for running `cmake` to build a native library Summary: Build dependency for running `cmake` to build a native library
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/cmake URL: https://crates.io/crates/cmake
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging
# [dependencies] BuildRequires: (crate(cc/default) >= 1.0.32 with crate(cc/default) < 2.0.0)
BuildRequires: (crate(cc) >= 1.0.0 with crate(cc) < 2.0.0)
BuildRequires: %{_bindir}/cmake BuildRequires: %{_bindir}/cmake
%description %global _description \
%{summary}. A build dependency for running `cmake` to build a native library.
%description %{_description}
%package devel %package devel
Summary: %{summary} Summary: %{summary}
Requires: %{_bindir}/cmake Requires: %{_bindir}/cmake
BuildArch: noarch BuildArch: noarch
%description devel %description devel %{_description}
A build dependency for running `cmake` to build a native library.
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-MIT LICENSE-APACHE
%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_no_tilde} -p1
%cargo_prep %cargo_prep
%build %build
@ -50,12 +67,11 @@ which use %{crate} from crates.io.
%cargo_test %cargo_test
%endif %endif
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%changelog %changelog
* Tue Mar 26 2019 Josh Stone <jistone@redhat.com> - 0.1.36-1
- Update to 0.1.36
- Adapt to new packaging
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.35-2 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.35-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

@ -1 +1 @@
SHA512 (cmake-0.1.35.crate) = 021f7dec0f2bc907ae1b1dbee5055e5fd450403bfe9d6c891c56747cfb70f5cbef8ab76e660f401d9e3c30a35c14c8841964e0ee26eb192ffd8948a594a9866d SHA512 (cmake-0.1.36.crate) = a58e44a8a3af7c82244dd56fa40d421201bb33f49f238b0038f11646763376392b824915e28856a0ccadb54a8ab0fbb41490d8d7c5a748e1d5ff14a300dbc848

Loading…
Cancel
Save