ralph pushed to python-fedora (master). "Fix directory ownership."
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon May 4 17:37:57 UTC 2015
>From 55ac60bcdc701337c6c72d15f552357f1be05b8e Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean at redhat.com>
Date: Mon, 4 May 2015 13:23:34 -0400
Subject: Fix directory ownership.
diff --git a/python-fedora.spec b/python-fedora.spec
index 2166d4f..197c980 100644
--- a/python-fedora.spec
+++ b/python-fedora.spec
@@ -10,7 +10,7 @@
Name: python-fedora
Version: 0.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Python modules for talking to Fedora Infrastructure Services
Group: Development/Languages
@@ -203,6 +203,7 @@ pushd %{py3dir}
# Remove regression tests
rm -rf %{buildroot}%{python3_sitelib}/fedora/wsgi/test
+rm -rf %{buildroot}%{python3_sitelib}/tests/
popd
%endif
@@ -219,13 +220,15 @@ find doc -name 'EMPTY' -exec rm \{\} \;
# Remove regression tests
rm -rf %{buildroot}%{python2_sitelib}/fedora/wsgi/test
+rm -rf %{buildroot}%{python2_sitelib}/tests/
%find_lang %{name}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc NEWS README COPYING AUTHORS doc
-%{python2_sitelib}/*
+%{python2_sitelib}/fedora/
+%{python2_sitelib}/python_fedora*egg-info
%exclude %{python2_sitelib}/fedora/tg/
%exclude %{python2_sitelib}/fedora/tg2/
%exclude %{python2_sitelib}/fedora/wsgi/
@@ -237,7 +240,9 @@ rm -rf %{buildroot}%{python2_sitelib}/fedora/wsgi/test
%files -f %{name}.lang -n python3-fedora
%defattr(-,root,root,-)
%doc NEWS README COPYING AUTHORS doc
-%{python3_sitelib}/*
+%{python3_sitelib}/fedora/
+%{python3_sitelib}/python_fedora*egg-info
+%{python3_sitelib}/__pycache__/flask_fas*
%exclude %{python3_sitelib}/fedora/tg/
%exclude %{python3_sitelib}/fedora/tg2/
%exclude %{python3_sitelib}/fedora/wsgi/
@@ -263,6 +268,9 @@ rm -rf %{buildroot}%{python2_sitelib}/fedora/wsgi/test
%{python2_sitelib}/flask_fas_openid.py*
%changelog
+* Mon May 04 2015 Ralph Bean <rbean at redhat.com> - 0.4.0-2
+- More specific directory ownership for the core packages.
+
* Tue Apr 28 2015 Ralph Bean <rbean at redhat.com> - 0.4.0-1
- Upstream release.
- python3 subpackages.
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/python-fedora.git/commit/?h=master&id=55ac60bcdc701337c6c72d15f552357f1be05b8e
More information about the scm-commits
mailing list