From 80d8fa175f888c744b9737eeb4b53700c87e19d6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 9 Jan 2017 19:04:06 +0100 Subject: php-victorjonsson-markdowndocs: backport --- Makefile | 4 ++++ php-victorjonsson-markdowndocs.spec | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..91b0fd5 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../../common/Makefile + diff --git a/php-victorjonsson-markdowndocs.spec b/php-victorjonsson-markdowndocs.spec index 12e6a3d..d162a98 100644 --- a/php-victorjonsson-markdowndocs.spec +++ b/php-victorjonsson-markdowndocs.spec @@ -1,3 +1,4 @@ +# remirepo spec file for php-victorjonsson-markdowndocs, from: # # Fedora spec file for php-victorjonsson-markdowndocs # @@ -47,6 +48,7 @@ Patch1: %{name}-cli-version.patch Patch2: %{name}-bin.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # Tests %if %{with_tests} @@ -128,6 +130,8 @@ AUTOLOAD %install +rm -rf %{buildroot} + : Library mkdir -p %{buildroot}%{phpdir} cp -rp src/PHPDocsMD %{buildroot}%{phpdir}/ @@ -157,6 +161,10 @@ exit $SCL_RETURN_CODE %endif +%clean +rm -rf %{buildroot} + + %files %{!?_licensedir:%global license %%doc} %license LICENSE @@ -167,5 +175,8 @@ exit $SCL_RETURN_CODE %changelog +* Mon Jan 9 2017 Remi Collet - 1.3.7-1 +- add backport stuff + * Mon Dec 26 2016 Shawn Iwinski - 1.3.7-1 - Initial package -- cgit