Bug 1051204

Summary: Trivial change for ppc64le in glade3 spec and fix double seperator error
Product: [Fedora] Fedora Reporter: Brent Baude <bbaude>
Component: glade3Assignee: Jaromír Cápík <jcapik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: huzaifas, jcapik, ovasik, rakesh.pandit
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: glade3-3.8.4-3.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-13 15:37:19 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:
Bug Depends On:    
Bug Blocks: 1051573    

Description Brent Baude 2014-01-09 20:39:53 UTC
On the ppc64le arch, running autoreconf without a -if results in the package failing.  Please consider this trivial change to autoreconf syntax.

diff --git a/glade3.spec b/glade3.spec
index 3577c42..21b1cf8 100644
--- a/glade3.spec
+++ b/glade3.spec
@@ -68,7 +68,7 @@ chmod 644 ./plugins/gtk+/glade-attributes.c
 chmod 644 ./plugins/gtk+/glade-attributes.h
 
 %build
-autoreconf
+autoreconf -if
 
 %configure --disable-static \
   --enable-gtk-doc \

Comment 1 Brent Baude 2014-02-20 12:25:22 UTC
Updated patch for consideration:

[baude@localhost glade3]$ git diff
diff --git a/glade3.spec b/glade3.spec
index 3577c42..7b00f33 100644
--- a/glade3.spec
+++ b/glade3.spec
@@ -9,7 +9,7 @@ URL:            http://glade.gnome.org/
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-%{version}.tar.xz
 
 Requires:      hicolor-icon-theme
-Requires:      %{name}-libgladeui = %{?epoch:%{epoch}:}:%{version}-%{release}
+Requires:      %{name}-libgladeui = %{?epoch:%{epoch}}:%{version}-%{release}
 BuildRequires: desktop-file-utils
 BuildRequires: gettext
 BuildRequires: gnome-doc-utils
@@ -68,7 +68,7 @@ chmod 644 ./plugins/gtk+/glade-attributes.c
 chmod 644 ./plugins/gtk+/glade-attributes.h
 
 %build
-autoreconf
+autoreconf -vi
 
 %configure --disable-static \
   --enable-gtk-doc \

Comment 2 Jaromír Cápík 2014-05-13 15:07:35 UTC
I'm going to apply the proposed change with one exception ...

-Requires:      %{name}-libgladeui = %{?epoch:%{epoch}}:%{version}-%{release}
+Requires:      %{name}-libgladeui = %{?epoch:%{epoch}:}%{version}-%{release}

... as this removes the extra colon at the beginning when no Epoch is defined.