diff --git a/.gitignore b/.gitignore index 9765896..0c92048 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /abootimg-0.6-20110830gitff8e759.tar.gz +/abootimg-0.6-7e127fe.tar.gz diff --git a/abootimg.1.patch b/abootimg.1.patch deleted file mode 100644 index 0ae986d..0000000 --- a/abootimg.1.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/debian/abootimg.1.bak 2012-09-11 14:20:14.608400023 +0200 -+++ b/debian/abootimg.1 2012-09-11 14:20:25.765401545 +0200 -@@ -20,7 +20,7 @@ Tool to read/write/update android boot i - .SH OPTIONS - .TP - .B \-i --print boot imgage informations -+print boot image information - .TP - .B \-x - Extract a boot image -@@ -34,7 +34,7 @@ Create a boot image - .SS "Options for extracting boot images" - .TP - .B bootimg --Existing bootimage to use -+Existing boot image to use - .TP - .B bootimg.cfg - Name for the bootimg.cfg file, defaults to bootimg.cfg -@@ -51,10 +51,10 @@ Name for the second-stage image, default - .SS "Options for updating and creating boot images" - .TP - .B bootimg --Existing bootimage to use -+Existing boot image to use - .TP - .B \-c "param=value" --Existing bootimage to use -+Existing boot image to use - .TP - .B \-f - Update bootimg.cfg with the named file diff --git a/abootimg.spec b/abootimg.spec index d8c8a8b..435b68a 100644 --- a/abootimg.spec +++ b/abootimg.spec @@ -1,19 +1,18 @@ +%global codate 20230721 +%global commit0 7e127fee6a3981f6b0a50ce9910267cd501e09d4 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) + %global gitrev ff8e759 %global checkout 20110830git%{gitrev} Name: abootimg Version: 0.6 -Release: 23.%{checkout}%{?dist} +Release: %autorelease -s %{codate}git%{shortcommit0} Summary: Tool for manipulating Android boot images -License: GPLv2+ -URL: https://gitorious.org/ac100/abootimg -# git clone git://gitorious.org/ac100/abootimg.git -# cd abootimg ; git archive --format=tar --prefix=abootimg-%%{version}-%%{checkout}/ %%{gitrev} | gzip > abootimg-%%{version}-%%{checkout}.tar.gz -Source0: abootimg-%{version}-%{checkout}.tar.gz -# https://bugzilla.redhat.com/show_bug.cgi?id=856241 -# Fix man page typos. Sent upstream -Patch0: abootimg.1.patch +License: GPL-2.0-or-later +URL: https://github.com/ggrandou/abootimg +Source0: https://github.com/ggrandou/abootimg/archive/%{commit0}.tar.gz#/%{name}-%{version}-%{shortcommit0}.tar.gz BuildRequires: gcc BuildRequires: libblkid-devel @@ -24,8 +23,7 @@ partition format defined by the Android Open Source Project. %prep -%setup -q -n abootimg-%{version}-%{checkout} -%patch0 -p1 -b .mantypo +%autosetup -p1 -n %{name}-%{commit0} %build @@ -39,78 +37,11 @@ install -D -m 644 -p debian/abootimg.1 ${RPM_BUILD_ROOT}/%{_mandir}/man1/abootim %files +%doc Changelog README +%license LICENSE %{_bindir}/abootimg %{_mandir}/man1/* -%doc Changelog LICENSE README - %changelog -* Wed Jul 21 2021 Fedora Release Engineering - 0.6-23.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Mon Jan 25 2021 Fedora Release Engineering - 0.6-22.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 0.6-21.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Jan 28 2020 Fedora Release Engineering - 0.6-20.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Wed Jul 24 2019 Fedora Release Engineering - 0.6-19.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jan 31 2019 Fedora Release Engineering - 0.6-18.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Thu Jul 12 2018 Fedora Release Engineering - 0.6-17.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 0.6-16.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 02 2017 Fedora Release Engineering - 0.6-15.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0.6-14.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 0.6-13.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Feb 03 2016 Fedora Release Engineering - 0.6-12.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Jun 16 2015 Fedora Release Engineering - 0.6-11.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Fri Aug 15 2014 Fedora Release Engineering - 0.6-10.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Fri Jun 06 2014 Fedora Release Engineering - 0.6-9.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat Aug 03 2013 Fedora Release Engineering - 0.6-8.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed Feb 13 2013 Fedora Release Engineering - 0.6-7.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Tue Sep 11 2012 Yanko Kaneti 0.6-6.20110830gitff8e759 -- Fix man page typos. Filip Holec , bug 856241 - -* Wed Jul 18 2012 Fedora Release Engineering - 0.6-5.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Thu Jan 12 2012 Fedora Release Engineering - 0.6-4.20110830gitff8e759 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Wed Nov 23 2011 Yanko Kaneti 0.6-3.20110830gitff8e759 -- Preserve man page timestamp on install. - -* Wed Nov 16 2011 Yanko Kaneti 0.6-2.20110830gitff8e759 -- Fixed a typo pointed by the first review. - -* Tue Aug 30 2011 Yanko Kaneti 0.6-1.20110830gitff8e759 -- Attempt at packaging. +%autochangelog diff --git a/sources b/sources index 9bb6ec9..2430a26 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e5c2a7abdbcf5f95bd8ee21a5223f43b abootimg-0.6-20110830gitff8e759.tar.gz +SHA512 (abootimg-0.6-7e127fe.tar.gz) = 4e9be4394d767c6ca02bad8c8590a028de0c2eff9100b906b2e2f995a1aa5556c41c964ad77ce996002fb8b35d9188ca548649301ad89448698cce600e97828e