Compare commits

...

No commits in common. 'epel9' and 'i10ce' have entirely different histories.
epel9 ... i10ce

2
.gitignore vendored

@ -1 +1 @@
/difference-2.0.0.crate
SOURCES/difference-2.0.0.crate

@ -0,0 +1 @@
911775cea3deeeb138c1806beee1348a4c2516aa SOURCES/difference-2.0.0.crate

@ -1,3 +0,0 @@
# rust-difference
The rust-difference package

@ -0,0 +1,27 @@
--- difference-2.0.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ difference-2.0.0/Cargo.toml 2024-09-19T15:22:31.402938+00:00
@@ -21,21 +21,15 @@
categories = ["text-processing", "development-tools::testing"]
license = "MIT"
repository = "https://github.com/johannhof/difference.rs"
+autobins = false
-[[bin]]
-name = "difference"
-doc = false
-[dependencies.getopts]
-version = "0.2"
-optional = true
[dev-dependencies.quickcheck]
-version = "0.4"
+version = "1.0"
[dev-dependencies.term]
-version = "0.2.7"
+version = "0.7"
[features]
-bin = ["getopts"]
default = []
[badges.appveyor]
repository = "johannhof/difference.rs"

@ -1,39 +1,42 @@
# Generated by rust2rpm 10
## START: Set by rpmautospec
## (rpmautospec version 0.7.2)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 27;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
# Binary is pretty useless
%global __cargo_is_bin() false
%global crate difference
Name: rust-%{crate}
Name: rust-difference
Version: 2.0.0
Release: 19%{?dist}
Release: %autorelease
Summary: Rust text diffing and assertion library
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/difference
Source: %{crates_source}
# Initial patched metadata
# * Bump term to 0.6, https://github.com/johannhof/difference.rs/pull/42
# * Bump quickcheck to 0.9, https://github.com/johannhof/difference.rs/pull/38
# * Remove bin feature, it is useless
Patch0: difference-fix-metadata.diff
# Use ..= for an inclusive range instead of deprecated ...
# Manually created patch for downstream crate metadata changes
# * bump quickcheck dev-dependency from 0.4 to 1.0:
# https://github.com/johannhof/difference.rs/pull/38
# * bump term dev-dependency from 0.2 to 0.7:
# https://github.com/johannhof/difference.rs/pull/42
# * remove useless executable and related dependencies and features
Patch: difference-fix-metadata.diff
# * fix deprecated syntax for inclusive range:
# https://github.com/johannhof/difference.rs/pull/41
Patch1: https://patch-diff.githubusercontent.com/raw/johannhof/difference.rs/pull/41.patch#/0001-Fix-inclusive-range.patch
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
Patch: 0001-Fix-inclusive-range.patch
BuildRequires: rust-packaging
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Rust text diffing and assertion library.}
A Rust text diffing and assertion library.}
%description %{_description}
@ -43,14 +46,14 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/Examples.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -58,14 +61,14 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
@ -83,6 +86,28 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.0.0-27
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Thu Sep 19 2024 Fabio Valentini <decathorpe@gmail.com> - 2.0.0-27
- Bump quickcheck to 1.0 and term to 0.7
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Apr 12 2023 Fabio Valentini <decathorpe@gmail.com> - 2.0.0-23
- Regenerate with rust2rpm v24
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
@ -140,3 +165,5 @@ which use "default" feature of "%{crate}" crate.
* Wed Jan 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-1
- Initial package
## END: Generated by rpmautospec

@ -1,22 +0,0 @@
--- difference-2.0.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ difference-2.0.0/Cargo.toml 2019-09-13T18:26:35.178734+00:00
@@ -25,17 +25,13 @@
[[bin]]
name = "difference"
doc = false
-[dependencies.getopts]
-version = "0.2"
-optional = true
[dev-dependencies.quickcheck]
-version = "0.4"
+version = "0.9"
[dev-dependencies.term]
-version = "0.2.7"
+version = "0.6"
[features]
-bin = ["getopts"]
default = []
[badges.appveyor]
repository = "johannhof/difference.rs"

@ -1 +0,0 @@
SHA512 (difference-2.0.0.crate) = cc9956757770ecf237d8f46abef25ce219193c877be6cf83163e87c494956cca3202951ac01bba0728e7202fcde2261009c1b4599f389cf979858f25936a5482
Loading…
Cancel
Save