|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
# Binary is useless
|
|
|
|
@ -9,9 +9,10 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.2.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Open a path or URL using the program configured on the system
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/open
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
@ -21,11 +22,14 @@ Source: %{crates_source}
|
|
|
|
|
Patch0: open-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Open a path or URL using the program configured on the system.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Open a path or URL using the program configured on the system.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -60,6 +64,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -72,5 +79,8 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Jun 22 16:50:38 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.2-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Thu Mar 14 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.2-1
|
|
|
|
|
- Initial package
|
|
|
|
|