From ffdcbd10c72bfdc83785d43b51d317274ad60b3e1cd4dad7b5f902bc5caea8de Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Sun, 12 May 2013 19:03:57 +0000 Subject: [PATCH] fix for SR145775 OBS-URL: https://build.opensuse.org/package/show/Publishing/discount?expand=0&rev=5 --- discount.spec | 46 ++++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/discount.spec b/discount.spec index 292e1fb..83a081d 100644 --- a/discount.spec +++ b/discount.spec @@ -1,3 +1,6 @@ +# +# spec file for package discount +# # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties @@ -11,20 +14,26 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -Name: discount -Version: 2.1.5a + + +Name: discount +Version: 2.1.5a +Release: 0 %define soname 2 -Release: 0 -Summary: Markdown text to HTML converter -Source: http://www.pell.portland.or.us/~orc/Code/discount/discount-%{version}.tar.bz2 -Patch1: discount-disable_ldconfig.patch -URL: http://www.pell.portland.or.us/~orc/Code/discount/ -Group: Productivity/Text/Convertors -License: BSD4c -BuildRoot: %{_tmppath}/build-%{name}-%{version} -BuildRequires: gcc make glibc-devel -BuildRequires: autoconf automake libtool -Requires: libmarkdown%{soname} = %{version} +Summary: Markdown text to HTML converter +License: BSD-4-Clause +Group: Productivity/Text/Convertors +Source: http://www.pell.portland.or.us/~orc/Code/discount/discount-%{version}.tar.bz2 +Patch1: discount-disable_ldconfig.patch +Url: http://www.pell.portland.or.us/~orc/Code/discount/ +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc +BuildRequires: glibc-devel +BuildRequires: libtool +BuildRequires: make +Requires: libmarkdown%{soname} = %{version} %description Discount is an implementation of John Gruber’s Markdown text to HTML language @@ -32,8 +41,8 @@ with some extensions from PHP Markdown Extra, Pandoc, and other implementations of Markdown. %package -n libmarkdown%{soname} -Summary: Markdown text to HTML converter library -Group: Development/Libraries/C and C++ +Summary: Markdown text to HTML converter library +Group: Development/Libraries/C and C++ %description -n libmarkdown%{soname} Discount is an implementation of John Gruber’s Markdown text to HTML language @@ -41,9 +50,9 @@ with some extensions from PHP Markdown Extra, Pandoc, and other implementations of Markdown. %package -n libmarkdown-devel -Summary: Markdown text to HTML converter library -Group: Development/Libraries/C and C++ -Requires: libmarkdown%{soname} = %{version} +Summary: Markdown text to HTML converter library +Group: Development/Libraries/C and C++ +Requires: libmarkdown%{soname} = %{version} %description -n libmarkdown-devel Discount is an implementation of John Gruber’s Markdown text to HTML language @@ -107,3 +116,4 @@ CFLAGS="%{optflags}" \ %{_libdir}/libmarkdown.so %{_mandir}/man3/*.3%{ext_man} +%changelog