Compare commits

...

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

2
.gitignore vendored

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

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

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

@ -1,27 +0,0 @@
--- 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"

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

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