Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
urlwatch
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 17
[-]
[+]
Changed
urlwatch.spec
@@ -37,6 +37,9 @@ --prefix=%{_prefix} \ --record-rpm=%{name}.filelist sed -i s@"\.1$"@"\.1\.gz"@ %{name}.filelist +for a in /usr/share/man/man1 /usr/share/man /usr/share ; do + sed -i s@"^%attr(-,root,root) %dir ${a}$"@""@ %{_builddir}/%{name}-%{version}/%{name}.filelist +done %else python setup.py install \ --root=%{buildroot} \ @@ -47,11 +50,9 @@ find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{_builddir}/%{name}-%{version}/%{name}.filelist sed -i s@"\.py$"@"\.py\*"@g %{_builddir}/%{name}-%{version}/%{name}.filelist sed -i s@"\.1$"@"\.1\.gz"@g %{_builddir}/%{name}-%{version}/%{name}.filelist -for a in /usr/share/man/man1 /usr/share/man /usr/share ; do - sed -i s@^%attr(-,root,root) %dir \${a}$@@ %{_builddir}/%{name}-%{version}/%{name}.filelist -done %endif + %clean rm -rf %{buildroot}