Accepting request 199705 from home:matejcik:branches:devel:languages:python
- fixed %fdupes creating dangling symlinks (bnc#835687) - changed the %doc filelist to appease SLE OBS-URL: https://build.opensuse.org/request/show/199705 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=15
This commit is contained in:
parent
5bc030d4cb
commit
8fce54cc48
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 13 14:52:08 UTC 2013 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- fixed %fdupes creating dangling symlinks (bnc#835687)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 5 13:41:54 UTC 2013 - idonmez@suse.com
|
Fri Apr 5 13:41:54 UTC 2013 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -62,15 +62,23 @@ original M2Crypto homepage is at http://sandbox.rulemaker.net/ngps/m2/.
|
|||||||
CFLAGS="%{optflags}" python setup.py build
|
CFLAGS="%{optflags}" python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
chmod 0644 demo/{https.howto/get_https,ssl/twistedsslclient,ssl/twistedsslserver,tinderbox/slave,x509/certdata2pem}.py # Fix executable bit for documentation:
|
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
%if 0%{?suse_version} > 1010
|
|
||||||
%fdupes -s demo
|
# install demo files manually
|
||||||
%endif
|
# (otherwise we can't perform %%fdupes on them the right way)
|
||||||
|
#chmod 0644 demo/{https.howto/get_https,ssl/twistedsslclient,ssl/twistedsslserver,tinderbox/slave,x509/certdata2pem}.py
|
||||||
|
export DOCDIR=%{buildroot}%{_docdir}/%{name}
|
||||||
|
|
||||||
|
chmod -R -x+X demo
|
||||||
|
mkdir -p $DOCDIR
|
||||||
|
cp -r demo $DOCDIR
|
||||||
|
%fdupes $DOCDIR
|
||||||
|
|
||||||
|
install -m 644 CHANGES LICENCE README $DOCDIR
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CHANGES LICENCE README demo
|
%doc %{_docdir}/%{name}
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user