[packages/pimpmychangelog] new, version 0.1.2

glen glen at pld-linux.org
Sat Jan 11 12:44:37 CET 2014


commit 45a24987c57f85efa8ea0d398528f953324a937e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Jan 11 13:44:15 2014 +0200

    new, version 0.1.2

 pimpmychangelog.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 require.patch        |  9 +++++++++
 2 files changed, 57 insertions(+)
---
diff --git a/pimpmychangelog.spec b/pimpmychangelog.spec
new file mode 100644
index 0000000..60ae482
--- /dev/null
+++ b/pimpmychangelog.spec
@@ -0,0 +1,48 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
+Summary:	Pimp your CHANGELOG.md
+Name:		pimpmychangelog
+Version:	0.1.2
+Release:	1
+License:	GPL v2+ or Ruby
+Group:		Applications/Text
+Source0:	http://rubygems.org/downloads/%{name}-%{version}.gem
+# Source0-md5:	0359fcd357bc127fe58a5762e07b70c4
+Patch0:		require.patch
+URL:		https://github.com/pcreux/pimpmychangelog
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+BuildRequires:	sed >= 4.0
+%if %{with tests}
+BuildRequires:	ruby-guard-rspec
+BuildRequires:	ruby-rake
+BuildRequires:	ruby-rspec
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Linkify issue numbers (#123) and github users (@gregbell) in markdown
+changelogs.
+
+%prep
+%setup -q
+%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/pimpmychangelog
+%{ruby_vendorlibdir}/%{name}.rb
+%{ruby_vendorlibdir}/%{name}
diff --git a/require.patch b/require.patch
new file mode 100644
index 0000000..4ff0789
--- /dev/null
+++ b/require.patch
@@ -0,0 +1,9 @@
+--- pimpmychangelog-0.1.2/bin/pimpmychangelog	2014-01-11 12:45:45.851234404 +0200
++++ pimpmychangelog-0.1.2/bin/pimpmychangelog	2014-01-11 13:00:26.000000000 +0200
+@@ -1,5 +1,5 @@
+ #!/usr/bin/ruby
+ 
+-require File.expand_path('../../lib/pimpmychangelog.rb', __FILE__)
++require 'pimpmychangelog.rb'
+ 
+ PimpMyChangelog::CLI.run!
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pimpmychangelog.git/commitdiff/45a24987c57f85efa8ea0d398528f953324a937e



More information about the pld-cvs-commit mailing list