summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-04-03 08:06:56 +0200
committerRemi Collet <fedora@famillecollet.com>2017-04-03 08:06:56 +0200
commit99ea18d2b426c0d079728f2259953ed909539ec4 (patch)
tree29d96d9e620768ff7b1f5d40f1a0703c8e73f2ad
parente5e5ce5c3a15cb3b9fdc7f070c783bd15978f0f4 (diff)
cleanup
-rw-r--r--.gitignore4
-rw-r--r--php-di.spec7
2 files changed, 4 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3205f6f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+clog
+/php-di-5.2.0-e20ff1b465a15548e22efcea79e06df64d9e2068.tar.gz
+/php-di-5.2.2-f574bcc841201ab04587b1c6da1234d4044f67d8.tar.gz
+/php-di-5.4.0-e348393488fa909e4bc0707ba5c9c44cd602a1cb.tar.gz
diff --git a/php-di.spec b/php-di.spec
index 002cd29..28c5e32 100644
--- a/php-di.spec
+++ b/php-di.spec
@@ -61,7 +61,6 @@ URL: http://php-di.org/
Source0: %{name}-%{github_version}-%{github_commit}.tar.gz
Source1: %{name}-get-source.sh
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Tests
%if %{with_tests}
@@ -182,7 +181,6 @@ AUTOLOAD
%install
-rm -rf %{buildroot}
mkdir -p %{buildroot}%{phpdir}
cp -rp src/* %{buildroot}%{phpdir}/
@@ -237,12 +235,7 @@ exit $ret
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc change-log.md