Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 899941 Details for
Bug 1102016
Patch to build with $RPM_*_FLAGS
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to build with $RPM_*_FLAGS
Patch-to-build-with-RPMFLAGS.patch (text/plain), 2.57 KB, created by
Ville Skyttä
on 2014-05-28 10:59:42 UTC
(
hide
)
Description:
Patch to build with $RPM_*_FLAGS
Filename:
MIME Type:
Creator:
Ville Skyttä
Created:
2014-05-28 10:59:42 UTC
Size:
2.57 KB
patch
obsolete
>From 59346301f62424589ccea93fbd9b4d507cb9ae8a Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi> >Date: Wed, 28 May 2014 13:58:45 +0300 >Subject: [PATCH] Patch to build with $RPM_*_FLAGS > >--- > rubygem-pam-1.5.4-buildflags.patch | 12 ++++++++++++ > rubygem-pam.spec | 9 +++++++-- > 2 files changed, 19 insertions(+), 2 deletions(-) > create mode 100644 rubygem-pam-1.5.4-buildflags.patch > >diff --git a/rubygem-pam-1.5.4-buildflags.patch b/rubygem-pam-1.5.4-buildflags.patch >new file mode 100644 >index 0000000..c4d81f4 >--- /dev/null >+++ b/rubygem-pam-1.5.4-buildflags.patch >@@ -0,0 +1,12 @@ >+diff -up pam-1.5.4/ext/extconf.rb~ pam-1.5.4/ext/extconf.rb >+--- pam-1.5.4/ext/extconf.rb~ 2014-05-28 13:53:57.082579900 +0300 >++++ pam-1.5.4/ext/extconf.rb 2014-05-28 13:55:16.774317641 +0300 >+@@ -7,8 +7,6 @@ >+ >+ require 'mkmf' >+ >+-$CFLAGS = "" >+-$LDFLAGS = "" >+ >+ have_pam_appl_h = have_header("security/pam_appl.h") >+ have_pam_modules_h = have_header("security/pam_modules.h") >diff --git a/rubygem-pam.spec b/rubygem-pam.spec >index 9acaae0..681b310 100644 >--- a/rubygem-pam.spec >+++ b/rubygem-pam.spec >@@ -4,13 +4,14 @@ > # Main package bundles it at a gem > Name: rubygem-%{gem_name} > Version: 1.5.4 >-Release: 17%{?dist} >+Release: 18%{?dist} > Summary: Ruby bindings for pam > Group: Development/Languages > > License: LGPLv2+ > URL: http://rubyforge.org/projects/ruby-pam > Source0: http://rubyforge.org/frs/download.php/43802/%{gem_name}-%{version}.gem >+Patch0: %{name}-1.5.4-buildflags.patch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > BuildRequires: pam-devel >= 0.0.6 > BuildRequires: ruby-devel >= 1.9 >@@ -28,6 +29,7 @@ Ruby bindings for pam exposed via a gem > %prep > gem unpack %{SOURCE0} > %setup -q -D -T -n %{gem_name}-%{version} >+%patch0 -p1 > gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec > > %build >@@ -42,7 +44,7 @@ install -d -m0755 %{buildroot}%{gem_dir} > install -d -m0755 %{buildroot}%{ruby_sitelibdir} > install -d -m0755 %{buildroot}%{ruby_sitearchdir} > >-# copy the results of hte build over. >+# copy the results of the build over. > mkdir -p %{buildroot}%{gem_dir} > cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/ > >@@ -74,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT > %doc %{gem_dir}/doc > > %changelog >+* Wed May 28 2014 Ville Skyttä <ville.skytta@iki.fi> - 1.5.4-18 >+- Patch to build with $RPM_*_FLAGS >+ > * Mon May 05 2014 Bryan Kearney <bkearney@redhat.com> - 1.5.4-17 > - Rebuilt with new macros. Also, per the standard, removed the non gem version. > >-- >1.9.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1102016
: 899941