Skip to content

Instantly share code, notes, and snippets.

@briancline
Created May 17, 2013 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save briancline/5598491 to your computer and use it in GitHub Desktop.
Save briancline/5598491 to your computer and use it in GitHub Desktop.
Thrift 0.8.0 -> 0.9.0 RPM spec file changes
--- thrift-0.8.0.spec 2012-06-10 16:50:54.000000000 -0500
+++ thrift-0.9.0.spec 2013-05-17 02:37:48.000000000 -0500
@@ -39,7 +39,7 @@
%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
Name: thrift
-Version: 0.8.0
+Version: 0.9.0
Release: 1%{?dist}
Summary: A multi-language RPC and serialization framework
@@ -106,7 +106,6 @@
%if 0%{?with_ghc}
%package ghc
-Version: 0.2.0
Summary: Haskell bindings for %{name}
Group: Development/Libraries
ExclusiveArch: %{ix86} x86_64 ppc alpha
@@ -121,7 +120,6 @@
Haskell bindings for %{name}.
%package ghc-devel
-Version: 0.2.0
Summary: Haskell %{pkg_name} library
Group: Development/Libraries
Requires: ghc
@@ -134,7 +132,6 @@
%if %{?with_doc}
%package ghc-doc
-Version: 0.2.0
Summary: Documentation for %{name}-ghc
Group: Development/Libraries
BuildRequires: ghc-doc
@@ -149,7 +146,6 @@
%if %{?with_prof}
%package ghc-prof
-Version: 0.2.0
Summary: Profiling libraries for %{name}-ghc
Group: Development/Libraries
BuildRequires: ghc-prof
@@ -258,7 +254,7 @@
--without-ruby \
--without-erlang \
--enable-static=no
-%{__make} %{?_smp_mflags}
+%{__make}
# Build Haskell
%if 0%{?with_ghc}
@@ -340,11 +336,9 @@
%{__mkdir_p} %{buildroot}%{_sysconfdir}/php.d
%{__cp} lib/php/thrift_protocol.ini %{buildroot}%{_sysconfdir}/php.d/
# Install PHP project files
-%{__mkdir_p} %{buildroot}%{_datadir}/php/%{name}
-%{__cp} -r lib/php/src/Thrift.php \
- lib/php/src/protocol \
- lib/php/src/transport \
- %{buildroot}%{_datadir}/php/%{name}/
+%{__mkdir_p} %{buildroot}%{_datadir}/php
+%{__cp} -r lib/php/lib/Thrift %{buildroot}%{_datadir}/php/
+%{__cp} -r lib/php/src/Thrift.php %{buildroot}%{_datadir}/php/Thrift/
%endif
# Install Perl
@@ -405,6 +399,8 @@
%defattr(-,root,root,-)
%doc LICENSE
%{_libdir}/*.so
+%{_libdir}/*.so.0
+%{_libdir}/*.so.0.0.0
%files cpp-devel
%defattr(-,root,root,-)
@@ -465,7 +461,7 @@
%defattr(-,root,root,-)
%doc lib/php/README lib/php/README.apache tutorial/php tutorial/*.thrift
%config(noreplace) %{_sysconfdir}/php.d/thrift_protocol.ini
-%{_datadir}/php/%{name}
+%{_datadir}/php/Thrift
%{php_extdir}/thrift_protocol.so
%endif
@@ -484,6 +480,9 @@
%endif
%changelog
+* Thu May 16 2013 Brian Cline <brian.cline@gmail.com> - 0.9.0-1
+- Update to 0.9.0
+
* Tue Nov 02 2010 Silas Sewell <silas@sewell.ch> - 0.5.0-1
- Update to 0.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment