Blame rust-sass-sys.spec

e61eec7
# Generated by rust2rpm 13
550fbd5
%bcond_without check
4b97f0a
%global debug_package %{nil}
4b97f0a
4b97f0a
%global crate sass-sys
4b97f0a
4b97f0a
Name:           rust-%{crate}
4f221c3
Version:        0.4.21
c3b764f
Release:        2%{?dist}
4b97f0a
Summary:        Low level binding for the Sass library
4b97f0a
4b97f0a
# Upstream license specification: MIT
4b97f0a
License:        MIT
4b97f0a
URL:            https://crates.io/crates/sass-sys
4b97f0a
Source:         %{crates_source}
4b97f0a
# Initial patched metadata
4b97f0a
# * No windows
4b97f0a
Patch0:         sass-sys-fix-metadata.diff
4b97f0a
4b97f0a
ExclusiveArch:  %{rust_arches}
550fbd5
%if %{__cargo_skip_build}
550fbd5
BuildArch:      noarch
550fbd5
%endif
4b97f0a
4b97f0a
BuildRequires:  rust-packaging
4b97f0a
4b97f0a
%global _description %{expand:
4b97f0a
Low level binding for the Sass library.}
4b97f0a
4b97f0a
%description %{_description}
4b97f0a
4b97f0a
%package        devel
4b97f0a
Summary:        %{summary}
4b97f0a
BuildArch:      noarch
4b97f0a
Requires:       pkgconfig(libsass)
4b97f0a
4b97f0a
%description    devel %{_description}
4b97f0a
4b97f0a
This package contains library source intended for building other packages
4b97f0a
which use "%{crate}" crate.
4b97f0a
4b97f0a
%files          devel
a350390
%license LICENSE
e61eec7
%{cargo_registry}/%{crate}-%{version_no_tilde}/
4b97f0a
4b97f0a
%package     -n %{name}+default-devel
4b97f0a
Summary:        %{summary}
4b97f0a
BuildArch:      noarch
4b97f0a
4b97f0a
%description -n %{name}+default-devel %{_description}
4b97f0a
4b97f0a
This package contains library source intended for building other packages
4b97f0a
which use "default" feature of "%{crate}" crate.
4b97f0a
4b97f0a
%files       -n %{name}+default-devel
e61eec7
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
4b97f0a
4b97f0a
%prep
4b97f0a
%autosetup -n %{crate}-%{version_no_tilde} -p1
4b97f0a
rm -vr libsass
4b97f0a
%cargo_prep
4b97f0a
550fbd5
%generate_buildrequires
550fbd5
%cargo_generate_buildrequires
550fbd5
echo 'pkgconfig(libsass)'
550fbd5
4b97f0a
%build
4b97f0a
%cargo_build
4b97f0a
4b97f0a
%install
4b97f0a
%cargo_install
4b97f0a
4b97f0a
%if %{with check}
4b97f0a
%check
4b97f0a
%cargo_test
4b97f0a
%endif
4b97f0a
4b97f0a
%changelog
c3b764f
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.21-2
c3b764f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c3b764f
4f221c3
* Thu May 21 2020 Josh Stone <jistone@redhat.com> - 0.4.21-1
4f221c3
- Update to 0.4.21
4f221c3
4c535da
* Sat May 16 20:34:59 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.4.20-1
4c535da
- Update to 0.4.20
4c535da
d62a5b2
* Wed Apr 08 2020 Josh Stone <jistone@redhat.com> - 0.4.19-1
d62a5b2
- Update to 0.4.19
d62a5b2
a03cf8c
* Tue Feb 11 2020 Josh Stone <jistone@redhat.com> - 0.4.18-1
a03cf8c
- Update to 0.4.18
a03cf8c
c2166bd
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.17-2
c2166bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c2166bd
0712027
* Mon Jan 27 2020 Josh Stone <jistone@redhat.com> - 0.4.17-1
0712027
- Update to 0.4.17
0712027
e61eec7
* Wed Jan 15 2020 Josh Stone <jistone@redhat.com> - 0.4.16-1
e61eec7
- Update to 0.4.16
e61eec7
6c93cf2
* Sat Nov 23 2019 Josh Stone <jistone@redhat.com> - 0.4.15-1
6c93cf2
- Update to 0.4.15
6c93cf2
9182e86
* Tue Nov 19 2019 Josh Stone <jistone@redhat.com> - 0.4.14-1
9182e86
- Update to 0.4.14
9182e86
f479825
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.10-3
f479825
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f479825
550fbd5
* Sun Jun 23 10:32:49 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.10-2
550fbd5
- Regenerate
550fbd5
a350390
* Mon Jun 03 2019 Josh Stone <jistone@redhat.com> - 0.4.10-1
a350390
- Update to 0.4.10
a350390
4b97f0a
* Fri May 31 13:50:18 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.9-1
4b97f0a
- Initial package