diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-01-09 19:04:06 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-01-09 19:04:06 +0100 |
commit | 80d8fa175f888c744b9737eeb4b53700c87e19d6 (patch) | |
tree | 1ed4c50e01023cb5963ae03910f41f0268a6fc38 | |
parent | 325f1a9660e67c1baf343a8b8c859c43c67d1996 (diff) |
php-victorjonsson-markdowndocs: backport
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | php-victorjonsson-markdowndocs.spec | 11 |
2 files changed, 15 insertions, 0 deletions
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 <remi@remirepo.net> - 1.3.7-1 +- add backport stuff + * Mon Dec 26 2016 Shawn Iwinski <shawn@iwin.ski> - 1.3.7-1 - Initial package |