public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-remove_dir_all] epel10: Adapt to new packaging
@ 2026-11-18 21:42 Igor Gnatenko
0 siblings, 0 replies; 2+ messages in thread
From: Igor Gnatenko @ 2026-11-18 21:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-remove_dir_all
Branch : epel10
Commit : 8fe0af9b623f38dd787b38e38920ea425abca29b
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2019-03-09T11:45:48+01:00
Stats : +24/-2 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-remove_dir_all/c/8fe0af9b623f38dd787b38e38920ea425abca29b?branch=epel10
Log:
Adapt to new packaging
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
diff --git a/rust-remove_dir_all.spec b/rust-remove_dir_all.spec
index 71ca82c..422936c 100644
--- a/rust-remove_dir_all.spec
+++ b/rust-remove_dir_all.spec
@@ -1,12 +1,12 @@
# Generated by rust2rpm
-%bcond_without check
+%bcond_with check
%global debug_package %{nil}
%global crate remove_dir_all
Name: rust-%{crate}
Version: 0.5.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Safe, reliable implementation of remove_dir_all
# Upstream license specification: MIT/Apache-2.0
@@ -67,6 +67,9 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
+* Sat Mar 09 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-5
+- Adapt to new packaging
+
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..c3de91d
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-remove_dir_all
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [rpms/rust-remove_dir_all] epel10: Adapt to new packaging
@ 2026-11-18 21:42 Igor Gnatenko
0 siblings, 0 replies; 2+ messages in thread
From: Igor Gnatenko @ 2026-11-18 21:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-remove_dir_all
Branch : epel10
Commit : 6310fee8639dd342e255e27749bb5bcb516c6180
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2018-10-27T02:18:07+02:00
Stats : +37/-20 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-remove_dir_all/c/6310fee8639dd342e255e27749bb5bcb516c6180?branch=epel10
Log:
Adapt to new packaging
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
diff --git a/remove_dir_all-0.5.1-fix-metadata.diff b/remove_dir_all-0.5.1-fix-metadata.diff
deleted file mode 100644
index 5b2f7fc..0000000
--- a/remove_dir_all-0.5.1-fix-metadata.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- remove_dir_all-0.5.1/Cargo.toml 1970-01-01T01:00:00+01:00
-+++ remove_dir_all-0.5.1/Cargo.toml 2018-04-20T09:13:44.138170+02:00
-@@ -21,6 +21,3 @@
- categories = ["filesystem"]
- license = "MIT/Apache-2.0"
- repository = "https://github.com/Aaronepower/remove_dir_all.git"
--[target."cfg(windows)".dependencies.winapi]
--version = "0.3"
--features = ["std", "errhandlingapi", "winerror", "fileapi", "winbase"]
diff --git a/remove_dir_all-fix-metadata.diff b/remove_dir_all-fix-metadata.diff
new file mode 100644
index 0000000..ea41b4c
--- /dev/null
+++ b/remove_dir_all-fix-metadata.diff
@@ -0,0 +1,9 @@
+--- remove_dir_all-0.5.1/Cargo.toml 1970-01-01T01:00:00+01:00
++++ remove_dir_all-0.5.1/Cargo.toml 2018-10-27T02:17:20.081383+02:00
+@@ -21,6 +21,3 @@
+ categories = ["filesystem"]
+ license = "MIT/Apache-2.0"
+ repository = "https://github.com/Aaronepower/remove_dir_all.git"
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3"
+-features = ["std", "errhandlingapi", "winerror", "fileapi", "winbase"]
diff --git a/rust-remove_dir_all.spec b/rust-remove_dir_all.spec
index c33e988..2ad1301 100644
--- a/rust-remove_dir_all.spec
+++ b/rust-remove_dir_all.spec
@@ -6,32 +6,50 @@
Name: rust-%{crate}
Version: 0.5.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Safe, reliable implementation of remove_dir_all
+# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/remove_dir_all
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata
# * No windows
-Patch0: remove_dir_all-0.5.1-fix-metadata.diff
+Patch0: remove_dir_all-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
-%description
-%{summary}.
+%global _description \
+A safe, reliable implementation of remove_dir_all.
+
+%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
-%description devel
-A safe, reliable implementation of remove_dir_all for Windows.
+%description devel %{_description}
This package contains library source intended for building other packages
-which use %{crate} from crates.io.
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE-MIT LICENSE-APACHE
+%{cargo_registry}/%{crate}-%{version}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
@@ -48,11 +66,10 @@ which use %{crate} from crates.io.
%cargo_test
%endif
-%files devel
-%license LICENCE-MIT LICENCE-APACHE
-%{cargo_registry}/%{crate}-%{version}/
-
%changelog
+* Sat Oct 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-3
+- Adapt to new packaging
+
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-18 21:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 21:42 [rpms/rust-remove_dir_all] epel10: Adapt to new packaging Igor Gnatenko
-- strict thread matches above, loose matches on Subject: below --
2026-11-18 21:42 Igor Gnatenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox