Bug 1599760 - Rename Request: arm-image-installer - Writes binary image files to any specified block device
Summary: Rename Request: arm-image-installer - Writes binary image files to any specif...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Yanko Kaneti
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-10 14:05 UTC by Peter Robinson
Modified: 2018-07-16 15:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-16 15:12:44 UTC
Type: Bug
Embargoed:
yaneti: fedora-review+


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.