Blame rust-version-sync.spec

01025ee
# Generated by rust2rpm 13
09b45b3
%bcond_without check
6ef0f8d
%global debug_package %{nil}
6ef0f8d
6ef0f8d
%global crate version-sync
6ef0f8d
6ef0f8d
Name:           rust-%{crate}
c79ec99
Version:        0.8.1
01025ee
Release:        7%{?dist}
09b45b3
Summary:        Simple crate for ensuring that version numbers in README files are updated when the crate version changes
6ef0f8d
f71c464
# Upstream license specification: MIT
6ef0f8d
License:        MIT
6ef0f8d
URL:            https://crates.io/crates/version-sync
f38c3dc
Source:         %{crates_source}
f71c464
# Initial patched metadata
01025ee
# - Bump pulldown-cmark to 0.7
f71c464
Patch0:         version-sync-fix-metadata.diff
003fb46
# * Fix tests with toml 0.5.3+, https://github.com/mgeisler/version-sync/commit/33dc77fda8c5d993abee4e6c31c7526408877003
003fb46
Patch0001:      0001-markdown_deps-handle-test-output-from-toml-0.5.3.patch
01025ee
Patch0002:      0001-chore-Update-pulldown-cmark-to-0.7.patch
6ef0f8d
6ef0f8d
ExclusiveArch:  %{rust_arches}
09b45b3
%if %{__cargo_skip_build}
09b45b3
BuildArch:      noarch
09b45b3
%endif
6ef0f8d
6ef0f8d
BuildRequires:  rust-packaging
6ef0f8d
f71c464
%global _description %{expand:
f71c464
Simple crate for ensuring that version numbers in README files are updated when
f71c464
the crate version changes.}
82f8079
82f8079
%description %{_description}
6ef0f8d
6ef0f8d
%package        devel
6ef0f8d
Summary:        %{summary}
6ef0f8d
BuildArch:      noarch
6ef0f8d
f38c3dc
%description    devel %{_description}
6ef0f8d
6ef0f8d
This package contains library source intended for building other packages
f38c3dc
which use "%{crate}" crate.
6ef0f8d
82f8079
%files          devel
82f8079
%license LICENSE
82f8079
%doc README.md
01025ee
%{cargo_registry}/%{crate}-%{version_no_tilde}/
82f8079
82f8079
%package     -n %{name}+default-devel
82f8079
Summary:        %{summary}
82f8079
BuildArch:      noarch
82f8079
82f8079
%description -n %{name}+default-devel %{_description}
82f8079
82f8079
This package contains library source intended for building other packages
82f8079
which use "default" feature of "%{crate}" crate.
82f8079
82f8079
%files       -n %{name}+default-devel
01025ee
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
82f8079
6ef0f8d
%prep
f38c3dc
%autosetup -n %{crate}-%{version_no_tilde} -p1
6ef0f8d
%cargo_prep
6ef0f8d
09b45b3
%generate_buildrequires
09b45b3
%cargo_generate_buildrequires
09b45b3
6ef0f8d
%build
6ef0f8d
%cargo_build
6ef0f8d
6ef0f8d
%install
6ef0f8d
%cargo_install
6ef0f8d
6ef0f8d
%if %{with check}
6ef0f8d
%check
6ef0f8d
%cargo_test
6ef0f8d
%endif
6ef0f8d
6ef0f8d
%changelog
01025ee
* Sat Feb 22 19:27:14 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.8.1-7
01025ee
- Update pulldown-cmark to 0.7
01025ee
3f3d169
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-6
3f3d169
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3f3d169
003fb46
* Fri Dec 06 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.1-5
003fb46
- Fix tests with new toml
003fb46
09b45b3
* Fri Sep 13 19:03:49 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.1-4
09b45b3
- Bump pulldown-cmark to 0.6
09b45b3
c610a07
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-3
c610a07
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c610a07
f71c464
* Fri May 31 15:38:53 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.1-2
f71c464
- Update pulldown-cmark to 0.5
f71c464
c79ec99
* Thu Apr 04 08:15:21 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.1-1
c79ec99
- Update to 0.8.1
c79ec99
f38c3dc
* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.0-1
f38c3dc
- Update to 0.7.0
f38c3dc
a9bda76
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-9
a9bda76
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a9bda76
82f8079
* Sat Nov 10 2018 Josh Stone <jistone@redhat.com> - 0.5.0-8
82f8079
- Adapt to new packaging
82f8079
ab2647a
* Tue Sep 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-7
ab2647a
- Bump syn to 0.14
ab2647a
ac34eb7
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-6
ac34eb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ac34eb7
ed8a99f
* Tue Apr 17 2018 Josh Stone <jistone@redhat.com> - 0.5.0-5
ed8a99f
- Bump syn to 0.13
ed8a99f
82de2d2
* Thu Mar 08 2018 Josh Stone <jistone@redhat.com> - 0.5.0-4
82de2d2
- Bump syn to 0.12
82de2d2
ae6ce1e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
ae6ce1e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ae6ce1e
61d7644
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-2
61d7644
- Rebuild for rust-packaging v5
61d7644
5089de0
* Mon Nov 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-1
5089de0
- Update to 0.5.0
5089de0
6ef0f8d
* Mon Nov 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.0-1
6ef0f8d
- Initial package