diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-05-31 07:50:20 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-05-31 07:50:20 +0200 |
commit | 11aa3d4ea138ba34da655f8c85aa5ee4843d2c8d (patch) | |
tree | 947d48bdd024fda012907cb40ffc7c93f5ee3494 | |
parent | 20b4beef43e4fa19a0490fabb8a56881253cb8e7 (diff) |
php-masterminds-html5: backport stuff
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | php-masterminds-html5.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-masterminds-html5.spec b/php-masterminds-html5.spec index e05f727..1cea582 100644 --- a/php-masterminds-html5.spec +++ b/php-masterminds-html5.spec @@ -1,3 +1,4 @@ +# remirepo spec file for php-masterminds-html5, from Fedora: # # RPM spec file for php-masterminds-html5 # @@ -36,6 +37,7 @@ URL: http://masterminds.github.io/html5-php Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root # Autoload generation BuildRequires: %{_bindir}/phpab # Tests @@ -100,6 +102,7 @@ mv src/HTML5/Serializer/*.md docs/Serializer/ %install +rm -rf %{buildroot} mkdir -p %{buildroot}%{phpdir}/Masterminds cp -pr src/* %{buildroot}%{phpdir}/Masterminds/ # Project-level autoloader for consistency with other pkgs @@ -127,7 +130,12 @@ AUTOLOAD %endif +%clean +rm -rf %{buildroot} + + %files +%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE.txt %doc docs/* @@ -135,5 +143,8 @@ AUTOLOAD %changelog +* Sun May 31 2015 Remi Collet <remi@remirepo.net> - 2.1.1-1 +- backport in remi repository + * Fri May 22 2015 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.1.1-1 - Initial package |