summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-04-30 07:10:26 +0200
committerRemi Collet <remi@remirepo.net>2017-04-30 07:10:26 +0200
commit3f23c0abeaad51e9feb3a2263ed4774c18f96c40 (patch)
tree8a77ee662f844585dc9359233f729dd4768d703e
parent69954d9a4002503871cc19952cde8587fee5b34b (diff)
cleanup
-rw-r--r--.gitignore7
-rw-r--r--php-akamai-open-edgegrid-auth.spec8
2 files changed, 7 insertions, 8 deletions
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-akamai-open-edgegrid-auth.spec b/php-akamai-open-edgegrid-auth.spec
index 3778ae0..25628d6 100644
--- a/php-akamai-open-edgegrid-auth.spec
+++ b/php-akamai-open-edgegrid-auth.spec
@@ -37,7 +37,6 @@ License: ASL 2.0
URL: https://github.com/%{github_owner}/%{github_name}
Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Autoloader
BuildRequires: php-fedora-autoloader-devel
@@ -94,8 +93,6 @@ Autoloader: %{phpdir}/Akamai/Open/EdgeGrid/autoload-auth.php
%install
-rm -rf %{buildroot}
-
mkdir -p %{buildroot}%{phpdir}/Akamai/Open/EdgeGrid
cp -rp src/* %{buildroot}%{phpdir}/Akamai/Open/EdgeGrid/
@@ -120,12 +117,7 @@ exit $RETURN_CODE
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *.md