You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-open/rust-open.spec

125 lines
3.3 KiB

# Generated by rust2rpm 16
%bcond_without check
%global debug_package %{nil}
# Binary is useless
%global __cargo_is_bin() false
%global crate open
Name: rust-%{crate}
Version: 1.6.0
Release: 1%{?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}
# Initial patched metadata
# * No windows
Patch0: open-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Open a path or URL using the program configured on the system.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
Requires: /usr/bin/xdg-open
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license LICENSE.md
%doc README.md changelog.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
* Thu Mar 25 2021 Fabio Valentini <decathorpe@gmail.com> - 1.6.0-1
- Update to version 1.6.0.
- Fixes RHBZ#1937422
* Wed Mar 03 2021 Fabio Valentini <decathorpe@gmail.com> - 1.5.1-1
- Update to version 1.5.1.
- Fixes RHBZ#1934634
* Tue Mar 02 2021 Fabio Valentini <decathorpe@gmail.com> - 1.5.0-1
- Update to version 1.5.0.
- Fixes RHBZ#1933465
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5 years ago
* Tue Mar 10 2020 Josh Stone <jistone@redhat.com> - 1.4.0-1
- Update to 1.4.0
* Tue Feb 11 10:53:56 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.3.4-1
- Update to 1.3.4
* Tue Feb 11 10:01:28 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.3.3-1
- Update to 1.3.3
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5 years ago
* Sat Nov 23 2019 Josh Stone <jistone@redhat.com> - 1.3.2-1
- Update to 1.3.2
* Sat Aug 03 13:59:09 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.1-1
- Update to 1.3.1
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* 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