Blame rust-pcre2-sys.spec

00ee671
# Generated by rust2rpm 10
afa64e7
%bcond_without check
8754ab9
%global debug_package %{nil}
8754ab9
8754ab9
%global crate pcre2-sys
8754ab9
8754ab9
Name:           rust-%{crate}
7c76a2d
Version:        0.2.2
704ad34
Release:        3%{?dist}
8754ab9
Summary:        Low level bindings to PCRE2
8754ab9
8754ab9
# Upstream license specification: Unlicense/MIT
8754ab9
License:        Unlicense or MIT
8754ab9
URL:            https://crates.io/crates/pcre2-sys
864f8f5
Source:         %{crates_source}
8754ab9
8754ab9
ExclusiveArch:  %{rust_arches}
afa64e7
%if %{__cargo_skip_build}
afa64e7
BuildArch:      noarch
afa64e7
%endif
8754ab9
8754ab9
BuildRequires:  rust-packaging
8754ab9
afa64e7
%global _description %{expand:
afa64e7
Low level bindings to PCRE2.}
d4958c4
d4958c4
%description %{_description}
8754ab9
8754ab9
%package        devel
8754ab9
Summary:        %{summary}
8754ab9
BuildArch:      noarch
2168fb3
Requires:       pkgconfig(libpcre2-8)
8754ab9
d4958c4
%description    devel %{_description}
8754ab9
8754ab9
This package contains library source intended for building other packages
d4958c4
which use "%{crate}" crate.
d4958c4
d4958c4
%files          devel
d4958c4
%license UNLICENSE LICENSE-MIT COPYING
d4958c4
%doc README.md
d4958c4
%{cargo_registry}/%{crate}-%{version}/
d4958c4
d4958c4
%package     -n %{name}+default-devel
d4958c4
Summary:        %{summary}
d4958c4
BuildArch:      noarch
d4958c4
d4958c4
%description -n %{name}+default-devel %{_description}
d4958c4
d4958c4
This package contains library source intended for building other packages
d4958c4
which use "default" feature of "%{crate}" crate.
d4958c4
d4958c4
%files       -n %{name}+default-devel
d4958c4
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
8754ab9
8754ab9
%prep
864f8f5
%autosetup -n %{crate}-%{version_no_tilde} -p1
8754ab9
rm -vrf pcre2
8754ab9
%cargo_prep
8754ab9
00ee671
%generate_buildrequires
00ee671
%cargo_generate_buildrequires
00ee671
echo 'pkgconfig(libpcre2-8)'
00ee671
8754ab9
%build
8754ab9
%cargo_build
8754ab9
8754ab9
%install
8754ab9
%cargo_install
8754ab9
8754ab9
%if %{with check}
8754ab9
%check
8754ab9
%cargo_test
8754ab9
%endif
8754ab9
8754ab9
%changelog
704ad34
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
704ad34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
704ad34
00ee671
* Thu Jun 27 08:55:35 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-2
00ee671
- Regenerate
00ee671
7c76a2d
* Sun Jun 09 15:19:59 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-1
7c76a2d
- Update to 0.2.2
7c76a2d
afa64e7
* Sun Jun 09 11:33:02 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-2
afa64e7
- Regenerate
afa64e7
2168fb3
* Tue Apr 30 08:43:36 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-1
2168fb3
- Update to 0.2.1
2168fb3
864f8f5
* Tue Apr 16 2019 Josh Stone <jistone@redhat.com> - 0.2.0-1
864f8f5
- Update to 0.2.0
864f8f5
289e0d3
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-4
289e0d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
289e0d3
d4958c4
* Sun Oct 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.1-3
d4958c4
- Adapt to new packaging
d4958c4
5a4c840
* Sun Oct 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.1-2
5a4c840
- Run tests in infrastructure
5a4c840
8754ab9
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.1-1
8754ab9
- Initial package