|
|
f71c464 |
# Generated by rust2rpm 9
|
|
|
f38c3dc |
%bcond_with check
|
|
|
6ef0f8d |
%global debug_package %{nil}
|
|
|
6ef0f8d |
|
|
|
6ef0f8d |
%global crate version-sync
|
|
|
6ef0f8d |
|
|
|
6ef0f8d |
Name: rust-%{crate}
|
|
|
c79ec99 |
Version: 0.8.1
|
|
|
f71c464 |
Release: 2%{?dist}
|
|
|
6ef0f8d |
Summary: Simple crate for ensuring that version numbers in README files are updated
|
|
|
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
|
|
|
f71c464 |
# * Update pulldown-cmark to 0.5, https://github.com/mgeisler/version-sync/pull/70
|
|
|
f71c464 |
Patch0: version-sync-fix-metadata.diff
|
|
|
6ef0f8d |
|
|
|
6ef0f8d |
ExclusiveArch: %{rust_arches}
|
|
|
6ef0f8d |
|
|
|
6ef0f8d |
BuildRequires: rust-packaging
|
|
|
f38c3dc |
BuildRequires: (crate(itertools/default) >= 0.8.0 with crate(itertools/default) < 0.9.0)
|
|
|
c79ec99 |
BuildRequires: (crate(proc-macro2/default) >= 0.4.0 with crate(proc-macro2/default) < 0.5.0)
|
|
|
c79ec99 |
BuildRequires: (crate(proc-macro2/span-locations) >= 0.4.0 with crate(proc-macro2/span-locations) < 0.5.0)
|
|
|
f71c464 |
BuildRequires: (crate(pulldown-cmark) >= 0.5.0 with crate(pulldown-cmark) < 0.6.0)
|
|
|
f38c3dc |
BuildRequires: (crate(regex/default) >= 1.1.0 with crate(regex/default) < 2.0.0)
|
|
|
f38c3dc |
BuildRequires: (crate(semver-parser/default) >= 0.9.0 with crate(semver-parser/default) < 0.10.0)
|
|
|
f38c3dc |
BuildRequires: (crate(syn/default) >= 0.15.0 with crate(syn/default) < 0.16.0)
|
|
|
f38c3dc |
BuildRequires: (crate(syn/full) >= 0.15.0 with crate(syn/full) < 0.16.0)
|
|
|
c79ec99 |
BuildRequires: (crate(toml/default) >= 0.5.0 with crate(toml/default) < 0.6.0)
|
|
|
c79ec99 |
BuildRequires: (crate(url/default) >= 1.0.0 with crate(url/default) < 2.0.0)
|
|
|
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
|
|
|
82f8079 |
%{cargo_registry}/%{crate}-%{version}/
|
|
|
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
|
|
|
82f8079 |
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
82f8079 |
|
|
|
6ef0f8d |
%prep
|
|
|
f38c3dc |
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
6ef0f8d |
%cargo_prep
|
|
|
6ef0f8d |
|
|
|
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
|
|
|
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
|