[gpart/f21] Upgrade to newly discovered upstream fork on github (#1151790)

David Cantrell dcantrel at fedoraproject.org
Mon Oct 13 19:59:53 UTC 2014


commit be2c4aefdf185d29a35fb62b257e54d99f4096e7
Author: David Cantrell <dcantrell at redhat.com>
Date:   Mon Oct 13 15:58:39 2014 -0400

    Upgrade to newly discovered upstream fork on github (#1151790)

 .gitignore                 |    2 +-
 gpart-0.1h-O_CREAT.patch   |   12 --------
 gpart-0.1h-cflags.patch    |   12 --------
 gpart-0.1h-errno.patch     |   19 ------------
 gpart-0.1h-largefile.patch |   12 --------
 gpart-0.1h-makefile.patch  |   11 -------
 gpart-0.1h-syscall.patch   |   33 ----------------------
 gpart-0.1h-varname.patch   |   66 --------------------------------------------
 gpart-0.1h-x86_64.patch    |   21 --------------
 gpart.spec                 |   39 +++++++------------------
 sources                    |    2 +-
 11 files changed, 13 insertions(+), 216 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 449e6e9..0e7d6f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-gpart-0.1h.tar.gz
+/gpart-0.2.1.tar.gz
diff --git a/gpart.spec b/gpart.spec
index 0c7c4de..c42056d 100644
--- a/gpart.spec
+++ b/gpart.spec
@@ -1,20 +1,11 @@
 Summary: A program for recovering corrupt partition tables
 Name:    gpart
-Version: 0.1h
-Release: 22%{?dist}
+Version: 0.2.1
+Release: 1%{?dist}
 License: GPLv2+
 Group:   Applications/System
-URL:     http://www.stud.uni-hannover.de/user/76201/gpart/
-Source0: http://www.stud.uni-hannover.de/user/76201/%{name}/%{name}-%{version}.tar.gz
-
-Patch0: %{name}-0.1h-varname.patch
-Patch1: %{name}-0.1h-cflags.patch
-Patch2: %{name}-0.1h-errno.patch
-Patch3: %{name}-0.1h-syscall.patch
-Patch4: %{name}-0.1h-largefile.patch
-Patch5: %{name}-0.1h-makefile.patch
-Patch6: %{name}-0.1h-x86_64.patch
-Patch7: %{name}-0.1h-O_CREAT.patch
+URL:     https://github.com/baruch/gpart/
+Source0: https://github.com/baruch/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
 
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: glibc-kernheaders
@@ -27,35 +18,27 @@ type harddisk in case the primary partition table was damaged.
 
 %prep
 %setup -q
-%patch0 -p1 -b .varname
-%patch1 -p1 -b .cflags
-%patch2 -p1 -b .errno
-%patch3 -p1 -b .syscall
-%patch4 -p1 -b .largefile
-%patch5 -p1 -b .makefile
-%patch6 -p1 -b .x86_64
-%patch7 -p1 -b .O_CREAT
 
 %build
-make %{?_smp_mflags}
+%configure
+%{__make} %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}%{_bindir}
-mkdir -p %{buildroot}%{_mandir}/man8
-install -m 0755 src/%{name} %{buildroot}%{_bindir}/%{name}
-install -m 0644 man/%{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8
+%{make_install}
 
 %clean
 rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING Changes LSM README
+%doc COPYING Changes README
 %{_bindir}/%{name}
 %{_mandir}/man8/%{name}.8*
 
 %changelog
+* Mon Oct 13 2014 David Cantrell <dcantrell at redhat.com> - 0.2.1-1
+- Upgrade to newly discovered upstream fork on github (#1151790)
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1h-22
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
diff --git a/sources b/sources
index cfb9ac0..49ecef6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ee3a2d2dde70bcf404eb354b3d1ee6d4  gpart-0.1h.tar.gz
+465870b72b647a3aa22b335ba527e869  gpart-0.2.1.tar.gz


More information about the scm-commits mailing list