]> git.pld-linux.org Git - packages/ruby.git/commitdiff
fix version in examples package (version macro comes from last package (json))
authorElan Ruusamäe <glen@delfi.ee>
Wed, 19 Mar 2014 16:22:09 +0000 (18:22 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 19 Mar 2014 16:22:09 +0000 (18:22 +0200)
ruby.spec

index 5da5092d9f0902e02ca73790f8e571ecf87c6443..764e0585f312b021edc9034f807e5bbccb0ff459 100644 (file)
--- a/ruby.spec
+++ b/ruby.spec
@@ -490,7 +490,7 @@ install -d $RPM_BUILD_ROOT{%{ruby_rdocdir},%{_examplesdir}/%{oname}-%{version}}
 %{__make} install %{?with_doc:install-doc} \
        DESTDIR=$RPM_BUILD_ROOT
 
-cp -Rf sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{oname}-%{version}
+cp -Rf sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{oname}-%{basever}.%{patchlevel}
 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/man1/rdoc%{ruby_suffix}.1
 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/testrb%{ruby_suffix}.1
 
@@ -724,4 +724,4 @@ rm -rf $RPM_BUILD_ROOT
 
 %files examples
 %defattr(644,root,root,755)
-%{_examplesdir}/%{oname}-%{version}
+%{_examplesdir}/%{oname}-*
This page took 0.115037 seconds and 4 git commands to generate.