From 66608f6bf0b1199705538716de7eea1474217869 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 13 Apr 2017 14:17:58 +0200 Subject: cleanup --- .gitignore | 7 +++++++ php-sebastian-comparator2.spec | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ab5c4f --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +package-*.xml +*.tgz +*.tar.gz +*.tar.xz +*.tar.xz.asc +*.src.rpm +*/*rpm diff --git a/php-sebastian-comparator2.spec b/php-sebastian-comparator2.spec index 7aa07e5..2b9a657 100644 --- a/php-sebastian-comparator2.spec +++ b/php-sebastian-comparator2.spec @@ -33,7 +33,6 @@ License: BSD URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php(language) >= 7.0 BuildRequires: php-composer(%{pk_vendor}/diff) >= 1.2 @@ -88,7 +87,6 @@ EOF %install -rm -rf %{buildroot} mkdir -p %{buildroot}%{php_home}/%{ns_vendor} cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major} @@ -112,12 +110,7 @@ exit $ret %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %doc README.md composer.json %{!?_licensedir:%global license %%doc} %license LICENSE -- cgit