Blame rust-grep-matcher.spec

13a92b
# Generated by rust2rpm 10
724c60
%bcond_without check
ca3426
%global debug_package %{nil}
ca3426
ca3426
%global crate grep-matcher
ca3426
ca3426
Name:           rust-%{crate}
1799aa
Version:        0.1.3
1799aa
Release:        1%{?dist}
ca3426
Summary:        Trait for regular expressions, with a focus on line oriented search
ca3426
ca3426
# Upstream license specification: Unlicense/MIT
ca3426
License:        Unlicense or MIT
ca3426
URL:            https://crates.io/crates/grep-matcher
9548bb
Source:         %{crates_source}
ca3426
ca3426
ExclusiveArch:  %{rust_arches}
724c60
%if %{__cargo_skip_build}
724c60
BuildArch:      noarch
724c60
%endif
ca3426
ca3426
BuildRequires:  rust-packaging
ca3426
724c60
%global _description %{expand:
724c60
Trait for regular expressions, with a focus on line oriented search.}
162a39
162a39
%description %{_description}
ca3426
ca3426
%package        devel
ca3426
Summary:        %{summary}
ca3426
BuildArch:      noarch
ca3426
162a39
%description    devel %{_description}
ca3426
ca3426
This package contains library source intended for building other packages
162a39
which use "%{crate}" crate.
162a39
162a39
%files          devel
162a39
%license UNLICENSE LICENSE-MIT
162a39
%doc README.md
162a39
%{cargo_registry}/%{crate}-%{version}/
162a39
162a39
%package     -n %{name}+default-devel
162a39
Summary:        %{summary}
162a39
BuildArch:      noarch
162a39
162a39
%description -n %{name}+default-devel %{_description}
162a39
162a39
This package contains library source intended for building other packages
162a39
which use "default" feature of "%{crate}" crate.
162a39
162a39
%files       -n %{name}+default-devel
162a39
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
ca3426
ca3426
%prep
9548bb
%autosetup -n %{crate}-%{version_no_tilde} -p1
ca3426
%cargo_prep
ca3426
13a92b
%generate_buildrequires
13a92b
%cargo_generate_buildrequires
13a92b
ca3426
%build
ca3426
%cargo_build
ca3426
ca3426
%install
ca3426
%cargo_install
ca3426
ca3426
%if %{with check}
ca3426
%check
ca3426
%cargo_test
ca3426
%endif
ca3426
ca3426
%changelog
1799aa
* Sat Aug 03 14:38:10 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.3-1
1799aa
- Update to 0.1.3
1799aa
6234a5
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-4
6234a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6234a5
13a92b
* Thu Jun 20 16:53:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.2-3
13a92b
- Regenerate
13a92b
724c60
* Sun Jun 09 10:08:48 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.2-2
724c60
- Regenerate
724c60
9548bb
* Tue Apr 16 2019 Josh Stone <jistone@redhat.com> - 0.1.2-1
9548bb
- Update to 0.1.2
9548bb
33005d
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-4
33005d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
33005d
162a39
* Sun Oct 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.1-3
162a39
- Adapt to new packaging
162a39
08f95b
* Sun Oct 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.1-2
08f95b
- Run tests in infrastructure
08f95b
ca3426
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.1-1
ca3426
- Initial package