Added fixes for building rpam and ruby-2.0.0
This commit is contained in:
parent
471dca81f7
commit
337b855505
8
pcs.spec
8
pcs.spec
@ -1,6 +1,6 @@
|
||||
Name: pcs
|
||||
Version: 0.9.44
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: GPLv2
|
||||
URL: http://github.com/feist/pcs
|
||||
Group: System Environment/Base
|
||||
@ -27,6 +27,9 @@ make install DESTDIR=$RPM_BUILD_ROOT PYTHON_SITELIB=%{python_sitelib}
|
||||
make install_pcsd DESTDIR=$RPM_BUILD_ROOT PYTHON_SITELIB=%{python_sitelib} hdrdir="%{_includedir}" rubyhdrdir="%{_includedir}" includedir="%{_includedir}"
|
||||
chmod 755 $RPM_BUILD_ROOT/%{python_sitelib}/pcs/pcs.py
|
||||
|
||||
# Temporary fix for ruby-2.0.0 and rpam
|
||||
cp $RPM_BUILD_ROOT/usr/lib/pcsd/gemhome/gems/rpam-ruby19-1.2.1/ext/Rpam/rpam_ext.so $RPM_BUILD_ROOT/usr/lib/pcsd/gemhome/gems/rpam-ruby19-1.2.1/lib
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitelib}/pcs
|
||||
@ -40,6 +43,9 @@ chmod 755 $RPM_BUILD_ROOT/%{python_sitelib}/pcs/pcs.py
|
||||
%doc COPYING README
|
||||
|
||||
%changelog
|
||||
* Thu Jun 13 2013 Chris Feist <cfeist@redhat.com> - 0.9.44-5
|
||||
- Added fixes for building rpam with ruby-2.0.0
|
||||
|
||||
* Mon Jun 03 2013 Chris Feist <cfeist@redhat.com> - 0.9.44-4
|
||||
- Rebuild with upstream sources
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user