diff options
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | php-akamai-open-edgegrid-auth.spec | 8 |
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 |