summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-05-30 07:17:54 +0200
committerRemi Collet <remi@remirepo.net>2017-05-30 07:17:54 +0200
commitd834817f67edf5dc69b8af5eb0e94b5411728ad6 (patch)
tree167ece6dcac6c5f300c5569426de1a2d7a64cb02
parent2191a87a007dc978d978eb9fb04e70f68b41bf34 (diff)
cleanup
-rw-r--r--.gitignore7
-rw-r--r--php-opencloud.spec4
2 files changed, 7 insertions, 4 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-opencloud.spec b/php-opencloud.spec
index 3e2c630..36c8653 100644
--- a/php-opencloud.spec
+++ b/php-opencloud.spec
@@ -60,7 +60,6 @@ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{githu
# Bundled: php-composer(mikemccabe/json-patch-php)
Source1: https://github.com/%{mikemccabe_json_patch_php_github_owner}/%{mikemccabe_json_patch_php_github_name}/archive/%{mikemccabe_json_patch_php_github_commit}/%{name}-mikemccabe-json-patch-php-%{mikemccabe_json_patch_php_github_version}-%{mikemccabe_json_patch_php_github_commit}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Tests
%if %{with_tests}
@@ -149,7 +148,6 @@ AUTOLOAD
%install
-rm -rf %{buildroot}
mkdir -p %{buildroot}%{phpdir}
cp -rp lib/OpenCloud %{buildroot}%{phpdir}/
@@ -211,7 +209,6 @@ exit $SCL_RETURN_CODE
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *.md
@@ -220,7 +217,6 @@ exit $SCL_RETURN_CODE
%files doc
-%defattr(-,root,root,-)
%doc docs
%doc samples