Bug 1599760

Summary: Rename Request: arm-image-installer - Writes binary image files to any specified block device
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: Package ReviewAssignee: Yanko Kaneti <yaneti>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: package-review, yaneti
Target Milestone: ---Flags: yaneti: fedora-review+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-16 15:12:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Robinson 2018-07-10 14:05:05 UTC
SPEC: https://pbrobinson.fedorapeople.org/arm-image-installer.spec
SRPM: https://pbrobinson.fedorapeople.org/arm-image-installer-2.5-1.fc28.src.rpm

Description:
Allows one to first select a source image (local or remote). The image must be
a binary file containing: [MBR + Partitions + File Systems + Data]. A 
destination block device should then be selected for final installation.

koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=28106812

This is a basic rename of fedora-arm-installer -> arm-image-installer with some minor package cleanups and the addition of obsolete/provides.

Diff:
--- fedora-arm-installer.spec	2018-06-07 08:38:27.685455797 +0100
+++ arm-image-installer.spec	2018-07-10 14:49:31.982317739 +0100
@@ -1,18 +1,19 @@
 # Tarfile created using git
 # git clone https://pagure.io/arm-image-installer.git 
-# git archive --format=tar --prefix=%{name}-%{version}/ %{version} | bzip2 > ~/%{name}-%{version}.tar.bz2
+# git archive --format=tar --prefix=%{name}-%{version}/ %{version} | xz > ~/%{name}-%{version}.tar.xz
 
-Name:		fedora-arm-installer
-Version:	2.4
+Name:		arm-image-installer
+Version:	2.5
 Release:	1%{?dist}
 Summary:	Writes binary image files to any specified block device
-
-Group:		Applications/System
 License:	GPLv2+
 Url:		https://pagure.io/arm-image-installer
+
 BuildArch:	noarch
-Source0:	arm-image-installer-%{version}.tar.bz2
+Source0:	%{name}-%{version}.tar.xz
 
+Obsoletes:	fedora-arm-installer < 2.5
+Provides:	fedora-arm-installer < 2.5
 Requires:	e2fsprogs
 Requires:	parted
 Requires:	sudo
@@ -26,13 +27,11 @@
 
 
 %prep
-%setup -q -n arm-image-installer-%{version}
-
+%autosetup
 
 %build
 echo "skipping..."
 
-
 %install
 install -d %{buildroot}%{_datadir}/arm-image-installer
 install -d %{buildroot}%{_datadir}/arm-image-installer/socs.d
@@ -47,7 +46,6 @@
 ln -s /usr/bin/arm-image-installer %{buildroot}%{_bindir}/fedora-arm-image-installer
 
 %files
-%{!?_licensedir:%global license %%doc}
 %license COPYING
 %doc AUTHORS README TODO SUPPORTED-BOARDS
 %{_bindir}/arm-image-installer
@@ -57,6 +55,10 @@
 %{_datadir}/arm-image-installer/
 
 %changelog
+* Tue Jul 10 2018 Peter Robinson <pbrobinson> 2.5-1
+- Update to 2.4
+- Package rename with obsolete/provides
+
 * Fri Jun 01 2018 Paul Whalen <pwhalen> - 2.4-1
 - Update to 2.4
 - Add initial IoT disk image support

Comment 1 Yanko Kaneti 2018-07-10 14:18:33 UTC
Approved.

Comment 2 Mohan Boddu 2018-07-13 19:25:07 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/arm-image-installer

Comment 3 Peter Robinson 2018-07-16 15:12:44 UTC
Thanks for the review