File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ %define __spec_install_post %{nil }
2+ %define __os_install_post %{_dbpath }/brp-compress
3+ %define debug_package %{nil }
4+
5+ Name: s3rename
6+ Summary: Tool to mass-rename S3 keys
7+ Version: @@VERSION@@
8+ Release: @@RELEASE@@%{?dist }
9+ License: MIT or ASL 2.0
10+ Group: Applications/System
11+ Source0: %{name }-%{version }.tar.gz
12+ URL: https://github.com/jamesmcm/s3rename
13+
14+ BuildRoot: %{_tmppath }/%{name }-%{version }-%{release }-root
15+
16+ %description
17+ %{summary }
18+
19+ %prep
20+ %setup -q
21+
22+ %install
23+ rm -rf %{buildroot }
24+ mkdir -p %{buildroot }
25+ cp -a * %{buildroot }
26+
27+ %clean
28+ rm -rf %{buildroot }
29+
30+ %files
31+ %defattr(-,root,root,-)
32+ %{_bindir }/*
Original file line number Diff line number Diff line change @@ -26,3 +26,12 @@ num-traits = "0.2"
2626log = " 0.4"
2727fern = " 0.6"
2828chrono = " 0.4"
29+
30+ [package .metadata .rpm ]
31+ package = " s3rename"
32+
33+ [package .metadata .rpm .cargo ]
34+ buildflags = [" --release" ]
35+
36+ [package .metadata .rpm .targets ]
37+ s3rename = { path = " /usr/bin/s3rename" }
You can’t perform that action at this time.
0 commit comments