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 942551 Details for
Bug 1147084
RPM Build process modifies underlying code
[?]
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]
Use PBR_VERSION env var for building
openstack-keystone-ayoung-0000-PBR_VERSION.patch (text/plain), 2.69 KB, created by
Adam Young
on 2014-09-30 00:40:56 UTC
(
hide
)
Description:
Use PBR_VERSION env var for building
Filename:
MIME Type:
Creator:
Adam Young
Created:
2014-09-30 00:40:56 UTC
Size:
2.69 KB
patch
obsolete
>From 2dfe3c8e5cdd5e536234c24f049252712fd78574 Mon Sep 17 00:00:00 2001 >From: Adam Young <ayoung@redhat.com> >Date: Fri, 26 Sep 2014 16:32:51 -0400 >Subject: [PATCH] PBR_VERSION > >Use the PBR_VERSION environment variable when building >so pbr does not attempt git operations. >--- > openstack-keystone.spec | 20 +++++++------------- > 1 file changed, 7 insertions(+), 13 deletions(-) > >diff --git a/openstack-keystone.spec b/openstack-keystone.spec >index 8ba5a13051dacd2a2a3fa7730ce967996c17c7ad..a43e973affd31d5d0c729c6336d9f2b6e523e8b5 100644 >--- a/openstack-keystone.spec >+++ b/openstack-keystone.spec >@@ -28,8 +28,6 @@ Source23: openstack-keystone.upstart > # > # patches_base=2014.2.b3 > # >-Patch0001: 0001-remove-runtime-dep-on-python-pbr.patch >-Patch0002: 0002-sync-parameter-values-with-keystone-dist.conf.patch > > BuildArch: noarch > BuildRequires: python2-devel >@@ -115,10 +113,7 @@ This package contains documentation for Keystone. > %endif > > %prep >-%setup -q -n keystone-%{version}.b%{milestone} >- >-%patch0001 -p1 >-%patch0002 -p1 >+%setup -q -n keystone-%{version}.%{milestone} > > find . \( -name .gitignore -o -name .placeholder \) -delete > find keystone -name \*.py -exec sed -i '/\/usr\/bin\/env python/d' {} \; >@@ -126,10 +121,6 @@ find keystone -name \*.py -exec sed -i '/\/usr\/bin\/env python/d' {} \; > rm -rf keystone.egg-info > # Let RPM handle the dependencies > rm -f test-requirements.txt requirements.txt >-# Remove dependency on pbr and set version as per rpm >-sed -i s/REDHATKEYSTONEVERSION/%{version}/ bin/keystone-all keystone/cli.py >- >-sed -i 's/%{version}.b%{milestone}/%{version}/' PKG-INFO > > # make doc build compatible with python-oslo-sphinx RPM > sed -i 's/oslosphinx/oslo.sphinx/' doc/source/conf.py >@@ -138,10 +129,10 @@ sed -i 's/oslosphinx/oslo.sphinx/' doc/source/conf.py > cp etc/keystone.conf.sample etc/keystone.conf > # distribution defaults are located in keystone-dist.conf > >-%{__python} setup.py build >+PBR_VERSION=%{version}.%{milestone} %{__python} setup.py build > > %install >-%{__python} setup.py install --skip-build --root %{buildroot} >+PBR_VERSION=%{version}.%{milestone} %{__python} setup.py install --skip-build --root %{buildroot} > > # Delete tests > rm -fr %{buildroot}%{python_sitelib}/keystone/tests >@@ -265,7 +256,7 @@ fi > %defattr(-,root,root,-) > %doc LICENSE > %{python_sitelib}/keystone >-%{python_sitelib}/keystone-%{version}-*.egg-info >+%{python_sitelib}/keystone-%{version}*.egg-info > > %if 0%{?with_doc} > %files doc >@@ -273,6 +264,9 @@ fi > %endif > > %changelog >+* Fri Sep 26 2014 Adam Young <ayoung@redhat.com> 2014.2-0.4.b3 >+- Removed pbr patches in favor of PBR_VERSION environment variable. >+ > * Thu Sep 11 2014 Alan Pevec <apevec@redhat.com> 2014.2-0.4.b3 > - update dependencies > >-- >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 1147084
:
941719
|
941760
| 942551