parent
121c73f478
commit
41a5c61741
@ -0,0 +1 @@
|
|||||||
|
/libz-sys-1.0.18.crate
|
@ -0,0 +1,8 @@
|
|||||||
|
--- libz-sys-1.0.18/Cargo.toml 1970-01-01T01:00:00+01:00
|
||||||
|
+++ libz-sys-1.0.18/Cargo.toml 2017-11-16T11:01:02.202422+01:00
|
||||||
|
@@ -28,5 +28,3 @@
|
||||||
|
|
||||||
|
[build-dependencies.cc]
|
||||||
|
version = "1.0"
|
||||||
|
-[target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg]
|
||||||
|
-version = "0.2"
|
@ -0,0 +1,81 @@
|
|||||||
|
# Generated by rust2rpm
|
||||||
|
%bcond_without check
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
%global crate libz-sys
|
||||||
|
|
||||||
|
Name: rust-%{crate}
|
||||||
|
Version: 1.0.18
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Bindings to the system libz library (also known as zlib)
|
||||||
|
|
||||||
|
License: MIT or ASL 2.0
|
||||||
|
URL: https://crates.io/crates/libz-sys
|
||||||
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
||||||
|
# Initial patched metadata
|
||||||
|
# * No MSVC
|
||||||
|
Patch0: libz-sys-1.0.18-fix-metadata.diff
|
||||||
|
|
||||||
|
ExclusiveArch: %{rust_arches}
|
||||||
|
|
||||||
|
BuildRequires: rust-packaging
|
||||||
|
# [dependencies]
|
||||||
|
BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
|
||||||
|
# [build-dependencies]
|
||||||
|
BuildRequires: (crate(cc) >= 1.0.0 with crate(cc) < 2.0.0)
|
||||||
|
BuildRequires: (crate(pkg-config) >= 0.3.0 with crate(pkg-config) < 0.4.0)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: %{summary}
|
||||||
|
Requires: pkgconfig(zlib)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Bindings to the system libz library (also known as zlib).
|
||||||
|
|
||||||
|
This package contains library source intended for building other packages
|
||||||
|
which use %{crate} from crates.io.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{crate}-%{version} -p1
|
||||||
|
%cargo_prep
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cargo_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cargo_install
|
||||||
|
|
||||||
|
%if %{with check}
|
||||||
|
%check
|
||||||
|
%cargo_test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE-MIT LICENSE-APACHE
|
||||||
|
%doc README.md
|
||||||
|
%{cargo_registry}/%{crate}-%{version}/
|
||||||
|
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Nov 16 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.18-1
|
||||||
|
- Update to 1.0.18
|
||||||
|
|
||||||
|
* Mon Jun 26 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.16-1
|
||||||
|
- Update to 1.0.16
|
||||||
|
|
||||||
|
* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.14-1
|
||||||
|
- Update to 1.0.14
|
||||||
|
|
||||||
|
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.13-3
|
||||||
|
- Port to use rust-packaging
|
||||||
|
|
||||||
|
* Sun Feb 26 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.13-2
|
||||||
|
- Rebuild
|
||||||
|
|
||||||
|
* Sun Feb 26 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.13-1
|
||||||
|
- Initial package
|
Loading…
Reference in new issue