The package rpms/rust-pleaser.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-pleaser.git/commit/?id=24888....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 24888beb732db7eaa7e1bc77a265c1bbb74f9d66
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Oct 31 15:40:17 2022 +0100
use rust2rpm v23, fix changelog, update license tag, drop useless patch
diff --git a/LICENSE.dependencies b/LICENSE.dependencies
new file mode 100644
index 0000000..f0e2c5b
--- /dev/null
+++ b/LICENSE.dependencies
@@ -0,0 +1,34 @@
+Apache-2.0: rpassword v5.0.1
+GPL-3.0-or-later: pleaser v0.5.3
+MIT OR Apache-2.0: bitflags v1.3.2
+MIT OR Apache-2.0: cfg-if v1.0.0
+MIT OR Apache-2.0: chrono v0.4.22
+MIT OR Apache-2.0: error-chain v0.12.4
+MIT OR Apache-2.0: getopts v0.2.21
+MIT OR Apache-2.0: getrandom v0.2.7
+MIT OR Apache-2.0: iana-time-zone v0.1.50
+MIT OR Apache-2.0: itoa v1.0.4
+MIT OR Apache-2.0: libc v0.2.134
+MIT OR Apache-2.0: log v0.4.17
+MIT OR Apache-2.0: match_cfg v0.1.0
+MIT OR Apache-2.0: num-integer v0.1.45
+MIT OR Apache-2.0: num-traits v0.2.15
+MIT OR Apache-2.0: num_threads v0.1.6
+MIT OR Apache-2.0: pam v0.7.0
+MIT OR Apache-2.0: pam-sys v0.5.6
+MIT OR Apache-2.0: ppv-lite86 v0.2.16
+MIT OR Apache-2.0: rand v0.8.5
+MIT OR Apache-2.0: rand_chacha v0.3.1
+MIT OR Apache-2.0: rand_core v0.6.4
+MIT OR Apache-2.0: regex v1.6.0
+MIT OR Apache-2.0: regex-syntax v0.6.27
+MIT OR Apache-2.0: time v0.1.44
+MIT OR Apache-2.0: time v0.3.15
+MIT OR Apache-2.0: unicode-width v0.1.10
+MIT: hostname v0.3.1
+MIT: memoffset v0.6.5
+MIT: nix v0.24.2
+MIT: syslog v6.0.1
+MIT: users v0.10.0
+Unlicense OR MIT: aho-corasick v0.7.19
+Unlicense OR MIT: memchr v2.5.0
diff --git a/pleaser-fix-metadata.diff b/pleaser-fix-metadata.diff
deleted file mode 100644
index 5d4edb8..0000000
--- a/pleaser-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- pleaser-0.5.0/Cargo.toml 2021-11-09T22:42:53+00:00
-+++ pleaser-0.5.0/Cargo.toml 2021-11-17T21:59:33.164308+00:00
-@@ -33,7 +33,7 @@
- version = "0.2"
-
- [dependencies.nix]
--version = ">= 0.23"
-+version = ">= 0.19"
-
- [dependencies.pam]
- version = "0.7"
diff --git a/rust-pleaser.spec b/rust-pleaser.spec
index ddb0827..6b7e56b 100644
--- a/rust-pleaser.spec
+++ b/rust-pleaser.spec
@@ -1,49 +1,48 @@
-# Generated by rust2rpm 16
+# Generated by rust2rpm 23
%bcond_without check
%global crate pleaser
-Name: rust-%{crate}
+Name: rust-pleaser
Version: 0.5.3
-Release: 0%{?dist}
+Release: 1%{?dist}
Summary: Please, a polite regex-first sudo alternative
-# Upstream license specification: GPL-3.0-or-later
-License: GPLv3+
+License: GPL-3.0-or-later
URL:
https://crates.io/crates/pleaser
-Source: %{crates_source}
+Source0: %{crates_source}
+Source1: LICENSE.dependencies
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-# Patch nix dep to >= 0.19
-Patch0: pleaser-fix-metadata.diff
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Please, a polite regex-first sudo alternative.}
%description %{_description}
-%if ! %{__cargo_skip_build}
%package -n %{crate}
Summary: %{summary}
+# Apache-2.0
+# GPL-3.0-or-later
+# MIT
+# MIT OR Apache-2.0
+# Unlicense OR MIT
+License: GPL-3.0-or-later AND Apache-2.0 AND MIT
%description -n %{crate} %{_description}
%files -n %{crate}
-%doc README.md
%license LICENSE
+%license LICENSE.dependencies
+%doc CHANGELOG.md
+%doc CONTRIBUTING.md
+%doc README.md
%{_bindir}/please
%{_bindir}/pleaseedit
%{_mandir}/man1/please.1*
%{_mandir}/man5/please.ini.5*
%config(noreplace) /etc/pam.d/please
%config(noreplace) /etc/pam.d/pleaseedit
-%endif
%package devel
Summary: %{summary}
@@ -51,13 +50,15 @@ 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
-%doc README.md
-%license LICENSE
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/CONTRIBUTING.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -65,14 +66,15 @@ 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_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
+cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@@ -116,6 +118,19 @@ EOF
%endif
%changelog
+* Mon Oct 31 2022 Fabio Valentini <decathorpe(a)gmail.com> - 0.5.3-1
+- Update to version 0.5.3.
+- Regenerate spec file with rust2rpm v23.
+- Restore accidentally deleted changelog entries.
+- Drop unnecessary patch for nix version compatibility.
+- Update license tag for binary subpackage.
+
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl> - 0.5.0-4
+- Rebuild with package notes
+
* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
commit 29ec5bf6ba28d2c282a640a0132341175c85158d
Author: ed neville <ed-fedora(a)s5h.net>
Date: Fri Oct 21 21:05:17 2022 +0000
Bump 0.5.3
diff --git a/.gitignore b/.gitignore
index d776cd4..122550b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/pleaser-0.4.1.crate
/pleaser-0.5.0.crate
+/pleaser-0.5.3.crate
diff --git a/pleaser-fix-syslog.diff b/pleaser-fix-syslog.diff
deleted file mode 100644
index b40306f..0000000
--- a/pleaser-fix-syslog.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: please/src/lib.rs
-===================================================================
---- please.orig/src/lib.rs
-+++ please/src/lib.rs
-@@ -1565,7 +1565,7 @@ pub fn log_action(service: &str, result:
- facility: Facility::LOG_USER,
- hostname: None,
- process: service.into(),
-- pid: process::id() as i32,
-+ pid: process::id(),
- };
-
- let cwd = match env::current_dir() {
diff --git a/rust-pleaser.spec b/rust-pleaser.spec
index 5f9b4d8..ddb0827 100644
--- a/rust-pleaser.spec
+++ b/rust-pleaser.spec
@@ -4,8 +4,8 @@
%global crate pleaser
Name: rust-%{crate}
-Version: 0.5.0
-Release: 5%{?dist}
+Version: 0.5.3
+Release: 0%{?dist}
Summary: Please, a polite regex-first sudo alternative
# Upstream license specification: GPL-3.0-or-later
@@ -20,8 +20,6 @@ BuildArch: noarch
# Patch nix dep to >= 0.19
Patch0: pleaser-fix-metadata.diff
-# Patch process id type for syslog
-Patch1: pleaser-fix-syslog.diff
BuildRequires: rust-packaging
@@ -118,12 +116,6 @@ EOF
%endif
%changelog
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl> - 0.5.0-4
-- Rebuild with package notes
-
* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
diff --git a/sources b/sources
index d83129a..84e55e7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pleaser-0.5.0.crate) =
b85faeb8cad2258edf9e2b5470aa0b16cf505bc5eb91c43ab47e8c3e6cc3100e1921b99fd64ab1ec726f92ddc6ccfcb4c6b8c9915688b03753967b44ac4bee2f
+SHA512 (pleaser-0.5.3.crate) =
83fc446a30eb039b04c641c111611d934d2a35b3f511c07f31077353cd52388e2a294ba46a36d6322d73a704c0d5a68b37da5fb0c4fa630ead631b195e8fd60c