Hello community,

here is the log from the commit of package youtube-dl for openSUSE:Factory 
checked in at 2015-08-17 15:35:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/youtube-dl (Old)
 and      /work/SRC/openSUSE:Factory/.youtube-dl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "youtube-dl"

Changes:
--------
--- /work/SRC/openSUSE:Factory/youtube-dl/youtube-dl.changes    2015-08-10 
09:16:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.youtube-dl.new/youtube-dl.changes       
2015-08-17 15:35:24.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Aug 15 12:37:05 UTC 2015 - [email protected]
+
+- Avoid pandoc requirement when using regular release tarballs
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ youtube-dl.spec ++++++
--- /var/tmp/diff_new_pack.6ZzA8u/_old  2015-08-17 15:35:25.000000000 +0200
+++ /var/tmp/diff_new_pack.6ZzA8u/_new  2015-08-17 15:35:25.000000000 +0200
@@ -25,13 +25,16 @@
 Url:            http://rg3.github.io/youtube-dl/
 
 #Git-Clone:    git://github.com/rg3/youtube-dl
+#define snapshot 1
 Source:         http://youtube-dl.org/downloads/%version/%name-%version.tar.gz
 Source2:        
http://youtube-dl.org/downloads/%version/%name-%version.tar.gz.sig
 Source3:        %name.keyring
-BuildRequires:  pandoc
 BuildRequires:  python-devel
 BuildRequires:  python-xml
+%if 0%{?snapshot}
+BuildRequires:  pandoc
 BuildRequires:  zip
+%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
@@ -41,7 +44,6 @@
 
 %prep
 %setup -qn %name
-make clean
 
 %build
 perl -i -pe '
@@ -49,8 +51,10 @@
         s{^BINDIR\ \?=\ \$\(PREFIX\)/bin}{BINDIR\ \?=\ %_bindir};
         s{^MANDIR\ \?=\ \$\(PREFIX\)/man}{MANDIR\ \?=\ %_mandir};
         s{^SHAREDIR\ \?=\ \$\(PREFIX\)/share}{SHAREDIR\ \?=\ %_datadir};' 
Makefile
-
+%if 0%{?snapshot}
+make clean
 make %{?_smp_mflags}
+%endif
 
 %install
 make DESTDIR="%buildroot" install



Reply via email to