Skip to content

Commit

Permalink
Use a macro that actually works.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Sep 16, 2015
1 parent 6a3d8ec commit 8f45356
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package/libyui-ncurses.spec
Expand Up @@ -19,10 +19,10 @@
Name: libyui-ncurses
Version: 2.47.2
Release: 0
Source: %{package}-%{version}.tar.bz2
Source: %{name}-%{version}.tar.bz2

%define so_version 7
%define bin_name %{package}%{so_version}
%define bin_name %{name}%{so_version}

BuildRequires: boost-devel
BuildRequires: cmake >= 2.8
Expand All @@ -47,7 +47,7 @@ component for libYUI.

Requires: glibc-locale
Requires: libyui%{so_version}
Provides: %{package} = %{version}
Provides: %{name} = %{version}
Provides: yast2-ncurses = 2.42.0
Obsoletes: yast2-ncurses < 2.42.0
Provides: yui_backend = %{so_version}
Expand Down Expand Up @@ -85,7 +85,7 @@ This package has very few dependencies.


%prep
%setup -q -n %{package}-%{version}
%setup -q -n %{name}-%{version}

%build

Expand Down Expand Up @@ -140,8 +140,8 @@ rm -rf "$RPM_BUILD_ROOT"
%dir %{_docdir}/%{bin_name}
%{_libdir}/yui/lib*.so
%{_prefix}/include/yui
%{_libdir}/pkgconfig/%{package}.pc
%{_libdir}/cmake/%{package}
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/cmake/%{name}
%{_datadir}/libyui

%changelog

0 comments on commit 8f45356

Please sign in to comment.